Commit Graph

42 Commits

Author SHA1 Message Date
12ae01cda2 WIP: makes moonlight now the base library with no dependencies to be consumed by others 2026-04-10 13:14:40 +02:00
ff0f81e9c0 corrects bootup code
not tested if tls actually works
2026-04-10 13:14:04 +02:00
f989e21bad makes uart.h now also provide init 2026-04-10 13:13:05 +02:00
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
21f95341af removes dependency of board.c to libc 2026-04-10 13:09:26 +02:00
86025e020d moves linker script file into moonlight 2026-04-10 12:35:55 +02:00
c0386ea4a1 makes bootup code work for any number of cores 2026-04-02 14:26:24 +02:00
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
c9c2d2009f adds regression for smp 2026-03-25 08:49:20 +01:00
c11f68d20c initial test harness for smp regression 2026-03-24 18:00:50 +01:00
e02a58e25f switches to tohost based exit code, reducing complexity in deciding failure / pass 2026-03-23 16:58:56 +01:00
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
bbbdae160a makes the timer tick actually every ms 2026-03-22 21:18:40 +01:00
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
8bcbc9881e Revert "adds testing hook for trap_non_vectored"
This reverts commit 014cf9f8ee.
2026-03-21 20:19:42 +01:00
014cf9f8ee adds testing hook for trap_non_vectored 2026-03-21 20:15:46 +01:00
124783a57c corrects exit 2026-03-21 20:15:33 +01:00
c98ac25ca6 makes compilation of the network driver depend on netxduo being built 2026-03-21 18:19:45 +01:00
be47608a03 corrects hwtimer TICKNUM
this change went unnoticed when moving the file into moonlight/inc
2026-03-21 17:53:43 +01:00
d85f524d07 makes setup_target take output dir for binaries and target mem as arguments 2026-03-21 16:32:29 +01:00
083565251e cleans up moonlight dir 2026-03-21 15:40:54 +01:00
ba1b9c44ee makes the port provide its dependencies as a library 2026-03-21 15:33:02 +01:00
2d0ec274ac makes bootup multi core able 2026-03-16 08:08:18 +01:00
58fc04bbb3 adds trap handler 2026-03-16 08:08:07 +01:00
a75db78425 adds ipi functionality 2026-03-10 21:02:29 +01:00
124b83418a fixes wrong append pointer assignment in minres ethmac driver 2026-02-08 17:21:51 +01:00
9e6e3ef1f2 fixes visibility of mnrs et driver functions 2026-02-08 08:47:44 +01:00
889470ed04 adds deferred processing capability to mnrs network driver 2026-02-08 08:47:42 +01:00
47588180b9 applies clang--format 2026-02-06 19:31:29 +01:00
28c14404d2 adds ThreadX clang-format settings and applies it to maceth driver 2026-02-04 07:26:37 +01:00
3e8fa257d5 clean unused code in macteh driver 2026-02-04 07:23:18 +01:00
fe168fc3d5 corrects time tick settings so that a timer tick happens every 10ms 2026-02-04 07:16:38 +01:00
39ffc7c743 updates memeory map to match RISCV-VP commit b8b1c23 2026-02-03 08:07:10 +01:00
c805aca52d cleans up mnrs_network_driver includes 2026-02-01 21:49:17 +01:00
f3232373fe changes memeory map to match RISCV-VP, commit a94fd67 2026-02-01 21:49:17 +01:00
3ee8f6d230 moves tx_timer_interrupt to threadx port 2026-02-01 21:49:17 +01:00
59072fb524 fixes wrong waitng for status bit in mnrs network driver 2026-02-01 21:49:17 +01:00
1c9c00235d implements proper linker script to support TLS
This change updates the linker script and dependend wile so that thread local
storage sections are properly supported and initailaized
2026-02-01 21:49:17 +01:00
6d5871687c moves tx_timer interrupt into port
as this is not moonlight specific, it should not be placed in such a way
2026-01-30 13:34:17 +01:00
459d783c96 fixes wrong allocation in mnrs network driver 2026-01-29 21:23:37 +01:00
d5ac028817 makes timer more consistent accros tx and nx
Also adds nx_port for user defines
2026-01-28 16:56:02 +01:00
1e5eb44ca9 initial commit 2026-01-27 20:58:23 +01:00