2020-03-23 11:13 PM
2020-03-25 02:23 AM
Hello,
Basically you need to establish in Eclipse the same environemnt as created by sourcing environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
Following are the settings I use for Eclipse IDE for C/C++ Developers / Version: 2019-03 (4.11.0)
First you need choose during creation of a new project select "Cross gcc".
Then set in cross settings prefix and path
In compiler settings I use:
-O0 -g3 -Wall -c -fmessage-length=0 -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/osboxes/STM32MPU_workspace/STM32MP15-Ecosystem-v1.2.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
And linker settings: -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7
--sysroot=/home/osboxes/STM32MPU_workspace/STM32MP15-Ecosystem-v1.2.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
Hope this helps
BR
Milan
2020-03-25 03:35 AM
Fine.
many thanks
these are compiler and linker settings
could you specify the debugger settings?
with great respect to you
Alexander
2020-04-08 09:21 AM
Hi Alexander,
I prepared thorough setup here:
Best regards,
Milan