Last active
July 30, 2024 14:19
-
-
Save piratecarrot/84b8d7a8c7aff977ce7b90f6bf77726c to your computer and use it in GitHub Desktop.
NuttX environment setup on Arch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S bison\ | |
flex \ | |
picocom \ | |
arm-none-eabi-binutils \ | |
arm-none-eabi-gcc \ | |
arm-none-eabi-gdb \ | |
arm-none-eabi-newlib | |
yay -S --noconfirm \ | |
kconfig-frontends \ | |
python-kconfiglib | |
i.MXRT1060 | |
External J-Link | |
https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Using-J-Link-with-MIMXRT1060-EVK-or-MIMXRT1064-EVK/ta-p/1281149 | |
mkdir nuttxspace | |
cd nuttxspace | |
git clone [email protected]:apache/nuttx.git nuttx | |
git clone https://github.com/apache/nuttx-apps apps | |
cd nuttx | |
./tools/configure.sh -l imxrt1060-evk:netnsh | |
make menuconfig | |
make | |
pyocd load --target=mimxrt1060 nuttx.hex | |
picocom -b 115200 /dev/ttyACM0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment