-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This library allows development on a LPC17xx board from NXP. The release includes configuration for the MBED platform which uses a LPC1768.
In order to compile, you will need a gcc version tuned to build bare metal binaries. I use the one which can be build using the shell script available here: https://github.com/esden/summon-arm-toolchain This release also includes two header files from ARM and NXP that defines C structures to access Cortex M3 and LPC17xx registers.
This library provides
-
A linker script
-
Board initialization code (mainly, data and bss segment initialization, moving the interrupt vector in RAM and configuring the PLL0 to set the CPU clock to something usable (96Mhz for the MBED)
-
Few libc like functions (memcpy, printf)
-
Drivers for several peripherals
- Onboard LEDs
- Ethernet 100Mbps
- GPIO
- Repetitive Interrupt Timer
- System Tick Timer
- General purpose Timers
- UART
- SPI (only write)
- DMA (limited to memory-memory)
A lot of stuff ! Mainly the remainder of drivers for the other devices such as
- CAN
- DAC/ADC
- PWM
- ...
This library has mainly been developped for two purposes
- Enjoying myself
- Provide a nice prototyping platform for my research team (you can have a look at my research work here http://www.lifl.fr/~hauspie)
For this last purpose, the MBED was a nice and affordable platform although the whole on the cloud compiler stuff was not much what pleases us as the libraries provided by mbed were HUGE and we wanted to release ALL our code open source, even the low level code. The library provided by NXP (CMSIS) was a bit too high level for what we wanted and thus, writing everything from scratch was our best option.
The first of our project which has been ported to the MBED is Smews: Smart & Mobile Embedded Web Server (http://www.lifl.fr/2XS/smews)