Just enough runtime and BSP support to enable easy use of nim on ARM Cortex MCUs
- GNU Make
- gcc-arm-embedded
- Nim
- openocd
- Create (if necessary) board and CPU definitions (see existing examples for details).
- Create an application folder in the apps directory
- Create a config.mk file for your application (see existing examples)
- Store your application code in the newly created directory and edit your config.mk file appropriately
- 'cd' to the root of base project directory
- type 'make APP=your_app_name'
- Install openocd with support for your JTAG dongle
- Add an openocd.cfg to your project (see existing examples)
- Install DDD (data display debugger) (optional)
- Type: sudo make APP=your_app_name openocd (this starts the debugger)
- Attach your favorite debugger (gdb/ddd/insight) to the openocd session (a make command for ddd is included in the makefile)
All of the makefiles and device drivers contained herin are licensed under the MIT license, HOWEVER, any application code is property of its respective owners. Any vendor provided code (ST SPL for example) are subject to their included licenses.