Commit Graph

  • 536086988c cgo: implement Go arrays (constant arrays in C) Ayke van Laethem 2019-04-11 14:20:53 +02:00
  • 684543b7f1 cgo: implement struct types Ayke van Laethem 2019-04-11 14:03:08 +02:00
  • bd8e47af80 cgo: make libclang code thread-safe Ayke van Laethem 2019-04-11 13:57:14 +02:00
  • 5b34713d41 main: fix linker script includes when running outside TINYGOROOT Ayke van Laethem 2019-04-16 15:49:31 +02:00
  • f1aea13c51 tools: remove Makefile tasks that are redundant thanks to TinyGo improvements Ron Evans 2019-04-16 13:08:08 +02:00
  • 7bcabe53ca compiler: fix interface lowering pass Ayke van Laethem 2019-04-15 15:33:18 +02:00
  • 7de3d4be2b all: support interface asserts in interp Ayke van Laethem 2019-04-13 17:13:16 +02:00
  • 02ecab833f all: check formatting on CI Ayke van Laethem 2019-04-12 14:11:23 +02:00
  • 1322f404a6 stm32: add support for the STM32F4Discovery Yusuke Mitsuki 2019-04-12 13:36:14 +09:00
  • 315cd4059f main: drop the dependency on llvm-ar Ayke van Laethem 2019-04-07 15:40:03 +02:00
  • 078dd9ff52 cgo: improve diagnostics Ayke van Laethem 2019-04-10 15:51:44 +02:00
  • e5029c63d1 compiler: optimize ptrtoint+add+inttoptr pattern Ayke van Laethem 2019-04-07 16:37:57 +02:00
  • dcffbc49c4 compiler: add param attrs to memmove and memcpy Ayke van Laethem 2019-04-07 16:36:14 +02:00
  • 6a2a587dff compiler: fix MakeSlice bounds check and casting Ayke van Laethem 2019-04-05 16:55:34 +02:00
  • 3a76a49ddf compiler: fix int casting to use the source signedness Ayke van Laethem 2019-04-05 16:51:03 +02:00
  • 81a1114ee5 compiler: truncate string slice indices if necessary Ayke van Laethem 2019-04-05 15:24:51 +02:00
  • 30e192e7e8 compiler: let the default 'low' slice bound be a uintptr Ayke van Laethem 2019-04-05 15:21:27 +02:00
  • a965882a34 compiler: support i16 uintptr in cap builtin Ayke van Laethem 2019-04-05 15:17:04 +02:00
  • f967c6919a interp: fix segmentation fault in some builds Ayke van Laethem 2019-04-10 16:42:44 +02:00
  • 2e926789f5 circleci: do macOS builds here instead of on Travis CI Ayke van Laethem 2019-04-05 13:45:02 +02:00
  • 38c3d0852e compiler: implement casting named structs and pointers to them Ayke van Laethem 2019-04-05 14:25:30 +02:00
  • 85f2ef40f8 machine/itsybitsy-m0: set pins and pin mode mapping for i2c0 bus Ron Evans 2019-04-05 15:25:11 +02:00
  • ae4ead8690 machine/circuitplay: correct pin and pin mode mapping for both i2c0 (external) and i2c1 (internal) buses Ron Evans 2019-04-05 12:10:19 +02:00
  • ebebdd5651 circleci: build LLVM statically Ayke van Laethem 2019-04-04 02:31:43 +02:00
  • 1778d92858 Makefile: automatically build LLVM when needed Ayke van Laethem 2019-04-04 02:21:54 +02:00
  • 86f8778748 darwin: use custom syscall pkg that uses libsystem Ayke van Laethem 2019-03-24 12:59:09 +01:00
  • 2523772b5d arm: use the lld linker Ayke van Laethem 2019-04-02 19:17:53 +02:00
  • 31d57fd3d1 main: use wasm-ld instead of wasm-ld-8 on macOS Ayke van Laethem 2019-04-02 19:17:07 +02:00
  • d653088cbe compiler: fix escapes due to nil checks Ayke van Laethem 2019-03-30 13:14:04 +01:00
  • cd8471acae all: support Go 1.12 Ayke van Laethem 2019-03-07 15:17:18 +01:00
  • b64fc5484a runtime: implement memmove intrinsic Ayke van Laethem 2019-04-01 13:33:40 +02:00
  • 38f8cf7bee compiler: imporove escape analysis to allow icmp Ayke van Laethem 2019-03-24 16:47:36 +01:00
  • f484dddbc2 circleci: don't install the llvm package Ayke van Laethem 2019-03-23 00:06:07 +01:00
  • a2d0f79be3 all: pretend to be linux/arm in baremetal targets Ayke van Laethem 2019-03-22 21:53:44 +01:00
  • 792274e86f runtime/wasm: provide dummy runtime.setEventHandler Ayke van Laethem 2019-03-07 15:16:11 +01:00
  • 06aa88abfb reflect: add stubs for Value.MapRange Ayke van Laethem 2019-02-28 14:11:59 +01:00
  • ad7297a539 all: implement trivial select statements Ayke van Laethem 2019-02-28 14:11:46 +01:00
  • 4d82f42d61 runtime: add runtime.nanotime Ayke van Laethem 2019-02-27 20:36:04 +01:00
  • 9c41011e17 all: switch to LLVM 8 Ayke van Laethem 2019-02-14 11:24:29 +01:00
  • 5569cd1b6b main: version 0.4.1 v0.4.1 Ayke van Laethem 2019-03-15 12:53:49 +01:00
  • d6c2d6e301 main: use OS specific name for llvm-ar-7 tool to ensure that llvm7 toolchain works as expected Ron Evans 2019-03-14 19:51:07 +01:00
  • a466dd8f2b main: include .data section in .hex file Ayke van Laethem 2019-03-11 16:18:09 +01:00
  • b1744db2c8 main: version 0.4.0 v0.4.0 Ayke van Laethem 2019-03-09 17:43:52 +01:00
  • bd6a7b69ce compiler: inline slice bounds checking Ayke van Laethem 2019-03-07 18:17:57 +01:00
  • 051ad07755 compiler: refactor slice related asserts Ayke van Laethem 2019-03-07 18:07:08 +01:00
  • 09e85b7859 machine/stm32f103xx: correct convertion for fractional timing of RTC as used in ticks() function Ron Evans 2019-03-08 17:27:49 +01:00
  • 622d0ebde6 compiler: implement nil checks Ayke van Laethem 2019-03-07 13:33:46 +01:00
  • b7cdf8cd0c interp: refactor to eliminate lots of code Ayke van Laethem 2019-03-06 14:22:26 +01:00
  • cfc1a66e8d interp: use correct initialization order on panic() calls Ayke van Laethem 2019-03-07 15:05:25 +01:00
  • 4ad9bd8643 wasm: ignore arguments and environment variables Ayke van Laethem 2019-03-06 17:53:47 +01:00
  • 2a1dd98661 compiler: support output file using UF2 bootloader format Ron Evans 2019-03-05 22:17:23 +01:00
  • 2c03192691 LICENSE: update author and year Ayke van Laethem 2019-03-06 17:03:17 +01:00
  • 9d6df2b4c7 machine/samd21: implement ADC Ron Evans 2019-03-06 13:59:21 +01:00
  • 5939729c45 main: only run WebAssembly tests on Linux Ayke van Laethem 2019-03-06 10:45:34 +01:00
  • c7b91da8c4 compiler: support function pointers outside of addrspace 0 Ayke van Laethem 2019-01-01 20:22:39 +01:00
  • c7fdb6741f compiler: rename biggestInt → capacityType Ayke van Laethem 2019-02-07 17:54:34 +01:00
  • b837c94366 compiler: calculate max number of entries in slice at compile time Ayke van Laethem 2019-02-07 17:37:22 +01:00
  • 26e7e93478 compiler: make sure make([]T, ...) checks for Ts bigger than 1 Ayke van Laethem 2019-01-27 14:27:08 +01:00
  • 8e99c3313b compiler: fix make([]T, ...) with big integers on 32-bit systems or less Ayke van Laethem 2019-01-10 14:09:04 +01:00
  • 28987ae061 docs: update README with recently added Adafruit Circuit Playground Express board Ron Evans 2019-03-05 10:08:28 +01:00
  • b594f212fb test: add WebAssembly tests Ayke van Laethem 2019-01-21 14:54:08 +01:00
  • 41e093d7bb wasm: switch emulator to node.js Ayke van Laethem 2019-01-21 14:49:16 +01:00
  • 665c3bdaa6 machine/samd21: implement SPI interface for currently supported SAMD21 boards Ron Evans 2019-03-04 21:04:25 +01:00
  • ea3d232c84 circleci: replace Linux tests on Travis CI with CircleCI Ayke van Laethem 2019-02-27 17:30:00 +01:00
  • 4f932b6e66 all: use internal objcopy implementation Ayke van Laethem 2019-02-23 19:41:30 +01:00
  • 3538ba943c machine/samd21: move definitions for I2C interfaces into board files, since pin connections on each SAMD21-based board implementation can differ Ron Evans 2019-03-04 17:08:52 +01:00
  • 543696eafc machine/samd21: correct get/setPinCfg and get/setPMux functions for PORTB pins Ron Evans 2019-03-04 17:04:15 +01:00
  • 6e5ae83302 machine/samd21: init all SERCOM clocks to better handle board variants Ron Evans 2019-03-04 16:07:21 +01:00
  • 9b4071237f arm: switch to hardfloat ABI for Linux Ayke van Laethem 2019-02-14 11:40:27 +01:00
  • 1c68da89af main: version 0.3.0 v0.3.0 Ayke van Laethem 2019-02-27 12:09:27 +01:00
  • 4424fe087d machine/circuitplay_express: add basic support for Adafruit Circuit Playground express pin mappings Ron Evans 2019-02-24 21:25:22 +01:00
  • 34939ab422 machine/atsamd21: add GPIO_INPUT_PULLUP and GPIO_INPUT_PULLDOWN GPIO pin config options Ron Evans 2019-02-24 21:19:12 +01:00
  • c56b2a45fa machine/samd21: handle PINMUX and PINCFG registers correctly for PORTB pins Ron Evans 2019-02-23 20:09:24 +01:00
  • b1c70d85f7 nrf: add CPU frequency Ayke van Laethem 2019-02-23 15:11:53 +01:00
  • 714d98354c arm: provide intrinsics to disable/enable interrupts Ayke van Laethem 2019-02-23 15:03:11 +01:00
  • 6e8df2fc40 samd21: define and use hardware pin numbers Ayke van Laethem 2019-02-23 14:25:19 +01:00
  • 902f40867f samd21: add GPIO support for port B Ayke van Laethem 2019-02-21 20:37:45 +01:00
  • 5438f16fcb machine/atsamd21: support for USB CDC aka serial interface Ron Evans 2019-02-21 20:29:12 +01:00
  • 7f027ddd33 machine/samd21: correct calculation for runtime ticks() function so that go routine scheduling can function as expected as described in issue #149 Ron Evans 2019-02-22 09:08:46 +01:00
  • acaf096586 compiler: extend flash command to support different output file types, based on contents of flash key in target file Ron Evans 2019-02-23 11:31:38 +01:00
  • 942d4903ce machine/atsamd21: extracts functionality for processor family into shared files. Ron Evans 2019-02-20 12:33:00 +01:00
  • 0b212cf2f6 all: add macOS support Ayke van Laethem 2019-02-09 23:18:17 +01:00
  • 2d5bc836f5 build: correct Makefile to build tinygo executable correctly when build directory does not exist, such as after running 'make clean' Ron Evans 2019-02-19 09:43:12 +01:00
  • 856e5fa179 ir: remove old cgo related code Ayke van Laethem 2019-02-09 13:46:19 +01:00
  • 07733ca056 compiler: remove some dead code reported by go vet Ayke van Laethem 2019-02-09 13:38:01 +01:00
  • 92d9b780b5 all: remove init interpretation during IR construction Ayke van Laethem 2019-02-09 13:31:51 +01:00
  • da345e8723 cgo: implement bool/float/complex types Ayke van Laethem 2019-02-08 19:56:43 +01:00
  • fab38a0749 compiler: use Clang data layout for complex numbers Ayke van Laethem 2019-02-08 19:42:24 +01:00
  • 0a3dbbd1cb Added regular pins const for bbc:microbit (#181) Daniel Esteban 2019-02-11 16:33:10 +01:00
  • 4c29f0fdb6 wasm: support wasm example on Safari admin 2019-02-11 18:19:33 +09:00
  • fbc2099ee3 main: version v0.2.0 v0.2.0 Ayke van Laethem 2019-02-08 16:54:50 +01:00
  • 95d895646a loader/cgo: add support for function pointers Ayke van Laethem 2019-02-07 13:50:09 +01:00
  • 35fb594f8f loader/cgo: add support for pointer types Ayke van Laethem 2019-02-07 13:20:19 +01:00
  • 01f6aff422 loader: support global variables in CGo (#173) Ayke 2019-02-08 13:04:03 +01:00
  • 7dd5839f47 build: display output file sizes for target smoke test builds on Travis (#175) Ron Evans 2019-02-08 13:03:20 +01:00
  • 403fee7e06 Add tinygo version subcommand (#172) Ron Evans 2019-02-08 11:22:47 +01:00
  • 7657238c24 docs: refactor README content (#171) Ron Evans 2019-02-08 08:59:06 +01:00
  • 3cba36f2ba compiler: add syscalls for 64-bit arm Ayke van Laethem 2019-02-05 20:13:39 +01:00
  • 93d5269fef compiler: add syscalls for 32-bit arm Ayke van Laethem 2019-02-05 19:30:52 +01:00
  • 4b477fad55 all: update Travis CI to Ubuntu Xenial Ayke van Laethem 2019-02-02 10:45:11 +01:00