Skip to content

Commit 0701fb1

Browse files
Michael SchwarczOren Cohen
authored andcommitted
Move us_ticker.c to NS side
1 parent 96268d9 commit 0701fb1

File tree

1 file changed

+0
-32
lines changed
  • targets/TARGET_ARM_SSG/TARGET_MUSCA_A1/TARGET_MUSCA_A1_NS

1 file changed

+0
-32
lines changed

targets/TARGET_ARM_SSG/TARGET_MUSCA_A1/us_ticker.c renamed to targets/TARGET_ARM_SSG/TARGET_MUSCA_A1/TARGET_MUSCA_A1_NS/us_ticker.c

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#include "timer_cmsdk_drv.h"
2626
#include "us_ticker_api.h"
2727

28-
#if TARGET_MUSCA_A1_NS
29-
3028
static uint64_t total_ticks = 0;
3129
static uint32_t previous_ticks = 0;
3230

@@ -111,33 +109,3 @@ void usec_interval_irq_handler(void)
111109
us_ticker_read();
112110
us_ticker_irq_handler();
113111
}
114-
115-
#else // TARGET_MUSCA_A1_NS
116-
117-
void us_ticker_init(void)
118-
{
119-
}
120-
void us_ticker_free(void)
121-
{
122-
}
123-
uint32_t us_ticker_read(void)
124-
{
125-
return 0;
126-
}
127-
void us_ticker_set_interrupt(timestamp_t timestamp)
128-
{
129-
}
130-
void us_ticker_disable_interrupt(void)
131-
{
132-
}
133-
void us_ticker_clear_interrupt(void)
134-
{
135-
}
136-
void us_ticker_fire_interrupt(void)
137-
{
138-
}
139-
const ticker_info_t *us_ticker_get_info(void)
140-
{
141-
}
142-
143-
#endif // TARGET_MUSCA_A1_NS

0 commit comments

Comments
 (0)