Commit 0bbca353 authored by Alan Wood's avatar Alan Wood

Documentation added the detail

parent aa57c680
...@@ -44,7 +44,7 @@ If you also have an STLink (or Chinese copy, or discovery/nucleo board) connecte ...@@ -44,7 +44,7 @@ If you also have an STLink (or Chinese copy, or discovery/nucleo board) connecte
Which will program myStorm, easy huh... Which will program myStorm, easy huh...
## Gah! The harder bits and small print ## The Detail
In truth it did not do an honest full build due to the assumption about single toolchains, I cheeted a little here. Also if you don't have an STLINK connected it won't upload so let me break some of these exceptions off and handle them.. In truth it did not do an honest full build due to the assumption about single toolchains, I cheeted a little here. Also if you don't have an STLINK connected it won't upload so let me break some of these exceptions off and handle them..
...@@ -65,7 +65,7 @@ The way myStorm currently works is as follows: ...@@ -65,7 +65,7 @@ The way myStorm currently works is as follows:
If you look at the c/cpp code we have an array value (normally RO) starting at _binary_bitmap_bin_start and ending at _binary_bitmap_bin_end see the code excerpt below where we use this to program the bit file with ms.ice_prog(&_binary_bitmap_bin_start, len). The clever build step is the conversion of the bitimage poutput from icestorm into a suitable object file for linking with the arm eabi toochain. This is the bit that isn't done automagically for us (yet) with platformio run. If you look at the c/cpp code we have an array value (normally RO) starting at _binary_bitmap_bin_start and ending at _binary_bitmap_bin_end see the code excerpt below where we use this to program the bit file with ms.ice_prog(&_binary_bitmap_bin_start, len). The clever build step is the conversion of the bitimage poutput from icestorm into a suitable object file for linking with the arm eabi toochain. This is the bit that isn't done automagically for us (yet) with platformio run.
''' c '''
extern uint8_t __binary_bitmap_bin_start extern uint8_t __binary_bitmap_bin_start
extern uint8_t __binary_bitmap_bin_end extern uint8_t __binary_bitmap_bin_end
... ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment