Граф коммитов

418 коммитов

Автор SHA1 Сообщение Дата
Ayke van Laethem
c4f0dc90dd machine: Rewrite most of the GPIO functionality
Split across device types (nrf, dummy) and use registers directly
instead of the HAL.
2018-05-05 20:05:53 +02:00
Ayke van Laethem
3a4663150e runtime: Implement GPIO output
Now we can actually blink a LED!
2018-04-27 01:29:13 +02:00
Ayke van Laethem
d4170faa0a runtime/nrf: Add Sleep() 2018-04-26 23:47:59 +02:00
Ayke van Laethem
4491a63fe8 Add print() for 64-bit integers 2018-04-26 23:46:34 +02:00
Ayke van Laethem
c940617849 compiler: Implement init() 2018-04-26 18:54:46 +02:00
Ayke van Laethem
2d19bb11ba compiler: Merge the runtime into the Go code, for better code size 2018-04-26 18:06:54 +02:00
Ayke van Laethem
04fef19753 Add runtime support for the nRF52 2018-04-25 20:06:08 +02:00
Ayke van Laethem
ea129f3072 Implement runtime.Sleep 2018-04-22 19:23:16 +02:00
Ayke van Laethem
5067891236 Implement unsigned integers 2018-04-22 15:59:17 +02:00
Ayke van Laethem
75fce0f949 runtime: Move print functions to separate file 2018-04-22 15:26:07 +02:00
Ayke van Laethem
cf9cea7a0d Implement array bounds check 2018-04-21 01:03:05 +02:00
Ayke van Laethem
1f0651c84c Implement string out of bounds checks 2018-04-21 00:40:21 +02:00
Ayke van Laethem
db66039dfe Implement panic() 2018-04-21 00:26:14 +02:00
Ayke van Laethem
45e7376f39 Implement print() and println() in Go 2018-04-20 16:32:40 +02:00
Ayke van Laethem
ff9e7a8b77 Implement CGo support
This mostly works around the default CGo support: this compiler doesn't
need special wrappers for C functions as it uses the C calling
convention by default.
2018-04-20 16:31:43 +02:00
Ayke van Laethem
3e3c3d259f Add rudimentary interface support 2018-04-19 20:33:10 +02:00
Ayke van Laethem
139ac45cb1 Use only putchar() for printing 2018-04-16 01:56:10 +02:00
Ayke van Laethem
5dfcb5f085 Reorganize packages 2018-04-15 03:38:01 +02:00