Felix Kopp
5555a3d56d
cleanup and fix warnings
2021-01-05 17:50:46 +01:00
Felix Kopp
63ccd87112
arch/at91sam3x8e: finalize entry routine
2021-01-05 17:31:26 +01:00
Felix Kopp
8252f14b6b
arch/at91sam3x8e: use r0 for syscall number
2021-01-05 15:30:36 +01:00
Felix Kopp
316b4c2c0c
entry: implement syscall entry
2021-01-04 15:40:16 +01:00
Felix Kopp
589e9330da
sched: properly disable the watchdog
...
I have no idea what the FUCK the Engineers at ARM were thinking when
they decided to disable EVERY SINGLE FUCKING CPU COMPONENT on system
reset, except the FUCKING WATCHDOG. But this change will prevent the
system from randomly firing a watchdog reset.
2020-12-08 00:08:00 +01:00
Felix Kopp
f4e321932f
serial: switch to DMA buffers
2020-11-29 20:19:52 +01:00
Felix Kopp
ba9565a1b4
Clean up and get rid of some unnecessary stuff
2020-11-26 19:19:04 +01:00
Felix Kopp
ed60b267a0
Finish serial init code
...
The first major hurdle has been overcome, though several more are
still awaiting me. Next up is IRQ handling.
2020-11-19 01:44:51 +01:00
Felix Kopp
1eeaf1dc28
Add PIO register definitions
...
Looks like I forgot those.
2020-11-18 03:47:04 +01:00
Felix Kopp
6a141b914b
Add register definitions for UART
...
This is the first of a series of commits to get a
hardware serial console up and running on the
Arduino Due. When I have that, I can actually
do some real debugging.
2020-11-18 02:26:16 +01:00
Felix Kopp
0e725b795d
Move license comment to the bottom
2020-10-11 19:35:30 +02:00
Felix Kopp
a8574dc17a
Rename to IRQ
2020-10-10 23:15:47 +02:00
Felix Kopp
424f5a902f
Cleanup 2
2020-06-17 20:40:22 +02:00
Felix Kopp
30096ab5b2
Tidy up
2020-06-14 05:51:01 +02:00
Felix Kopp
205f7ee342
Add some more register shit
2020-06-12 19:34:14 +02:00
Felix Kopp
3c8f3ca84b
Fix register stack order
2020-06-12 17:19:49 +02:00
Felix Kopp
c19e131f20
Add base stuff for preemptive scheduler
2020-06-12 11:49:20 +02:00