This PowerShell Scripts does the following things:
- clone McuLib from Github
- remove FreeRTOS:
cortex-m33andrisc-vfiles - remove MCUXPresso
semihost_hardfault.c(The project will use the McuLib provided semihost hardfault handler) - include McuLib Paths into the include Paths of the Eclipse Project
- set up
IncludeMcuLibConfig.hfrom the provided Template for usage with NXP K22 Microcontrollers
Be sure to have included the following SDK Components:
- gpio
- port
- sim (for K22)
- iap (for LPC)
- copy 'create.ps1' and 'runme_WIN.cmd' into MCUXpresso generated Project root folder
- run 'runme_WIN.cmd'
- Profit!
- change deletion of
cortex-m33andrisc-vfiles to excluding them in the project - add a POSIX compatible shell-script for usage under GNU/Linux and macOS using
sed - implement check if McuOnEclipseLibrary and McuLib exist already