From c557d96bf0afea0266f7bb8cb05b137296408481 Mon Sep 17 00:00:00 2001 From: mikecarper Date: Mon, 19 Oct 2026 12:54:05 -0700 Subject: [PATCH] Fix nRF52 console mocks and cover framework logging in CI --- .github/workflows/run-unit-tests.yml | 1 + test/fixtures/nrf52_usb_console/mocks/Arduino.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 200abfe39..7ea0132ed 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -815,6 +815,7 @@ jobs: run: | python3 -B test/test_common_usb_debug.py python3 -B test/test_companion_usb_logging.py + python3 -B test/test_nrf52_framework_logging.py python3 -B test/test_usb_logging_watchdog.py python3 -B test/test_usb_watchdog_event.py python3 -B test/test_usb_logging_client_activity.py diff --git a/test/fixtures/nrf52_usb_console/mocks/Arduino.h b/test/fixtures/nrf52_usb_console/mocks/Arduino.h index de2f8eaa7..7e059fb93 100644 --- a/test/fixtures/nrf52_usb_console/mocks/Arduino.h +++ b/test/fixtures/nrf52_usb_console/mocks/Arduino.h @@ -6,6 +6,8 @@ #pragma GCC diagnostic pop #include +inline bool isInISR() { return false; } + uint32_t tud_cdc_n_write_available(uint8_t instance); class MockSerial : public Stream { public: