Commit graph

30 commits

Author SHA1 Message Date
Felix Kopp
99a51a5dd2
fix compiler errors/include conflicts
What a hell of a nightmare this codebase has become over the past few
weeks fascinates even myself
2020-12-01 02:35:06 +01:00
Felix Kopp
e45f75f6bc
sched: implement spinlocks 2020-11-30 22:19:30 +01:00
Felix Kopp
0026db4583
arch: introduce include convenience macro 2020-11-30 22:08:01 +01:00
Felix Kopp
f229c2ae86
serial: it's starting to kind of work 2020-11-30 05:07:23 +01:00
Felix Kopp
570f036752
sched: minor refactor 2020-11-30 02:26:17 +01:00
Felix Kopp
dbda35d82a
serial: prepare for I/O thread integration 2020-11-29 23:22:44 +01:00
Felix Kopp
55ee84b99b
sched: rework irq pend requests 2020-11-29 22:01:35 +01:00
Felix Kopp
523f6f4bb2
serial: forgot to commit some shit 2020-11-29 20:38:16 +01:00
Felix Kopp
f49a6643d7
sched: major refactor 2020-11-29 20:23:27 +01:00
Felix Kopp
f4e321932f
serial: switch to DMA buffers 2020-11-29 20:19:52 +01:00
Felix Kopp
7493c7a5ae
SERIAL FINALLY FUCKING WORKS OMG 2020-11-26 19:20:06 +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
2df4efdf2a
Implement core serial routines
This is just a rough baseline for the higher-level
serial handling code and will probably change
within the next couple of commits.
2020-11-14 04:04:59 +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
a4e244e7fc
Fix some minor errors 2020-10-10 23:11:21 +02:00
Felix Kopp
959b36215e
Cleanup 3 2020-06-17 20:42:41 +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
ff8b5098cd
Enable SysTick on sched_init 2020-06-12 12:29:27 +02:00
Felix Kopp
c19e131f20
Add base stuff for preemptive scheduler 2020-06-12 11:49:20 +02:00
Felix Kopp
466dcb81a6
Add some compiler flag macros for convenience 2020-06-12 03:43:11 +02:00
Felix Kopp
2f3fe766f5
Shit, that was the wrong string.h 2020-06-12 00:33:33 +02:00
Felix Kopp
9817db1841
Add startup code for sam3x8e 2020-06-12 00:03:16 +02:00
Felix Kopp
dfd949efdd
Add stupid string.h implementation 2020-06-12 00:01:15 +02:00