Measuring only 70mm by 55mm, the MYS-6ULX designed by MYIR is a high-performance low-cost Single Board Computer (SBC) specially designed for industry and Internet of Things (IoT) applications. It is based on NXP i.MX 6UL/6ULL processor family which features the most efficient ARM Cortex-A7 core and can operate at speeds up to 528 MHz.
The MYS-6ULX Single Board Computer supports Yocto and Debian OS. Here we take Debian OS as an example.
The programming procedure:
The develop environment I work on PC is Ubuntu VMS, ARMGCC compiler is needed to be installed in the Ubuntu VMS. We can check if the compiler is available with instruction arm-linux-gnueabihf-gcc–v. Ubuntu16 comes with a 5.4 version compiler as below:
We need to install a compiler if the system doesn’t come with one. The toolkit MYIR provided contains that compiler. Open the folder 03-Tools\Toolchain, there is a package named
Copy this package into a folder of VMS and use commands below to extract it.
We would have a file named gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf after unpacking, then use instruction below to set the compiler:
export PATH= $PATH:$DEV_ROOT/\gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin
View the compiler version again, the information printed on the screen should be:
We can see the compiler version is 4.9.3. Then all the settings of develop environment has been completed.
I have set up the development environment as mentioned. Could you explain how I could make an application to turn on/off GPIO_5 using Debian.
Thanks In Advance