Fix USTICKER build error for LPC11U35_401

pull/12134/head
toyowata 2019-12-19 15:22:07 +09:00
parent b1b0673622
commit 0d88ff0cfe
2 changed files with 10 additions and 1 deletions
targets
TARGET_NXP/TARGET_LPC11UXX

View File

@ -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

View File

@ -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"