NUCLEO-64 STM32C071RB Config files

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
dcrespo
Posts: 4
Joined: Tue Feb 11, 2025 6:13 pm
Been thanked: 1 time

NUCLEO-64 STM32C071RB Config files

Post by dcrespo »

Hi all,
I'm starting a project with STM32C071 and I can't find the support files for this MCU, I found the files for the STM32C031 but not for the C071.

If anyone has them, could you please share them.

I'm new to Chibi, the question may be trivial.

Thanks in advance

Daniel
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: NUCLEO-64 STM32C071RB Config files

Post by Giovanni »

Hi,

It is missing but should be trivial, will try to do this during next weekend.

Giovanni
dcrespo
Posts: 4
Joined: Tue Feb 11, 2025 6:13 pm
Been thanked: 1 time

Re: NUCLEO-64 STM32C071RB Config files

Post by dcrespo »

Hi Giovanni,

Thank you very much, it will be of great help.

I am a newbie to ChibiOS, it is really a great project.

Regards

Daniel
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: NUCLEO-64 STM32C071RB Config files

Post by Giovanni »

Hi,

It is nearly done, there is a demo that compiles or the repository, more work is needed because support for all peripherals is not yet finished.

Giovanni
dcrespo
Posts: 4
Joined: Tue Feb 11, 2025 6:13 pm
Been thanked: 1 time

Re: NUCLEO-64 STM32C071RB Config files

Post by dcrespo »

Thank you very much Giovanni.
I'm working with Keil using NIL and it doesn't like using TIMER 2 in ST DRIVER SYSTEM (mcuconf.h), it's throwing this error:
..\ChibiOS\os\hal\ports\STM32\LLD\SYSTICKv1\hal_st_lld.h(718): error: #35: #error directive: "invalid STM32_ST_OVERRIDE_ALARMS value"
With the other timers it works without problem, maybe it's because timer 2 is 32 bits.

Best regards

Daniel
dcrespo
Posts: 4
Joined: Tue Feb 11, 2025 6:13 pm
Been thanked: 1 time

Re: NUCLEO-64 STM32C071RB Config files

Post by dcrespo »

Hi,
SPI2 is not recognized on the STM32C071xx, some definitions were missing, I leave a link where the modified files are to use SPI2

https://drive.google.com/file/d/1J1kkeaQ_YNhDHo2j1dgB3Vdf27Vpc_0i/view?usp=sharing

I don't know if this is the best way to do it, I'm new to the forum and to using ChibiOS.

Thanks for the support.

Best regards

Daniel
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: NUCLEO-64 STM32C071RB Config files

Post by Giovanni »

Hi,

Usually people post patches, also plain zipped files are fine (you can attach those to your posts no need for google drive).

Giovanni
Post Reply