Skip to content

Commit

Permalink
Update doc for STM32
Browse files Browse the repository at this point in the history
  • Loading branch information
Apaisal committed Aug 29, 2024
1 parent 53edb0c commit 67a85e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ To configure CSP to build with the AVR32 toolchain for FreeRTOS and
output the compiled libcsp.a and header files to the install directory,
issue:

For AVR32
```shell
./waf configure --toolchain=avr32- --with-os=freertos --prefix=install
```
For STM32 and toolchain (gcc-arm-none-eabi-10.3-2021.10)
```shell
./waf configure --toolchain=arm-none-eabi- --with-os=freertos --prefix=build/lib --includes=../FreeRTOS/Source/include/,../../../Core/Inc/,../FreeRTOS/Source/portable/GCC/ARM_CM4F/,/usr/share/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/ --enable-reproducible-builds
```

When compiling for FreeRTOS, the path to the FreeRTOS header files must
be specified with `--includes=PATH`.
Expand Down

0 comments on commit 67a85e7

Please sign in to comment.