SoC: i.MX 7ULP
Tools: ARM GCC
Defect: Documentation missing Arm Tool chain and running on Linux host.
Step 1: SDK Builder, selected GCC ARM Toolchain and Host OS: Linux
Step 2: Downloaded: SDK_2.8.0_EVK-MCIMX7ULP.tar.gz and extracted archive.
The docs directory contains these files:
├── Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP.pdf
└── MCUXpresso SDK Release Notes for EVK-MCIMX7ULP.pdf
Opening 'Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP.pdf'
Previous SDK releases provided chapter for using ARM GCC on Linux OS Host, where are the instructions for SDK 2.8.0?
SDK 2.7.0 does have missing sections.
SDK 2.6.0 Getting Started outline showing Arm GCC and Linux host are shown:
I installed the recent ARM GCC toolchain in a linux machine (x86_64) in the following way.
1. downloaded the ARM GCC toolchain from here. (gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2)
2. created a folder /toolchain in the home folder and extracted it in there.
3. created symlinks from the important programs in the toolchain to the /usr/local/bin directory (ln -s ~/toolchain/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc /usr/local/bin/arm-none-eabi-gcc). This ensures that when make or other commands try to run they will find the programs (/usr/local/bin is in the search path of most distributions). Did this for arm-none-eabi-g++, ar, gcc, gdb, ld, nm, objcopy, objdump, size.
After that if you type anywere arm-none-eabi-gcc -v you should get at the end of the screen
gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update) (...or something like that)...
That's it, you've set up the toolchain!
4. If you have a demo board, download the SDK for the board, selecting operating system linux and toolchain arm-gcc
5. extract that, to run the demos you need to go into the armgcc directory inside the demo you want to run and type ./build_all.sh.
It uses CMAKE (which should be installed in you system, this is probably the only requirement, maybe gdb also needs an old ncurses library, can't remember). You will need to set the export path to the location of the toolchain, but the script will complain about it (build_all.sh)
Good luck, hope it helps (I am also new to this, but I can compile the demos and run them... just without semihosting)...
Followed your instruction to download SDK Documentation and this also has the defect of no instructions for running on Linux host and setting up the Arm tool chain.
Both the "Download SDK Archive" and "Download SDK Documentation" fail to provide the Linux steps.
Attached is the "Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP.pdf", that only has section "Run a demo application using IAR", which is Windows host only.
Where are the Linux host and tool chain getting started steps?