Updates NetX Duo to the upstream implementation

Uses the upstream ULONG APIs and passes RV64 callback pointers through ThreadX extension fields.
This commit is contained in:
alex committed 2026-11-26 18:56:36 +01:00
1 parent d404e17e5a
commit 608c4e0b0d
5 files changed
+63 -59

No files matched your search

+3 -10
View File
@@ -761,21 +761,14 @@
*/
#ifdef __cplusplus
extern "C"
{
extern "C" {
#endif
int rand(void);
void srand(unsigned seed);
int rand(void);
void srand(unsigned int seed);
#ifdef __cplusplus
}
#endif
#define NX_RAND rand
#define NX_SRAND srand
#endif
// hacky workaround for missing include in netxduo/common/src/nx_ram_network_driver.c
#ifdef NX_DEBUG
#include <stdio.h>
#endif