Skip to content

Commit 67a85e7

Browse files
committed
Update doc for STM32
1 parent 53edb0c commit 67a85e7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

doc/INSTALL.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ To configure CSP to build with the AVR32 toolchain for FreeRTOS and
3535
output the compiled libcsp.a and header files to the install directory,
3636
issue:
3737

38+
For AVR32
3839
```shell
3940
./waf configure --toolchain=avr32- --with-os=freertos --prefix=install
4041
```
42+
For STM32 and toolchain (gcc-arm-none-eabi-10.3-2021.10)
43+
```shell
44+
./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
45+
```
4146

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

0 commit comments

Comments
 (0)