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

  • 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
  • c237633d34
    all: use a custom sync package Ayke van Laethem 2018-09-15 18:51:51 +02:00
  • 94b18e2d79
    compiler: support integer convert in interpreter Ayke van Laethem 2018-09-15 18:47:15 +02:00
  • 1d2e0cd259
    compiler: don't show DebugRef with -dumpssa Ayke van Laethem 2018-09-15 18:45:46 +02:00
  • 2a20c0c7f0
    all: rewrite sleep function Ayke van Laethem 2018-09-15 01:08:31 +02:00
  • 1ac67cf8de
    compiler: adding a few more ignored init calls Ayke van Laethem 2018-09-15 01:04:19 +02:00
  • 38efc5653d
    compiler: support compile-time hashmap with int keys Ayke van Laethem 2018-09-15 01:03:22 +02:00
  • 152e12e4b0
    all: implement iterating over hashmaps Ayke van Laethem 2018-09-15 00:29:34 +02:00
  • 5b4b6cfee2
    compiler: use -dumpssa flag in interpreter Ayke van Laethem 2018-09-14 21:38:03 +02:00
  • 866a6edb5f
    compiler: fix word size for AVR Ayke van Laethem 2018-09-14 21:36:51 +02:00
  • 327076da39
    examples/test: add slice-a-slice test Ayke van Laethem 2018-09-14 21:02:29 +02:00
  • 1387a1024d
    examples/test: small cleanup Ayke van Laethem 2018-09-14 21:00:52 +02:00
  • 112f6dc01a
    all: implement tinygo flash command Ayke van Laethem 2018-09-14 20:59:28 +02:00
  • 6450daa3c8
    runtime/cgo: go fmt Ayke van Laethem 2018-09-14 20:58:00 +02:00
  • 13633133a5
    Makefile: simplify make fmt Ayke van Laethem 2018-09-14 20:57:21 +02:00
  • 09cbd223c3
    compiler: remove -runtime flag Ayke van Laethem 2018-09-14 20:56:48 +02:00
  • c763e9f1a6
    compiler: produce .hex files directly Ayke van Laethem 2018-09-14 20:27:04 +02:00
  • f41a8032e7
    machine/dummy: add fake button pins Ayke van Laethem 2018-09-14 17:01:16 +02:00
  • 752332ff13
    machine/nrf: implement reading GPIO pins Ayke van Laethem 2018-09-14 16:55:52 +02:00
  • ab6757fe11
    avr: implement Get() function on AVR, and leave stubs for NRF and dummy machines Ron Evans 2018-09-13 11:39:38 +02:00
  • ec50db729d
    compiler: implement slicing slices Ayke van Laethem 2018-09-13 20:49:35 +02:00
  • 5b3ef2c02f
    compiler: fix unreachable type assert Ayke van Laethem 2018-09-13 20:48:23 +02:00
  • 9cd7c7f0ba
    compiler: fix phi nodes for type asserts Ayke van Laethem 2018-09-13 20:42:04 +02:00
  • 57661a3c76
    compiler: fix typeassert without comma-ok for unused types Ayke van Laethem 2018-09-13 16:58:44 +02:00
  • d948abdf82 avr: correct register for Set() operation on pins 0-7 Ron Evans 2018-09-13 10:42:08 +02:00
  • 76e77917d8
    targets: move target-specific files to this directory Ayke van Laethem 2018-09-13 00:59:39 +02:00
  • e389d38dec
    Makefile: improve gen-device* commands Ayke van Laethem 2018-09-13 00:55:49 +02:00
  • 18b3e8d156
    gen-device: move to new tools directory Ayke van Laethem 2018-09-13 00:55:18 +02:00
  • a46ed465c5
    README: defer has been fully implemented Ayke van Laethem 2018-09-13 00:31:43 +02:00
  • 422c848163
    README: fix nrf example and add arduino example Ayke van Laethem 2018-09-13 00:23:53 +02:00
  • 7e7502a990
    README: update build instructions Ayke van Laethem 2018-09-13 00:23:45 +02:00
  • 5e9e3bd1a0
    Makefile: use the compiler driver directly Ayke van Laethem 2018-09-12 23:41:11 +02:00
  • 76a513802f
    targets/pca10040: support linking from within the compiler Ayke van Laethem 2018-09-12 23:38:51 +02:00