Commit 7f0442d7 authored by Alan Wood's avatar Alan Wood

Documentation added the detail

parent 788cb4d2
......@@ -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.
'''
```
extern uint8_t __binary_bitmap_bin_start
extern uint8_t __binary_bitmap_bin_end
..
......@@ -74,7 +74,7 @@ extern uint8_t __binary_bitmap_bin_end
uint32_t len = &_binary_bitmap_bin_end - &_binary_bitmap_bin_start;
//Initialise anfd program Ice40
ms.ice_prog(&_binary_bitmap_bin_start, len);
'''
```
running
......
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