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+
}

0 commit comments

Comments
 (0)