STM32L412 support.

Report here problems in any of ChibiOS components. This forum is NOT for support.
rew
Posts: 380
Joined: Sat Jul 19, 2014 12:59 pm
Has thanked: 2 times
Been thanked: 13 times

STM32L412 support.

Postby rew » Mon Nov 30, 2020 12:04 pm

Hi,
I've designed a new board that I'm going to be making a couple of. I've selected the L412 processor. What would it take to support that in chibios? I can't find any files named *L412* (i.e. no demos, no examples, no headers).

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: STM32L412 support.

Postby Giovanni » Mon Nov 30, 2020 6:20 pm

Best case: just add new ST headers, add an entry in registry and make small adjustments in hal_lld.h where device ID macros are checked.

Giovanni

rew
Posts: 380
Joined: Sat Jul 19, 2014 12:59 pm
Has thanked: 2 times
Been thanked: 13 times

Re: STM32L412 support.

Postby rew » Sun Jan 03, 2021 3:36 pm

Attached are the changes I did to support my L412 board.

USB_CDC works.

I called the board ST_STM32L412 or something like that. I think this will run on the small nucleo for this CPU. https://nl.farnell.com/2980964 I have it in my cart, but not yet ordered, because I'm willing to spend EUR10 to get this board to test it, but not pay EUR 5 for shipping (a few days ago shipping would've been free).

Oh, there is another nucleo, https://nl.farnell.com/2980968 , but that doesn't have the USB connector for the CDC demo.

Now, I just need to get my application to run. (which uses some low level trickery from timers and DMA, bypassing chibios drivers...)
Attachments
L412.zip
(10.57 KiB) Downloaded 131 times

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: STM32L412 support.

Postby Giovanni » Sun Jan 03, 2021 4:52 pm

Moving in bug reports.

Giovanni

rew
Posts: 380
Joined: Sat Jul 19, 2014 12:59 pm
Has thanked: 2 times
Been thanked: 13 times

Re: STM32L412 support.

Postby rew » Wed Jan 06, 2021 5:18 pm

I got the nucleo32. It doesn't have the "target-USB" connector that I thought it had.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 13 guests