diff options
Diffstat (limited to 'libhw')
-rw-r--r-- | libhw/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libhw/rp2040_hwtimer.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libhw/CMakeLists.txt b/libhw/CMakeLists.txt index d1767da..a18c968 100644 --- a/libhw/CMakeLists.txt +++ b/libhw/CMakeLists.txt @@ -19,6 +19,8 @@ if (PICO_PLATFORM STREQUAL "rp2040") w5500.c ) target_link_libraries(libhw INTERFACE + pico_binary_info + pico_runtime hardware_gpio hardware_irq hardware_spi diff --git a/libhw/rp2040_hwtimer.c b/libhw/rp2040_hwtimer.c index 4499642..3116213 100644 --- a/libhw/rp2040_hwtimer.c +++ b/libhw/rp2040_hwtimer.c @@ -15,10 +15,10 @@ #include <libhw/generic/alarmclock.h> #include <libhw/rp2040_hwtimer.h> -/******************************************************************************/ +/* Guards *********************************************************************/ -/** Conflict with pico-sdk:pico_time:!PICO_TIME_DEFAULT_ALARM_POOL_DISABLED. */ -void add_alarm_at(void) {}; +/** Conflict with pico-sdk:pico_time. */ +void alarm_pool_add_alarm_at_force_in_context(void) {}; /* Types **********************************************************************/ |