Skip to content

Commit c0ee843

Browse files
committed
Add lp/us ticker_free() functions stub.
This patch adds only empty stubs of `us_ticker_free()` and `lp_ticker_free()` for all boards where these functions are not implemented.
1 parent 239ce02 commit c0ee843

File tree

55 files changed

+277
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+277
-0
lines changed

targets/TARGET_ARM_SSG/TARGET_BEETLE/lp_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,9 @@ void lp_ticker_clear_interrupt(void)
152152
DualTimer_ClearInterrupt(DUALTIMER0);
153153
}
154154

155+
void lp_ticker_free(void)
156+
{
157+
158+
}
159+
155160
#endif

targets/TARGET_ARM_SSG/TARGET_BEETLE/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,8 @@ void us_ticker_disable_interrupt(void) {
111111
void us_ticker_clear_interrupt(void) {
112112
Timer_ClearInterrupt(TIMER0);
113113
}
114+
115+
void us_ticker_free(void)
116+
{
117+
118+
}

targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/lp_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ void lp_ticker_fire_interrupt(void)
108108
cmsdk_ticker_fire_interrupt(&timer_data);
109109
}
110110

111+
void lp_ticker_free(void)
112+
{
113+
114+
}
115+
111116
void TIMER1_IRQHandler(void)
112117
{
113118
cmsdk_ticker_irq_handler(&timer_data);

targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ void us_ticker_fire_interrupt(void)
112112
cmsdk_ticker_fire_interrupt(&timer_data);
113113
}
114114

115+
void us_ticker_free(void)
116+
{
117+
118+
}
119+
115120
void TIMER0_IRQHandler(void)
116121
{
117122
cmsdk_ticker_irq_handler(&timer_data);

targets/TARGET_ARM_SSG/TARGET_IOTSS/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,8 @@ void us_ticker_clear_interrupt(void) {
8787
US_TICKER_TIMER2->TimerIntClr = 0x1;
8888

8989
}
90+
91+
void us_ticker_free(void)
92+
{
93+
94+
}

targets/TARGET_ARM_SSG/TARGET_MPS2/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,8 @@ void us_ticker_clear_interrupt(void) {
8181
US_TICKER_TIMER2->TimerIntClr = 0x1;
8282

8383
}
84+
85+
void us_ticker_free(void)
86+
{
87+
88+
}

targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/api/us_ticker.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,10 @@ void us_ticker_fire_interrupt(void)
355355
event_timer(); // enable the timer and interrupt
356356
}
357357

358+
void us_ticker_free(void)
359+
{
360+
361+
}
358362

359363
/*
360364
** EOF

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/api/us_ticker.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ void us_ticker_fire_interrupt(void)
353353
event_timer(); // enable the timer and interrupt
354354
}
355355

356+
void us_ticker_free(void)
357+
{
358+
359+
}
356360

357361
/*
358362
** EOF

targets/TARGET_Atmel/TARGET_SAM_CortexM0P/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,8 @@ void us_ticker_clear_interrupt(void)
167167
tc_clear_interrupt(&us_ticker_module, TC_CALLBACK_CC_CHANNEL0);
168168
NVIC_ClearPendingIRQ(TICKER_COUNTER_IRQn);
169169
}
170+
171+
void us_ticker_free(void)
172+
{
173+
174+
}

targets/TARGET_Atmel/TARGET_SAM_CortexM4/lp_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,8 @@ void lp_ticker_clear_interrupt(void)
131131
{
132132
NVIC_ClearPendingIRQ(TICKER_COUNTER_IRQn2);
133133
}
134+
135+
void lp_ticker_free(void)
136+
{
137+
138+
}

targets/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,8 @@ void us_ticker_clear_interrupt(void)
186186
{
187187
NVIC_ClearPendingIRQ(TICKER_COUNTER_IRQn1);
188188
}
189+
190+
void us_ticker_free(void)
191+
{
192+
193+
}

targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,8 @@ void us_ticker_fire_interrupt(void)
158158
{
159159
NVIC_SetPendingIRQ(PIT_TICKER_IRQ);
160160
}
161+
162+
void us_ticker_free(void)
163+
{
164+
165+
}

targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,8 @@ void us_ticker_fire_interrupt(void)
8181
{
8282
NVIC_SetPendingIRQ(PIT3_IRQn);
8383
}
84+
85+
void us_ticker_free(void)
86+
{
87+
88+
}

targets/TARGET_Freescale/TARGET_KLXX/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,8 @@ void us_ticker_fire_interrupt(void)
223223

224224
#endif
225225
}
226+
227+
void us_ticker_free(void)
228+
{
229+
230+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ void us_ticker_fire_interrupt(void)
136136
{
137137
NVIC_SetPendingIRQ(PIT3_IRQn);
138138
}
139+
140+
void us_ticker_free(void)
141+
{
142+
143+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ void us_ticker_fire_interrupt(void)
136136
{
137137
NVIC_SetPendingIRQ(PIT3_IRQn);
138138
}
139+
140+
void us_ticker_free(void)
141+
{
142+
143+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,8 @@ void us_ticker_fire_interrupt(void)
152152

153153
NVIC_SetPendingIRQ(TPM2_IRQn);
154154
}
155+
156+
void us_ticker_free(void)
157+
{
158+
159+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,8 @@ void us_ticker_fire_interrupt(void)
152152

153153
NVIC_SetPendingIRQ(TPM2_IRQn);
154154
}
155+
156+
void us_ticker_free(void)
157+
{
158+
159+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL82Z/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,8 @@ void us_ticker_fire_interrupt(void)
137137
NVIC_SetPendingIRQ(PIT0_IRQn);
138138
}
139139

140+
void us_ticker_free(void)
141+
{
142+
143+
}
144+

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW24D/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ void us_ticker_fire_interrupt(void)
136136
{
137137
NVIC_SetPendingIRQ(PIT3_IRQn);
138138
}
139+
140+
void us_ticker_free(void)
141+
{
142+
143+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,8 @@ void us_ticker_fire_interrupt(void)
152152

153153
NVIC_SetPendingIRQ(TPM2_IRQn);
154154
}
155+
156+
void us_ticker_free(void)
157+
{
158+
159+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ void us_ticker_fire_interrupt(void)
136136
{
137137
NVIC_SetPendingIRQ(PIT3_IRQn);
138138
}
139+
140+
void us_ticker_free(void)
141+
{
142+
143+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ void us_ticker_fire_interrupt(void)
136136
{
137137
NVIC_SetPendingIRQ(PIT3_IRQn);
138138
}
139+
140+
void us_ticker_free(void)
141+
{
142+
143+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ void us_ticker_fire_interrupt(void)
136136
{
137137
NVIC_SetPendingIRQ(PIT3_IRQn);
138138
}
139+
140+
void us_ticker_free(void)
141+
{
142+
143+
}

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api/lp_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,9 @@ void lp_ticker_clear_interrupt(void)
117117
LPTMR_ClearStatusFlags(LPTMR0, kLPTMR_TimerCompareFlag);
118118
}
119119

120+
void lp_ticker_free(void)
121+
{
122+
123+
}
124+
120125
#endif /* DEVICE_LPTICKER */

targets/TARGET_Maxim/TARGET_MAX32600/rtc_api.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,8 @@ uint32_t lp_ticker_read(void)
255255
{
256256
return rtc_read64();
257257
}
258+
259+
void lp_ticker_free(void)
260+
{
261+
262+
}

targets/TARGET_Maxim/TARGET_MAX32600/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,8 @@ void us_ticker_set(timestamp_t timestamp)
268268
NVIC_SetPendingIRQ(US_TIMER_IRQn);
269269
}
270270
}
271+
272+
void us_ticker_free(void)
273+
{
274+
275+
}

targets/TARGET_Maxim/TARGET_MAX32610/rtc_api.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,8 @@ inline uint32_t lp_ticker_read(void)
252252
{
253253
return rtc_read64();
254254
}
255+
256+
void lp_ticker_free(void)
257+
{
258+
259+
}

targets/TARGET_Maxim/TARGET_MAX32610/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,8 @@ void us_ticker_set(timestamp_t timestamp)
268268
NVIC_SetPendingIRQ(US_TIMER_IRQn);
269269
}
270270
}
271+
272+
void us_ticker_free(void)
273+
{
274+
275+
}

targets/TARGET_Maxim/TARGET_MAX32620/rtc_api.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,3 +306,8 @@ inline uint32_t lp_ticker_read(void)
306306
{
307307
return rtc_read64();
308308
}
309+
310+
void lp_ticker_free(void)
311+
{
312+
313+
}

targets/TARGET_Maxim/TARGET_MAX32620/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,3 +299,8 @@ void us_ticker_set(timestamp_t timestamp)
299299
NVIC_SetPendingIRQ(US_TIMER_IRQn);
300300
}
301301
}
302+
303+
void us_ticker_free(void)
304+
{
305+
306+
}

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,11 @@ void us_ticker_clear_interrupt(void)
318318
NRF_RTC1->EVENTS_COMPARE[0] = 0;
319319
}
320320

321+
void us_ticker_free(void)
322+
{
323+
324+
}
325+
321326

322327
#if defined (__CC_ARM) /* ARMCC Compiler */
323328

targets/TARGET_NXP/TARGET_LPC11U6X/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ void us_ticker_disable_interrupt(void) {
6565
void us_ticker_clear_interrupt(void) {
6666
US_TICKER_TIMER->IR = 1;
6767
}
68+
69+
void us_ticker_free(void)
70+
{
71+
72+
}

targets/TARGET_NXP/TARGET_LPC11UXX/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ void us_ticker_disable_interrupt(void) {
6565
void us_ticker_clear_interrupt(void) {
6666
US_TICKER_TIMER->IR = 1;
6767
}
68+
69+
void us_ticker_free(void)
70+
{
71+
72+
}

targets/TARGET_NXP/TARGET_LPC11XX_11CXX/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ void us_ticker_disable_interrupt(void) {
6565
void us_ticker_clear_interrupt(void) {
6666
US_TICKER_TIMER->IR = 1;
6767
}
68+
69+
void us_ticker_free(void)
70+
{
71+
72+
}

targets/TARGET_NXP/TARGET_LPC13XX/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ void us_ticker_disable_interrupt(void) {
6565
void us_ticker_clear_interrupt(void) {
6666
US_TICKER_TIMER->IR = 1;
6767
}
68+
69+
void us_ticker_free(void)
70+
{
71+
72+
}

targets/TARGET_NXP/TARGET_LPC15XX/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ void us_ticker_clear_interrupt(void) {
8686
// Clear SCT3 event 0 interrupt flag
8787
LPC_SCT3->EVFLAG = (1 << 0);
8888
}
89+
90+
void us_ticker_free(void)
91+
{
92+
93+
}

targets/TARGET_NXP/TARGET_LPC176X/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,8 @@ void us_ticker_disable_interrupt(void) {
7777
void us_ticker_clear_interrupt(void) {
7878
US_TICKER_TIMER->IR = 1;
7979
}
80+
81+
void us_ticker_free(void)
82+
{
83+
84+
}

targets/TARGET_NXP/TARGET_LPC408X/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ void us_ticker_disable_interrupt(void) {
6767
void us_ticker_clear_interrupt(void) {
6868
US_TICKER_TIMER->IR = 1;
6969
}
70+
71+
void us_ticker_free(void)
72+
{
73+
74+
}

targets/TARGET_NXP/TARGET_LPC43XX/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ void us_ticker_disable_interrupt(void) {
6767
void us_ticker_clear_interrupt(void) {
6868
US_TICKER_TIMER->IR = 1;
6969
}
70+
71+
void us_ticker_free(void)
72+
{
73+
74+
}

targets/TARGET_NXP/TARGET_LPC81X/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,8 @@ void us_ticker_clear_interrupt() {
136136
ticker_expired_count_us += ticker_fullcount_us;
137137
}
138138
}
139+
140+
void us_ticker_free(void)
141+
{
142+
143+
}

targets/TARGET_NXP/TARGET_LPC82X/us_ticker.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,8 @@ void us_ticker_clear_interrupt() {
109109
ticker_expired_count_us += ticker_fullcount_us;
110110
}
111111
}
112+
113+
void us_ticker_free(void)
114+
{
115+
116+
}

0 commit comments

Comments
 (0)