[LPC82x]Bug in LPCOpen SWM driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[LPC82x]Bug in LPCOpen SWM driver

541 Views
lpcware
NXP Employee
NXP Employee
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
Labels (1)
0 Kudos
Reply
2 Replies

524 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Thu Dec 11 14:16:33 MST 2014
Yes, good catch.  Thanks for the update.
0 Kudos
Reply

524 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by acv on Wed Dec 10 11:05:55 MST 2014
Good catch!

We are adding this change to the next LPC8xx release.

ACV
0 Kudos
Reply