Tinygo - Go-компилятор для встраиваемых систем (форк https://github.com/tinygo-org/tinygo) С поддержкой сборки динамических библиотек
Найти файл
Ayke van Laethem b11a618d99 compiler: Set actual initializer for global variables
In the Go SSA, global variables are initialized in the init() function
instead of declaring them in the global itself. Work around this oddity
by simply setting the correct initializer when we find this global.

This should produce more efficient code, both in RAM and code size.
Apparently LLVM didn't optimize it away on it's own.
2018-04-29 00:59:28 +02:00
lib Add runtime support for the nRF52 2018-04-25 20:06:08 +02:00
src runtime: Implement GPIO output 2018-04-27 01:29:13 +02:00
.gitignore Hello world! 2018-04-11 16:17:14 +02:00
.gitmodules Add runtime support for the nRF52 2018-04-25 20:06:08 +02:00
arm.ld Set up a stack 2018-04-26 23:38:46 +02:00
Makefile compiler: Implement -ffunction-sections work 2018-04-27 01:28:14 +02:00
tgo.go compiler: Set actual initializer for global variables 2018-04-29 00:59:28 +02:00