bwhitman / nxp-rt1170-makefile

Non MCUxpresso way to build rt1170 projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Makefile for NXP RT1170 / Maaxboard demo

This is a Make-based toolchain for the NXP RT1170 / 1176 series of 1GHz MCUs that avoids using the MCUxpresso tool system as much as possible. I'm more comfortable developing this way and thought I'd put in the work to get a make-based toolchain going instead of using the Eclipse-based IDE.

This particular example project contains and builds the baked-in demo of the AVNet "Maaxboard RT", which is an otherwise quite good RT1170 dev board. But it should work for the RT1170 EVK or other related boards. You may have to swap out the flash drivers, etc.

Setup

Get a MaaxBoard RT and a MCU-Link.

Download and install the MCUXpresso IDE. Run it once, then quit it.

Edit the Makefile if you need to.

If you have an M1-based Mac and don't want to use Rosetta emulation for the gnu-arm-none-eabi-* toolchain, download the latest xPack arm64 build of the Arm embedded toolchain and install it in ../m1-arm-embedded/xpack... and uncomment the Makefile to use that instead. (In practice, this build takes 12 seconds on my M1 Max under Rosetta and 8s native.)

Usage

make will hopefully build the SDK folders as well as the source folder and link it to demo.afx.

make flash will flash the demo.afx to your board.

make clean removes all object and afx files.

make monitor opens a serial terminal to the board.

About

Non MCUxpresso way to build rt1170 projects

License:MIT License


Languages

Language:C 100.0%Language:Makefile 0.0%Language:C++ 0.0%