lpcware

[LPC82x]Bug in LPCOpen SWM driver

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by pgr on Wed Dec 10 08:46:56 MST 2014
Hello all,

I just found a small bug in the LPCOpen SWM driver of the LPC82x.
In file swm8xx.h the defined constant SWM_PINENABLE0_RESERVED should be (~0x1ffffff) for LPC82x.
So the code is changed as below:


#if defined(CHIP_LPC82X)
#define SWM_PINENABLE0_RESERVED  (~0x1ffffff)
#else
#define SWM_PINENABLE0_RESERVED  (~0x1ff)
#endif



PGR

Outcomes