/NXPUSBLib

USB libraries for a LPC1788 chip with very specific customisations that probably BREAK THINGS! But also fixes other things...

Primary LanguageC

nxpUSBlib Library for NXP LPC Microcontrollers with USB

These are the USB libraries used on the keyboard. Small fixes/tweaks have been made.

NXP has been kind enough to provide a pretty good USB library for use with their microcontrollers. There are a few showstopper bugs in the current version that don't seem to be getting fixed, so I've forked the project here so we can maintain a community version that includes the fixes.

The original library is from http://www.lpcware.com/content/project/nxpusblib.

License

This code is originally created and licensed by NXP - see the License.txt file in this repository.

The additions and modifications in this library are released under the same license, but are not contributed by anyone officially with NXP.

Changelog

  • Fixed USB enumeration when using compiler optimization (added volatile keywords to some global variables)
    • Fixed in nxpUSBlib v0.98
  • Add missing macro definition required to compile with GNU GCC for ARM Embedded (DATA(x))