pico-sdk/test
Peter Harper 969f5895aa
ta_set_timeout can fail to set an alarm (#2127)
* ta_set_timeout can fail to set an alarm

If alarm_pool_irq_handler takes <1us between handling an alarm and
calling ta_set_timeout then no alarms will be set as it will appear as
if an earlier alarm is already armedi before the target time.

Make sure ta_set_timeout always leaves with an alarm set by checking the
armed status.

Fixes #2118

* ta_disable_irq_handler should unarm its timer
2024-12-06 10:39:04 -06:00
..
cmsis_test Fix Cmsis irq regression (#1821) 2024-08-20 08:52:41 -05:00
hardware_irq_test SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
hardware_pwm_test SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
hardware_sync_spin_lock_test SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
kitchen_sink Initial Pico/2 W Bazel support (#2049) 2024-11-21 16:58:02 -06:00
pico_divider_test SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
pico_float_test RISC-V __mulsf3: handle exponent increase due to rounding (#2086) 2024-11-23 13:02:03 -06:00
pico_sem_test SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
pico_sha256_test Workaround gcc/newlib issue on Ubuntu 24 (#1863) 2024-08-23 10:59:36 -05:00
pico_stdio_test SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
pico_stdlib_test Workaround gcc/newlib issue on Ubuntu 24 (#1863) 2024-08-23 10:59:36 -05:00
pico_test SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
pico_time_test ta_set_timeout can fail to set an alarm (#2127) 2024-12-06 10:39:04 -06:00
CMakeLists.txt SDK 2.0.0 release 2024-08-08 08:54:38 -05:00