Open HiFiPhile opened 6 months ago
We do not intend to support compilation on any Linux OS distribution, due to potential compilation issues arising from different versions of compilation tools. We recommend compiling in Docker. Please refer to the following documents:
In the manual it's stated Linux distribution is supported:
Nuvoton provides two environments of building images, Docker and Linux. Docker is a virtual machine
based on host Linux OS, so the setting in the Docker won’t affect the host OS and the Docker can create
an environment only for building images. Linux distribution will be updated and may result in building
image error, so Docker provided by Nuvoton is a better way than Linux.
Also there are instructions for Debian and other distributions:
Ubuntu and Debian:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping libsdl1.2-dev xterm curl
Also as I've said above, the issue has been isolated from Yocto but a purely NuEclipse configuration issue,
In the .cproject
file linker script is configured as <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/CMSIS/CMSIS/GCC/gcc_arm.ld}""/>
But there is no such file ${ProjName}/CMSIS/CMSIS/GCC/gcc_arm.ld
.
In comparison IAR's linker script is well present: <state>$PROJ_DIR$\MPU.icf</state>
Yes, there were some issues with the GCC project path settings for Share_Memory_SDRAM. Thank you for pointing that out. We have fixed this issue and updated it on GitHub. We have confirmed that NuEclipse compiles successfully on its own. Please update the RTP BSP and then test it again.
Thanks for the fix, I think it's more a NuEclipse issue as all files missing from build are linkedResources
in .project
.
It's fixed using latest V1.02.026 version.
The issue was spotted in building
m4proj_0.90.bb
recipe ofMA35D1_Yocto-v3.1.3
, then reproduced by manually compile.1st type of error is linker script not set (-T ""), apply to nearly all examples:
2nd type error is missing source file, apply to OpenAMP examples: