Minimal template project for FreeRTOS+libopencm3 for BluePill
Will be used for learning and some experiments.
libopencm3
-- symlink to cloned and compiled libopencm3. I use onelibopencm3
directory within several project. Will be subrepo when setup ci someday.ld
-- ld scripts directory. Copy them fromlibopencm3
and edit for your needs.mk
-- Makefile includes, common and target specific. Also containmk/cppcheck.includes
-- directories list for '*.h' used bymake check
.rtos
-- FreeRTOS files, copied from official sources + opencm3.c taken from stm32f103c8t6 project.
main.c
-- main project fileFreeRTOSConfig.h
-- FreeRTOS configurationinit_f103.h
--gpio_init()
for stm32f103init_f303.h
--gpio_init()
for stm32f303Makefile
-- main Makefile. Comment line withmk/Makefile.stm32f103.incl
and uncomment next for selecting stm32f303 targetmorse.h
,morse.c
-- quick and dirty library for morse blinking on port C GPIO13.
default for stm32f103 (standard blue pill):
make clean
make
for stm32f303 placed on blue pill board:
make clean
TARGET_CPU=stm32f303 make