Commit 2e2eb18f authored by Alan Wood's avatar Alan Wood

Documentation corrections pt2

parent 84a7d63f
......@@ -34,7 +34,8 @@ One day soon we are hoping that the develpment tools we need for myStorm SDK are
However, in order to ease that burden and our lazy documentation We suggest an easier way to get started is by using [Platformio] (http://platformio.org/). Platformio is aimed at embedded development and includes some package management command line tools and optional IDE. We are focused purely on the commadline part right now so may we suggest you right click over to platformIO and get that installed, we will wait for you before we carry on..
Inside the SDK repository (mystorm SDK branch) you will find and SDK directory (we assume you have this locally now), in this you will see a platforio.ini file, we won't bore you with how PlatformIO works and uses the ini file but you might want to take a peek (and check their documentation in your own time) you will see to sections. They call them environments but we are using them like targets of sorts. There is a section focused on building the FPGA side of the project (lattice_Ice40) and a section focused on the STM32 build. On the command line inside the SDK directory issue :
Inside the SDK repository (mystorm _SDK_ branch) you will find and SDK directory (we assume you have this locally now using git clone), cd into this in this and you will see a platforio.ini file. We won't bore you with how PlatformIO works with ini files, but you might want to take a peek (and check their documentation in your own time), you will see two sections. They call them environments but we are using them like builds of sorts. There is a section focused on building the FPGA side of the project (IceStorm) and a section focused on the STM32 build (*nucleo_l476rg). On the command line inside the SDK directory issue :
```
platformio run -e nucleo_l476rg -t upload
......@@ -129,16 +130,11 @@ For both the DFU and Uart bootloading make sure you have the boot jumper set lik
boot
```
* nucleo_l476rg is the atrget we use as a cheet due to it's similarity to the hardcore3 STM476 we are using on myStorm. Eventually we will have our own but it requires quite a lot of work to get thaT DONE FOR THE DIFFERENT PLATFORMS LIKE MBED/STM etc..
Useful command:
```
dmesg
lsusb
dfu-util -l
platformio run
platformio run --target clean
platformio run -e nucleo_l476rg -t upload
stm32flash -b 1500000 -w .pioenvs/nucleo_l476rg/firmware.bin -v -g 0x0 /dev/ttyUSB0
sudo dfu-util -a 0 -d 0483:df11 -s 0x8000000:leave -D .pioenvs/nucleo_l476rg/firmware.bin
```
\ No newline at end of file
```
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