if you just want to test something, you install SDK for your platform, run the environment setup script, then cross-compile and manually deploy to target’s rootfs (ftp/scp).
Once you have everything working you can incorporate the app into your own yocto layer
I’m using Digi-EL 5.7 (no yocto) on a ConnectCore 2443.
So Digi-EL (5.7) installs it’s build environment through it’s modified Eclipse.
So when you say “SDK” are you speaking of Digi-EL or something I’m compiling in and sending to the target and then running this compile process on the target itself?
Sorry, I misunderstood you. I hope you are not using cc9m2443 for new development as it is very old and EOL for years.
Below is generic example of cross-compiling open-source library and application for DEL:
this example involves library and application – if you only have an application skip libpcap part
If architecture is Arm9/Arm11 (ns9215, ns9210, imx28, cc9m2443…)
DEL 5.7:
export PATH=/usr/local/DigiEL-5.7/x-tools/arm-unknown-linux-uclibcgnueabi/bin:$PATH
export TOOLCHAIN_DIR=/usr/local/DigiEL-5.7/x-tools/arm-unknown-linux-uclibcgnueabi/
if architecture is Cortex-A8 (i.mx5x)
export PATH=/usr/local/DigiEL-5.9/x-tools/arm-cortex_a8-linux-gnueabi/bin:$PATH
export TOOLCHAIN_DIR=/usr/local/DigiEL-5.9/x-tools/arm-cortex_a8-linux-gnueabi/
Unfortunately, this is ongoing support for a legacy product. So the fact that the 2443 is EOL and out of date doesn’t help that I have to add ‘screen’ for a current product. (sadly)
However, I’ll see about trying what you’ve supplied – it looks about like what I need to know.