GrumpyOldPizza / ArduinoCore-stm32wb

Arduino Core for STM32WB
19 stars 10 forks source link

Add PlatformIO builder script #7

Open maxgerhardt opened 1 year ago

maxgerhardt commented 1 year ago

Makes a firmware for NUCLEO-WB55RG compile by adding the necessary PlatformIO builder script logic and a package.json. Should be used in combination with https://github.com/maxgerhardt/platform-ststm32/tree/stm32wb as the platform.

See https://github.com/maxgerhardt/pio-grumpyoldpizza-stm32wb-test for test project.

Blinky and Serial works per forum.

Contains fix from #6 plus Uart.cpp fixes working-around the missing CDC macros for the Nucelo board as described in #5. I see those as temporary / will be removed once a proper fix lands here.

Compilation will be tested for all other boards too (with board files added to platform), so this is marked as WIP for now.

maxgerhardt commented 1 year ago

USB macros and board info has been fixed and it compiles cleanly in all configurations.

Documentation for build options were added.