Commit Graph

14 Commits (edf41b1c35837f2abe1606dacafdb7aa6ad310ef)

Author SHA1 Message Date
Daniele Lacamera c0f6b12721 Addressed copilot's comments 2026-04-28 15:22:41 +02:00
Daniele Lacamera 42455508c0 Fix NRF52 UART DMA and Renode test infrastructure
hal/nrf52.c:
- Use static volatile buffer for UARTE DMA source instead of stack
  variable address. GCC 15.2 with -Os optimized away the store to the
  stack slot, causing the DMA to read zeros.
- Set UART0_ENABLE to 4 (UARTE mode) per NRF52840 datasheet.

tools/test-expect-version/test-expect-version.c:
- Replace deprecated termio.h and linux/serial.h with sys/ioctl.h
  for compatibility with newer glibc.

tools/renode/docker-test.sh:
- Remove unused RENODE_CHECKOUT env var.

tools/scripts/renode-test-update.sh:
- Add robust UART wait functions with timeouts and liveness checks.
- Log Renode output to /tmp/renode.log for diagnostics on failure.
- Use run_expect_version helper with configurable timeout.
2026-04-28 15:04:35 +02:00
Daniele Lacamera 85f5b493c0 Proper migration of renode tests 2026-04-28 15:04:35 +02:00
Daniele Lacamera 2eb1368275 Workaround for test-build-kontron hanging apt + renode tests moved to wolfboot-ci 2026-04-28 15:04:35 +02:00
Daniele Lacamera 4f050f2485 Trying to work around broken archive.ubuntu.com mirror 2026-04-16 18:39:39 +02:00
Daniele Lacamera cfed800bd3 Tag renode version to 1.15.3 (regression in 1.16) 2026-03-30 15:47:53 +02:00
David Garske fa483a460a Fix docker tests in github actions by running the test as root in docker 2023-03-06 16:25:06 +01:00
Daniele Lacamera 186027b122 Github workflows: new test scripts
Moved most of the commands inside the renode container.

Updated docker image to compile and run all tools, wolfboot and test
image within the renode container.
2022-12-13 16:45:57 +01:00
Daniele Lacamera 3f2eec8299 Add github actions for renode tests on docker 2022-03-03 16:40:46 +01:00
Daniele Lacamera 561312c8cc Added firmware update tests on nRF52 2022-02-11 10:48:47 +01:00
Daniele Lacamera f2280f5575 Added renode board: nrf52840 2022-02-11 10:48:47 +01:00
Daniele Lacamera 539cc97e73 Added renode board: sifive-hifive-fe310.
+Quicker test
2022-02-11 10:48:47 +01:00
Daniele Lacamera 402d7b412c Added new renode board: stm32F746 2022-02-11 10:48:47 +01:00
Daniele Lacamera ce8d01864c Added basic test cases with renode 2022-02-11 10:48:47 +01:00