mirror of https://github.com/ARMmbed/mbed-os.git
Fix USTICKER build error for LPC11U35_401
parent
b1b0673622
commit
0d88ff0cfe
targets
TARGET_NXP/TARGET_LPC11UXX
|
@ -17,6 +17,8 @@
|
|||
#include "us_ticker_api.h"
|
||||
#include "PeripheralNames.h"
|
||||
|
||||
#if DEVICE_USTICKER
|
||||
|
||||
#define US_TICKER_TIMER ((LPC_CTxxBx_Type *)LPC_CT32B1_BASE)
|
||||
#define US_TICKER_TIMER_IRQn TIMER_32_1_IRQn
|
||||
|
||||
|
@ -70,3 +72,5 @@ void us_ticker_free(void)
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
#endif // DEVICE_USTICKER
|
||||
|
|
|
@ -374,8 +374,13 @@
|
|||
"SERIAL",
|
||||
"SLEEP",
|
||||
"SPI",
|
||||
"SPISLAVE"
|
||||
"SPISLAVE",
|
||||
"USTICKER"
|
||||
],
|
||||
"overrides": {
|
||||
"tickless-from-us-ticker" : true,
|
||||
"boot-stack-size" : "0x400"
|
||||
},
|
||||
"default_lib": "small",
|
||||
"release_versions": ["2"],
|
||||
"device_name": "LPC11U35FBD48/401"
|
||||
|
|
Loading…
Reference in New Issue