ChibiOS demos on stm32-bluepill, mainly on STM32F103C8T6(64k)
dependences:
howto:
- clone the repo and
cd
in ln -s /path/to/ChiboOS ChibiOS
to create a symbol link to ChibiOS rootln -s /path/to/gcc-arm-none-eabi-X-Y gcc-arm-none-eabi
to create a symbol link to toolchaincd demo_folder
make
to buildmake flash
to write chips with st-flash
Tricky:
- can not read only 1 byte from stm32f1 i2c (DMA).
- chThdSleep value should not be 0.