You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have a custom board that incorporates the stm32f407xG mcu. I was able to successfully configure a custom target using Mbed Os 6.12 and CLI2. I followed this guide. However, I found that the linker script name for this model is incorrect for some reason. It is in uppercase, but the CMakeLists.txt in the mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407xG/ directory reference to the name in lowercase. It looks like the lowercase is also the naming convention you use. Converting STM32F407XG.ld to stm32f407xg.ld fixed the issue.
Target(s) affected by this defect ?
custom_target.json -> stm32f407xG
Toolchain(s) (name and version) displaying this defect ?
GCC_ARM
What version of Mbed-os are you using (tag or sha) ?
mbed-os-6.12.0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed CLI2
How is this defect reproduced ?
The problem is obvious, because the stm32f407xg linker script file name dosen't match the name in the line:
@byq77 thank you for raising this issue.Please take a look at the following comments:
How can we reproduce your issue?
NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered.
Please update the issue header with the missing information.
Description of defect
So I have a custom board that incorporates the
stm32f407xG
mcu. I was able to successfully configure a custom target using Mbed Os 6.12 and CLI2. I followed this guide. However, I found that the linker script name for this model is incorrect for some reason. It is in uppercase, but theCMakeLists.txt
in thembed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407xG/
directory reference to the name in lowercase. It looks like the lowercase is also the naming convention you use. ConvertingSTM32F407XG.ld
tostm32f407xg.ld
fixed the issue.Target(s) affected by this defect ?
custom_target.json
->stm32f407xG
Toolchain(s) (name and version) displaying this defect ?
GCC_ARM
What version of Mbed-os are you using (tag or sha) ?
mbed-os-6.12.0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed CLI2
How is this defect reproduced ?
The problem is obvious, because the stm32f407xg linker script file name dosen't match the name in the line:
mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407xG/CMakeLists.txt
Line 6 in 4e121a7
The text was updated successfully, but these errors were encountered: