Skip to content

Mikejmoffitt/arm-toolkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARM-Toolkit

This is a set of build tools and source code designed for low-power ARM processors (e.g. Cortex-M0). I've slowly put this together as I wrote code for the LPC11Uxx, so you'll notice it's biased toward that family. There is no reason it cannot be adapted for other processors, I just haven't gotten around to it. Patches welcome!

How the heck do I use this?

The toolkit is meant to sit adjacent to your code (perhaps as a submodule of your larger repo) and be included into the Makefile. Your Makefile will need to define a few variables before including the toolkit makefile.mk. You can optionally define other variables to affect the output and logging. Please refer to makefile.mk for a full list of variables. The full list of supported MCUs can be found in mcus.mk.

Example

Makefile

MCU := LPC11U24_301

OUTPUT       := example
TOOLKIT_PATH := arm-toolkit

SOURCES := main.c

include $(TOOLKIT_PATH)/makefile.mk

main.c

#include "cmsis.h"

int main(void)
{
	while (1)
		__WFI();
}

About

A collection of software designed for low-power ARM processors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.9%
  • C++ 3.2%
  • Other 0.9%