arduino-pico/tests
Earle F. Philhower, III 01ee673dc2
Protect the HW random generation from FreeRTOS (#1395)
Fixes #1394

The Pico_Rand SDK calls gather bits from the HW ROSC at precise intervals.
If there is jitter in the sleep_until() call then the ROSC bit collection
will always think it's failed to acquire the right bit and retry infintitely.

Avoid by wrapping the HW random number calls and the sleep_until() routine.
Only when in FreeRTOS set a flag to silently make sleep_until() into a
busy wait loop while in a random number generation step.  When not in the
random code, do the normal sleep_until call.
2023-05-01 19:42:21 -07:00
..
ci Add astyle format, boards.txt, and package check (#166) 2021-05-24 15:01:03 -07:00
astyle_core.conf Add astyle format, boards.txt, and package check (#166) 2021-05-24 15:01:03 -07:00
astyle_examples.conf Add compilation to CI (#155) 2021-05-22 02:58:57 -07:00
build-tinyusb.sh Update to Adafruit_TinyUSB_Arduino 1.12.0 (#654) 2022-06-24 11:24:31 -07:00
build.sh Add TinyUSB examples to CI (#163) 2021-05-23 09:29:44 -07:00
common.sh Fix CI errors when more than one *.a in cache dir (#1049) 2022-12-18 14:43:36 -08:00
debug.sh Add compilation to CI (#155) 2021-05-22 02:58:57 -07:00
restyle.sh Protect the HW random generation from FreeRTOS (#1395) 2023-05-01 19:42:21 -07:00
run_CI_locally.sh Add astyle format, boards.txt, and package check (#166) 2021-05-24 15:01:03 -07:00