modm-io / modm

modm: a C++23 library generator for AVR and ARM Cortex-M devices
https://modm.io
Mozilla Public License 2.0
748 stars 132 forks source link

STM32C011F6P6 #1186

Closed Apehaenger closed 3 months ago

Apehaenger commented 3 months ago

Just started with this interesting HAL approach but unfortunately stumble in the beginning.

Tried to get it running for a custom PCB with a STM32C011F6P6.

For sure I saw at the main page that's not officially supported yet, but found it listed in the https://github.com/modm-io/modm-devices repository.

When I try <option name="modm:target">stm32c011f6p6</option> I get an "Target is unknown".

Stupid newbie failure or does someone has a hint what to do?

salkinium commented 3 months ago

Try enabling it here: https://github.com/modm-io/modm/blob/develop/repo.lb#L86

There will probably be a bunch of failures in lbuild, try to hack it and open a PR which I can then collaborate on.