NUCLEO-64 STM32C071RB Config files

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

Moderators: barthess, RoccoMarco

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

NUCLEO-64 STM32C071RB Config files

Postby dcrespo » Tue Feb 11, 2025 6:31 pm

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: 14581
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1118 times
Been thanked: 938 times

Re: NUCLEO-64 STM32C071RB Config files

Postby Giovanni » Tue Feb 11, 2025 6:49 pm

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

Postby dcrespo » Wed Feb 12, 2025 6:29 pm

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: 14581
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1118 times
Been thanked: 938 times

Re: NUCLEO-64 STM32C071RB Config files

Postby Giovanni » Sun Feb 23, 2025 4:19 pm

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

Postby dcrespo » Mon Feb 24, 2025 1:03 pm

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

Postby dcrespo » Fri Feb 28, 2025 6:51 pm

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: 14581
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1118 times
Been thanked: 938 times

Re: NUCLEO-64 STM32C071RB Config files

Postby Giovanni » Fri Feb 28, 2025 9:29 pm

Hi,

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

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 17 guests