StM32F411xE vs STM32411xx - hal_lld.h Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
StumpyHamilton
Posts: 2
Joined: Wed Feb 21, 2018 5:14 pm

StM32F411xE vs STM32411xx - hal_lld.h  Topic is solved

Postby StumpyHamilton » Wed Feb 21, 2018 5:32 pm

Hello!

I'm trying to spin up a project one one of the new STM32F411VE based Discovery boards and I've run into a minor bug.

In the comments for \ChibiOS_18.2.0\os\hal\ports\STM32\STM32F4xx\hal_lld.h it specifies on line 33 that STM32F411xE needs to be defined. However on line 85, the actual macro is looking for STM32F411xx . Additionally, in \ChibiOS_18.2.0\os\common\startup\ARMCMx\devices\STM32F4xx\cmparams.h is looking for STM32F411xE on line 66.

It appears that the original ST headers use STM32F411xE, so I think that line 85 of hal_lld.h needs to be changed to match.


Am I on the right track here?

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: StM32F411xE vs STM32411xx - hal_lld.h

Postby Giovanni » Wed Feb 21, 2018 6:04 pm

Hi,

I will check, those headers change a lot between versions.

Giovanni

StumpyHamilton
Posts: 2
Joined: Wed Feb 21, 2018 5:14 pm

Re: StM32F411xE vs STM32411xx - hal_lld.h

Postby StumpyHamilton » Wed Feb 21, 2018 6:05 pm

Oh. Nevermind, I think. I just discovered the line

#elif defined(STM32F411xE)
#define STM32F411xx
#define STM32F4XX

in stm32_registry.h

*sigh*

I need coffee. Something is amiss on my end, I think.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 17 guests