From c37054aede38726e3761db3813db1b4f6188fa2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?xalbertoisorna=E2=80=9D?= Date: Mon, 2 Mar 2026 13:37:38 +0000 Subject: [PATCH] Reaplcing XC with C in pdmrx_isr test --- tests/signal/pdmrx_isr/src/main.c | 18 ++++++++++++++++++ tests/signal/pdmrx_isr/src/main.xc | 28 ---------------------------- 2 files changed, 18 insertions(+), 28 deletions(-) create mode 100644 tests/signal/pdmrx_isr/src/main.c delete mode 100644 tests/signal/pdmrx_isr/src/main.xc diff --git a/tests/signal/pdmrx_isr/src/main.c b/tests/signal/pdmrx_isr/src/main.c new file mode 100644 index 00000000..e922fe12 --- /dev/null +++ b/tests/signal/pdmrx_isr/src/main.c @@ -0,0 +1,18 @@ +// Copyright 2026 XMOS LIMITED. +// This Software is subject to the terms of the XMOS Public Licence: Version 1. + +#include + +#include "app.h" + +DECLARE_JOB(assert_when_timeout, (void)); +DECLARE_JOB(test, (void)); + +int main() +{ + PAR_JOBS( + PJOB(test, ()), + PJOB(assert_when_timeout, ()) + ); + return 0; +} diff --git a/tests/signal/pdmrx_isr/src/main.xc b/tests/signal/pdmrx_isr/src/main.xc deleted file mode 100644 index 6b71896c..00000000 --- a/tests/signal/pdmrx_isr/src/main.xc +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2022-2026 XMOS LIMITED. -// This Software is subject to the terms of the XMOS Public Licence: Version 1. - -#include -#include -#include - -#include -#include -#include - -#include "app.h" - -//unsafe { -int main() -{ - par { - on tile[0]: { - par { - test(); - assert_when_timeout(); - } - } - } - return 0; -} - -//}