mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
runtime/nrf: remove AEABI functions
Apparently these functions were not actually used.
This commit is contained in:
@@ -28,20 +28,3 @@ void RTC0_IRQHandler() {
|
|||||||
NRF_RTC0->EVENTS_COMPARE[0] = 0;
|
NRF_RTC0->EVENTS_COMPARE[0] = 0;
|
||||||
rtc_wakeup = true;
|
rtc_wakeup = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__((weak))
|
|
||||||
void __aeabi_unwind_cpp_pr0() {
|
|
||||||
// dummy, not actually used
|
|
||||||
}
|
|
||||||
|
|
||||||
__attribute__((weak))
|
|
||||||
void __aeabi_memclr(uint8_t *dest, size_t n) {
|
|
||||||
// TODO: link with compiler-rt for a better implementation.
|
|
||||||
// For now, use a simple memory zeroer.
|
|
||||||
memset(dest, 0, n);
|
|
||||||
}
|
|
||||||
|
|
||||||
__attribute__((weak))
|
|
||||||
void __aeabi_memclr4(uint8_t *dest, size_t n) {
|
|
||||||
__aeabi_memclr(dest, n);
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user