We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When compiling and linking I get the error:
:~/git/hmipanel/mbed-os$ mbed-tools compile -m HMC20 -t GCC_ARM ... /home/sam/git/hmipanel/cmake_build/HMC20/develop/GCC_ARM/source/hmipanel.elf.map /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld:/home/sam/git/hmipanel/cmake_build/HMC20/develop/GCC_ARM/mbed-os/targets/TARGET_STM/TARGET_STM32U5/TARGET_STM32U575xG/mbed-stm32u575xg.link_script.ld:90 cannot move location counter backwards (from 0000000020005640 to 000000001ffffc00) collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ERROR: CMake invocation failed!
I created my own device and updated pinning files as described in the howto’s.
custom_targets.json:
{ "MCU_STM32U575xG": { "inherits": [ "MCU_STM32U5" ], "public": false, "extra_labels_add": [ "STM32U575xG" ], "macros_add": [ "STM32U575xx" ], "device_has_remove": [ "ANALOGOUT", "CAN", "CRC", "FLASH", "TRNG", "SERIAL_ASYNCH" ] }, "HMC20": { "inherits": [ "MCU_STM32U575xG" ], "clock_source": { "value": "USE_PLL_HSE_EXTC|USE_PLL_HSI" }, "components" : ["SD", "SPIF"], "overrides": { "hse_value": 10000000 }, "detect_code": [ "0000" ], "device_name": "HMC20" } }
Custom target
mbed-tools
baf6a30 origin/master
Mbed 7.59.0
Cannot be reproduced because of private project.
The text was updated successfully, but these errors were encountered:
Solved by defining RAM and ROM size.
"MCU_STM32U575xG": { "inherits": [ "MCU_STM32U5" ], "public": false, "mbed_rom_size": "0x100000", "mbed_ram_size": "0xc0000", "extra_labels_add": [ "STM32U575xG" ], "macros_add": [ "STM32U575xx" ] },
Sorry, something went wrong.
No branches or pull requests
Description of defect
When compiling and linking I get the error:
I created my own device and updated pinning files as described in the howto’s.
custom_targets.json:
Target(s) affected by this defect ?
Custom target
Toolchain(s) (name and version) displaying this defect ?
mbed-tools
What version of Mbed-os are you using (tag or sha) ?
baf6a30
origin/master
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Mbed 7.59.0
How is this defect reproduced ?
Cannot be reproduced because of private project.
The text was updated successfully, but these errors were encountered: