Page 1 of 1

NUCLEO-64 STM32C071RB Config files

Posted: Tue Feb 11, 2025 6:31 pm
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

Re: NUCLEO-64 STM32C071RB Config files

Posted: Tue Feb 11, 2025 6:49 pm
by Giovanni
Hi,

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

Giovanni

Re: NUCLEO-64 STM32C071RB Config files

Posted: Wed Feb 12, 2025 6:29 pm
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

Re: NUCLEO-64 STM32C071RB Config files

Posted: Sun Feb 23, 2025 4:19 pm
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

Re: NUCLEO-64 STM32C071RB Config files

Posted: Mon Feb 24, 2025 1:03 pm
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

Re: NUCLEO-64 STM32C071RB Config files

Posted: Fri Feb 28, 2025 6:51 pm
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

Re: NUCLEO-64 STM32C071RB Config files

Posted: Fri Feb 28, 2025 9:29 pm
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