Commit Graph

84 Commits

Author SHA1 Message Date
alex 76398090b3 Corrects typing for UINT32, still same size but correct type now
This change is warranted by integrating the wolfssl netxduo sockets
2026-05-06 07:32:31 +01:00
alex 5b8c72cd9d changes ULONG to UINT32 for 64bit netxduo 2026-04-12 19:10:55 +02:00
alex ba39d23a18 adds hooks in bootup do move smp booting into the smp port lib 2026-04-10 14:40:21 +02:00
alex d97e71ca83 updates test to work with new build system 2026-04-10 14:13:18 +02:00
alex 4c15a3e15f enables tcp demo 2026-04-10 13:28:16 +02:00
alex 68057507c9 adds small cleanups towards updating the entire build system 2026-04-10 13:22:54 +02:00
alex 32df317b38 adds board header 2026-04-10 13:21:40 +02:00
alex 12ae01cda2 WIP: makes moonlight now the base library with no dependencies to be consumed by others 2026-04-10 13:14:40 +02:00
alex ff0f81e9c0 corrects bootup code
not tested if tls actually works
2026-04-10 13:14:04 +02:00
alex f989e21bad makes uart.h now also provide init 2026-04-10 13:13:05 +02:00
alex e3a7a9ccaf adds missing build system changes from a prio commit 2026-04-10 13:12:35 +02:00
alex c717297b30 removes more dependencies 2026-04-10 13:12:05 +02:00
alex b16a0ed956 splits low_level_init to allow usage of c file
this also makes threadx hook into the isrs
2026-04-10 13:10:50 +02:00
alex 21f95341af removes dependency of board.c to libc 2026-04-10 13:09:26 +02:00
alex 86025e020d moves linker script file into moonlight 2026-04-10 12:35:55 +02:00
alex 27438ef6a5 also corrects LONG (not just ULONG) 2026-04-04 11:45:39 +02:00
alex c0386ea4a1 makes bootup code work for any number of cores 2026-04-02 14:26:24 +02:00
alex ffc49bc6a9 small formatting 2026-04-02 14:25:58 +02:00
alex a6a6a034d6 removes convoluted generation of offsets
Ass ULONG is now 8 bytes on RV64, the SMP offset is the only one left, harcoding it as a magic number is simpler
2026-04-02 11:35:37 +02:00
alex c16e6b0446 adjust SMP port to also use ULONG = 8 bytes 2026-04-02 10:48:43 +02:00
alex eda2a85dc1 makes ULONG 64 bit on RV64 2026-04-02 10:31:12 +02:00
alex 824b71c283 adds csr.h to the moonlight port (adds duplicate as it is also in port/threadx/inc) 2026-03-31 16:13:34 +02:00
alex 7e2e162fe1 cleans up nx_port dependency 2026-03-31 16:09:44 +02:00
alex dd0c837930 corrects stack alignment 2026-03-30 19:48:09 +02:00
alex 8a41f3e0fa small cleanuo to smp asm files 2026-03-26 15:55:32 +01:00
alex c9c2d2009f adds regression for smp 2026-03-25 08:49:20 +01:00
alex c11f68d20c initial test harness for smp regression 2026-03-24 18:00:50 +01:00
alex 7253aadd52 corrects alignment for 64bit in port 2026-03-24 14:38:16 +01:00
alex e02a58e25f switches to tohost based exit code, reducing complexity in deciding failure / pass 2026-03-23 16:58:56 +01:00
alex 47ba20d762 Changes simulation ending mechanism (exit function)
As higher optimization might actually schedule a jump to self while waiting for timer interrupts this is a more robust implementation in that sense
2026-03-22 22:47:26 +01:00
alex bbbdae160a makes the timer tick actually every ms 2026-03-22 21:18:40 +01:00
alex b8d4472657 corrects interrupt disable and restore macros
Turns out the port was really that shitty
2026-03-22 21:14:39 +01:00
alex 9947ce8d52 corrects naming of TX_INTERRUPT_SAVE_AREA to meet test expectations
Also corrects the sizes, as ULONG is XLEN bits
2026-03-22 15:56:00 +01:00
alex 7307a86860 adds ISR check that is closer to productive code
This approach patches the existing trap handler to call the test routine
2026-03-21 20:27:16 +01:00
alex 8bcbc9881e Revert "adds testing hook for trap_non_vectored"
This reverts commit 014cf9f8ee.
2026-03-21 20:19:42 +01:00
alex 014cf9f8ee adds testing hook for trap_non_vectored 2026-03-21 20:15:46 +01:00
alex 124783a57c corrects exit 2026-03-21 20:15:33 +01:00
alex c98ac25ca6 makes compilation of the network driver depend on netxduo being built 2026-03-21 18:19:45 +01:00
alex be47608a03 corrects hwtimer TICKNUM
this change went unnoticed when moving the file into moonlight/inc
2026-03-21 17:53:43 +01:00
alex dfa1c2182c adds initial testing setup 2026-03-21 16:34:08 +01:00
alex d85f524d07 makes setup_target take output dir for binaries and target mem as arguments 2026-03-21 16:32:29 +01:00
alex 083565251e cleans up moonlight dir 2026-03-21 15:40:54 +01:00
alex ba1b9c44ee makes the port provide its dependencies as a library 2026-03-21 15:33:02 +01:00
alex 3ccc0de209 adds overlooked file
This was just never used in the demos and thus not noticed
2026-03-21 15:12:08 +01:00
alex 2433b66dc0 corrects port files, enables wakeups in port 2026-03-16 08:08:49 +01:00
alex 2d0ec274ac makes bootup multi core able 2026-03-16 08:08:18 +01:00
alex 58fc04bbb3 adds trap handler 2026-03-16 08:08:07 +01:00
alex 3ba7cdda9e fortifies regex for asm offset parsing 2026-03-12 20:17:42 +01:00
alex 239cd26a5c adds stub for dynamic core discovery in port 2026-03-12 16:31:51 +01:00
alex ebe891dad6 adds smp tx_timer_interrupt 2026-03-12 16:15:57 +01:00