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?
StM32F411xE vs STM32411xx - hal_lld.h Topic is solved
-
- Posts: 2
- Joined: Wed Feb 21, 2018 5:14 pm
- 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
Hi,
I will check, those headers change a lot between versions.
Giovanni
I will check, those headers change a lot between versions.
Giovanni
-
- Posts: 2
- Joined: Wed Feb 21, 2018 5:14 pm
Re: StM32F411xE vs STM32411xx - hal_lld.h
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.
#elif defined(STM32F411xE)
#define STM32F411xx
#define STM32F4XX
in stm32_registry.h
*sigh*
I need coffee. Something is amiss on my end, I think.
Who is online
Users browsing this forum: No registered users and 17 guests