Ayke van Laethem
ce71d18450
runtime/nrf: remove AEABI functions
...
Apparently these functions were not actually used.
2018-09-05 07:09:24 +02:00
Ayke van Laethem
83ad0b6137
all: move bootstrapping IR to Go runtime
...
This has the benefit of not requiring a 'runtime' IR file, so that
complete relocatable files can be built without requiring input IR.
This makes the compiler a lot easier to use without the Makefile.
Code size is not affected.
2018-09-04 21:18:26 +02:00
Ayke van Laethem
d183f12395
nrf: fix sleep
...
For some reason, the old behavior stopped working at some point (maybe
at the nrfx update?). Change sleep behavior to be more correct.
2018-09-02 19:20:05 +02:00
Ayke van Laethem
a39951c3d7
runtime: Convert device initialization to Go
2018-05-05 20:10:39 +02:00
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
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