Migrates plain ThreadX to the upstream RISC-V ports

Keeps the Moonlight startup objects local to the board. Updates the plain and SMP VP regression harnesses for the new ThreadX revision and replaces generated ISR hooks with direct callbacks.
This commit is contained in:
alex committed 2026-11-26 18:56:36 +01:00
1 parent 26fd407a1e
commit d404e17e5a
22 files changed
+148 -2311

No files matched your search

+5
View File
@@ -69,6 +69,11 @@
#ifndef TX_USER_H
#define TX_USER_H
#if __riscv_xlen == 64 && !defined(__ASSEMBLER__)
/* NetX Duo uses this field to pass pointers to IP helper threads. */
#define TX_THREAD_USER_EXTENSION void *tx_thread_extension_ptr;
#endif
/* Define various build options for the ThreadX port. The application should either make changes
here by commenting or un-commenting the conditional compilation defined OR supply the defines
though the compiler's equivalent of the -D option.