Commit Graph

  • 02936042b8 travis: add Travis CI build script Ayke van Laethem 2018-09-30 15:50:11 +02:00
  • a2e57b40f9 docs: update installation instructions Ayke van Laethem 2018-09-30 15:40:58 +02:00
  • f107a24b72 all: use LLVM library provided by the system Ayke van Laethem 2018-09-29 00:01:51 +02:00
  • 5c79a93c85 tools/gen-device-svd: generate code for cluster arrays Ayke van Laethem 2018-09-30 14:54:42 +02:00
  • 9b4a6dcc14 tools/gen-device-svd: move peripheral list to beginning Ayke van Laethem 2018-09-30 12:52:34 +02:00
  • e77a5af5d2 tools/gen-device-svd: rewrite with ElementTree Ayke van Laethem 2018-09-30 12:48:03 +02:00
  • ee5d562050 examples: add color mood lamp that shows using GPIO, PWM, ADC, and I2C all at the same time on an Arduino Ron Evans 2018-09-26 14:48:29 +02:00
  • 802350f8da main: helpful error message for flash cmd without -target Ayke van Laethem 2018-09-29 22:39:44 +02:00
  • b6db84e916 main: use GOPATH from the environment Ayke van Laethem 2018-09-29 22:30:45 +02:00
  • 5bf058a0a6 nrf: fix off-by-one in modulo of runtime.ticks Ayke van Laethem 2018-09-29 16:16:38 +02:00
  • c1a833c7cc main: add basic float tests Ayke van Laethem 2018-09-29 00:12:23 +02:00
  • 717262c0a6 main: add coroutine/sleep tests Ayke van Laethem 2018-09-29 00:11:58 +02:00
  • 318567f398 ir: fix nil pointer dereference in IsVolatile Ayke van Laethem 2018-09-29 00:11:05 +02:00
  • 8d170d3bd2 all: change special type __volatile to pragma //go:volatile Ayke van Laethem 2018-09-28 13:17:03 +02:00
  • 0e813c4cb7 main: add -no-debug flag to avoid DWARF debug info Ayke van Laethem 2018-09-25 20:17:46 +02:00
  • 69f2cec045 avr: fix build for Arduino Ayke van Laethem 2018-09-25 14:32:02 +02:00
  • 8f661d25a9 main_test: fix error logging of test Ayke van Laethem 2018-09-25 14:25:38 +02:00
  • 4731f2f787 testdata: add better tests for struct expanding Ayke van Laethem 2018-09-25 14:24:44 +02:00
  • 12fb4f3f91 avr: i2c implementation with BlinkM example Ron Evans 2018-09-22 13:36:42 +02:00
  • d190bfccf6 Makefile: add 'make test' that runs go test Ayke van Laethem 2018-09-25 13:48:51 +02:00
  • 13cb7d6503 avr: add interrupt support Ayke van Laethem 2018-09-23 23:31:28 +02:00
  • dc88948f55 Makefile: go fmt testdata/*.go Ayke van Laethem 2018-09-25 13:45:50 +02:00
  • 174b6333f8 compiler: fix expanding zero-length structs Ayke van Laethem 2018-09-25 13:44:32 +02:00
  • d8f0ddf3fa main: add tests Ayke van Laethem 2018-09-24 17:24:58 +02:00
  • ed227b8fd3 all: fix errors reported by go vet Ayke van Laethem 2018-09-24 17:19:50 +02:00
  • a2eaaa42a0 main: optimize 'tinygo run' Ayke van Laethem 2018-09-24 16:22:09 +02:00
  • c9ae72a105 all: allow -O0 optimization level Ayke van Laethem 2018-09-24 16:17:42 +02:00
  • 6191d4e1ac compiler: rename .Parse() to .Compiler() Ayke van Laethem 2018-09-24 15:54:39 +02:00
  • 1b229a8f8b compiler: support compiling individual .go files Ayke van Laethem 2018-09-24 15:35:50 +02:00
  • a561e9a9ac ir: move adding packages from the compiler Ayke van Laethem 2018-09-24 15:17:32 +02:00
  • 9df04a2170 compiler: fix panic on import errors Ayke van Laethem 2018-09-24 14:41:10 +02:00
  • 8a468786df compiler: use config struct for options Ayke van Laethem 2018-09-24 14:18:50 +02:00
  • ddd4a39cb8 avr: fix default handler in interrupt vector Ayke van Laethem 2018-09-24 13:03:21 +02:00
  • fd6dda5e4f main: run the compiler from any path Ayke van Laethem 2018-09-24 12:25:33 +02:00
  • 453450f40d ir: sort function pragmas Ayke van Laethem 2018-09-23 23:30:13 +02:00
  • 3076ad470e tools/gen-device-svd: fix script filename in output Ayke van Laethem 2018-09-23 20:50:44 +02:00
  • b09f7a5e6c avr: make linker script generic Ayke van Laethem 2018-09-23 20:50:12 +02:00
  • b9638315d2 avr: automatically generate interrupt vectors Ayke van Laethem 2018-09-23 20:37:22 +02:00
  • 3850530c88 docs/installation: fix LLVM hyperlink Ayke van Laethem 2018-09-23 17:21:49 +02:00
  • 3e1a60351d docs/internals: fix hyperlink Ayke van Laethem 2018-09-23 17:20:24 +02:00
  • 7c597c910f README: move installation instructions to docs Ayke van Laethem 2018-09-23 17:15:52 +02:00
  • 4868823dad README: add docs badge Ayke van Laethem 2018-09-23 17:11:13 +02:00
  • c9a2b3f417 docs: remove "Indices and tables" Ayke van Laethem 2018-09-23 17:05:32 +02:00
  • f7f33a1163 docs: add initial documentation Ayke van Laethem 2018-09-23 16:46:57 +02:00
  • 2938437efc compiler: make string data unnamed addresses Ayke van Laethem 2018-09-23 03:03:40 +02:00
  • 7cea40bcb5 compiler: small cleanup in call handling code Ayke van Laethem 2018-09-23 03:01:10 +02:00
  • fdfa810060 compiler: expand small structs Ayke van Laethem 2018-09-23 02:31:16 +02:00
  • a86739d235 Makefile: add new packages to tgo dependencies Ayke van Laethem 2018-09-23 01:17:46 +02:00
  • b2cbfa78ca compiler: refactor compiler into separate package Ayke van Laethem 2018-09-22 20:30:46 +02:00
  • b75a02e66d compiler: refactor IR parts into separate package Ayke van Laethem 2018-09-22 20:25:50 +02:00
  • 473e71b573 compiler: implement range over a string Ayke van Laethem 2018-09-22 19:19:53 +02:00
  • 18b5ab290c compiler: recognize untyped strings as strings Ayke van Laethem 2018-09-22 19:18:09 +02:00
  • c8587c7d1e Makefile: go fmt more packages Ayke van Laethem 2018-09-22 17:44:42 +02:00
  • 4d5b5241ec all: avoid _Msk fields when not necessary Ayke van Laethem 2018-09-22 17:42:44 +02:00
  • eadec6f766 tools/gen-device-svd: avoid _Msk for single-bit fields Ayke van Laethem 2018-09-22 17:42:05 +02:00
  • 3bba26ce5b machine/bluepill: create definitions for all pins Ayke van Laethem 2018-09-22 15:42:22 +02:00
  • 8f5bd81bf5 machine: split board definitions in separate files Ayke van Laethem 2018-09-22 15:41:52 +02:00
  • 2c21925f4c targets: put board name in build tags Ayke van Laethem 2018-09-22 15:37:46 +02:00
  • 9df7d6e8e8 examples: add nrf example for all 4 built-in buttons and LEDs Ron Evans 2018-09-21 17:06:24 +02:00
  • a577bc2a1b tools/gen-device-svd: show better error messages Ayke van Laethem 2018-09-22 14:34:40 +02:00
  • dd5b5a381c stm32: initial support Ayke van Laethem 2018-09-22 01:51:44 +02:00
  • 12298d23a7 all: move generic ARM bits into separate files Ayke van Laethem 2018-09-22 01:44:47 +02:00
  • 895d109fc4 compiler: run flash command in a shell Ayke van Laethem 2018-09-22 01:40:46 +02:00
  • 7517ac86e4 runtime: merge common sleep() functions Ayke van Laethem 2018-09-22 01:40:04 +02:00
  • 7c16f6c904 tools/gen-device-svd: make source URL configurable Ayke van Laethem 2018-09-22 01:20:34 +02:00
  • b705b332a7 tools/gen-device-svd: indentation in .s file Ayke van Laethem 2018-09-22 01:09:08 +02:00
  • e0d13f489f tools/gen-device/svd: auto-generate output directory Ayke van Laethem 2018-09-22 01:08:42 +02:00
  • d841daa32b tools/gen-device-svd: emit correct Go code for stm32 Ayke van Laethem 2018-09-22 01:05:22 +02:00
  • 9fa08bf51d all: use groupName in peripherals Ayke van Laethem 2018-09-21 22:24:41 +02:00
  • 110230a50d tools/gen-device-svd: make svd files deal with stm32 Ayke van Laethem 2018-09-21 21:52:16 +02:00
  • 5b0aaf0d39 targets: clean up and unify linker scripts Ayke van Laethem 2018-09-21 15:06:49 +02:00
  • 2122780309 compiler: implement *ssa.ChangeType Ayke van Laethem 2018-09-21 14:47:29 +02:00
  • 505b1f750d all: generate interrupt vector from .svd file Ayke van Laethem 2018-09-21 14:45:32 +02:00
  • 3c22f5731c all: replace _extern_* workaround with //go:extern pragma Ayke van Laethem 2018-09-21 14:28:47 +02:00
  • 2ca2220e44 compiler: move SSA construction to ir.go Ayke van Laethem 2018-09-21 14:09:39 +02:00
  • 2496ae9967 compiler: emit non-PIE executables Ayke van Laethem 2018-09-21 14:01:22 +02:00
  • 3e6750ae23 examples/test: make unicode example more interesting Ayke van Laethem 2018-09-21 12:54:26 +02:00
  • 486ea1b8ea examples: re-add hello world serial communication Ayke van Laethem 2018-09-21 14:33:39 +02:00
  • de694b5857 avr: set ADLAR bit in ADC to get a value scaled to 16-bit Ayke van Laethem 2018-09-20 21:24:41 +02:00
  • 40f834d58f avr: ADC with 0-1023 range Ron Evans 2018-09-18 15:02:38 +02:00
  • dbb5ae5a23 avr: use i16 for lengths Ayke van Laethem 2018-09-20 20:52:59 +02:00
  • 45348bfc3e examples: add hello world serial communication Ron Evans 2018-09-19 22:38:29 +02:00
  • c0d1963d63 runtime/nrf: remove some leftover header files Ayke van Laethem 2018-09-18 20:45:02 +02:00
  • 7c9a3d70bc nrf: use correct ISA type for pca10040 Ayke van Laethem 2018-09-18 20:16:55 +02:00
  • c554c7c009 nrf: use assembly for nrf52, not nrf51 Ayke van Laethem 2018-09-18 20:15:18 +02:00
  • 87963d3d5b compiler: add -size flag to replace size utility Ayke van Laethem 2018-09-18 00:04:21 +02:00
  • 8b94fe9205 avr: fix assembly comment regarding data/stack Ayke van Laethem 2018-09-17 20:51:41 +02:00
  • db8c3479d6 compiler: give names to nameless globals Ayke van Laethem 2018-09-17 20:41:48 +02:00
  • 1f2af7d848 compiler: do not remove dead globals Ayke van Laethem 2018-09-17 15:14:04 +02:00
  • b0aeaed635 compiler: allow a global to be defined multiple times Ayke van Laethem 2018-09-17 15:13:11 +02:00
  • 77934f364f avr: fix corrupted .data byte Ayke van Laethem 2018-09-17 15:10:52 +02:00
  • fc0ff3a987 avr: initial implementation for PWM Ron Evans 2018-09-14 14:42:47 +02:00
  • 94358959f5 compiler: fix unsafe.Sizeof and friends for AVR Ayke van Laethem 2018-09-16 20:42:10 +02:00
  • e04f0868ed compiler: fix constant globals on AVR Ayke van Laethem 2018-09-16 16:31:38 +02:00
  • a02426948b avr: implement .data section Ayke van Laethem 2018-09-16 16:26:04 +02:00
  • 39e3fe28db avr: convert initialization from asm to Go Ayke van Laethem 2018-09-16 14:57:42 +02:00
  • 0d8a7e1666 avr: link with the GCC runtime library Ayke van Laethem 2018-09-16 14:50:56 +02:00
  • a25e598463 compiler: truncate output files before writing Ayke van Laethem 2018-09-16 13:41:56 +02:00
  • 35fe24981f runtime/unix: panic: call abort() instead of exit(2) Ayke van Laethem 2018-09-15 18:55:49 +02:00
  • 1484bb5c2c all: basic support for the os package Ayke van Laethem 2018-09-15 18:54:36 +02:00