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

  • 8aed8d8c56
    Makefile: rename tgo to tinygo Ayke van Laethem 2019-01-22 13:31:21 +01:00
  • c3a15885f5
    machine/itsybitsym0: correct comments for UART1 pin mapping and note which of the analog pin mapping require the second port, which is not yet implemented Ron Evans 2019-01-31 23:11:55 +01:00
  • 914d383a96
    all: update import paths to github.com/tinygo-org/tinygo Ayke van Laethem 2019-01-31 17:43:19 +01:00
  • 504c82a0e7
    compiler: support for byte arrays as keys in maps Konstantin Yegupov 2019-01-31 01:12:57 +10:00
  • f8a1e5f449
    interp: support map literals with integer keys Konstantin Yegupov 2019-01-30 23:22:29 +10:00
  • 0308c92e67
    compiler: better error message on trying to do a map lookup using an unsupported type Konstantin Yegupov 2019-01-30 18:33:50 +10:00
  • 1db9a162da
    all: go fmt Ayke van Laethem 2019-01-31 16:20:38 +01:00
  • 19b4476cbb
    Implement PWM interface for SAMD21 (#157) Ron Evans 2019-01-28 13:48:52 +01:00
  • 7461c298dd runtime: make stringNext use byteindex only, fix index offset Use stringIterator.byteindex as the loop index, and remove stringIterator.rangeindex, as "the index of the loop is the starting position of the current rune, measured in bytes". This patch also fixes the current loop index returned by stringNext, using it.byteindex' before - not after - length' is added. Michael Teichgraeber 2019-01-27 00:08:23 +01:00
  • 9092dbcc53
    all: rename go-llvm to new import path Ayke van Laethem 2019-01-27 19:24:37 +01:00
  • e6d90d89fa
    loader: better error message on import cycles Konstantin Yegupov 2019-01-24 17:25:16 +10:00
  • 4f4d7976c6
    Add core support for multiple UARTs (#152) Ron Evans 2019-01-25 22:09:13 +01:00
  • d820c36c4f
    runtime/strings: add implementation of strings.IndexByte() (#155) Ron Evans 2019-01-25 13:44:26 +01:00
  • 85108514df
    compiler: fix indexing of strings on AVR Ayke van Laethem 2019-01-25 13:15:08 +01:00
  • 589569fc35 loader: fix ARM compatibility Ayke van Laethem 2019-01-22 21:13:33 +01:00
  • 2e4dd09bbc
    compiler: add support for channel operations Ayke van Laethem 2019-01-13 17:05:00 +01:00
  • 602c264749
    all: rewrite goroutine lowering Ayke van Laethem 2019-01-10 16:54:09 +01:00
  • 072ef603fe
    wasm: add GOOS/GOARCH properties Ayke van Laethem 2019-01-11 20:17:25 +01:00
  • 54baf48266
    compiler/interface: fix LLVM context for boolean variable Ayke van Laethem 2019-01-11 20:19:00 +01:00
  • 072eb590a6
    compiler/interface: correct comment on function Ayke van Laethem 2019-01-11 20:23:12 +01:00
  • c0ab91a263
    interp: extra safety check in string emulation Ayke van Laethem 2019-01-11 20:19:54 +01:00
  • 3ebf464da2
    machine/samd21: I2C implementation Ron Evans 2019-01-21 14:35:40 +01:00
  • 38c5e384af
    machine/itsybitsy-m0: specify which pins to use for UART0 Ron Evans 2019-01-21 09:39:47 +01:00
  • 65ea74bd84
    machine/atsamd21: implements UART0 using the SERCOM0 interface Ron Evans 2019-01-20 20:34:13 +01:00
  • 683e2a66e1 machine/atsamd21: correct clock calibration based on stored fuse value Ron Evans 2019-01-20 20:26:54 +01:00
  • 8cbbbb0e76
    machine/atsamd21: improve GPIO config to support all 32 pins on PORTA as well as correct handling for OUTPUT and SERCOM pin modes Ron Evans 2019-01-20 12:30:13 +01:00
  • f89c695c8c
    generators: correctly handle clustered subtypes used in Atmel SAMD21 SVD for important peripherals Ron Evans 2019-01-19 18:29:21 +01:00
  • e2be7ccf76
    sam: add support for Atmel SAMD21 based ItsyBitsy M0 Ron Evans 2019-01-13 21:45:18 +01:00
  • 1f511786d3
    lib/cmsis-svd: update to latest release with updated SAMD21 and SAMD51 SVD files Ron Evans 2019-01-18 17:22:16 +01:00
  • c9f4e41073
    wasm: fix typo in wasm_exec.js preventing memory import Seth Junot 2019-01-17 18:00:52 -08:00
  • 67fbfe6305
    runtime/wasm: add memset() Seth Junot 2019-01-17 17:51:58 -08:00
  • 95e18f36d0
    main: compile and run a program directly Ayke van Laethem 2019-01-15 10:40:49 +01:00
  • 9ac2f39acc
    tools/gen-device-svd: handle case with nested registers that have same address to avoid duplicates Ron Evans 2019-01-15 09:51:00 +01:00
  • 2ba7a438c2 loader: remove redundant gateway function Wèi Cōngruì 2019-01-15 06:38:08 +00:00
  • b88180f8e6
    runtime: remove ctx param from stub code Ayke van Laethem 2019-01-14 20:56:42 +01:00
  • c840757352
    compiler/interface: fix comparison with error value Ayke van Laethem 2019-01-14 20:56:05 +01:00
  • b4dd2dbf60
    docs: change links in README and remove old ReadTheDocs pages to point to TinyGo.org site Ron Evans 2019-01-04 15:54:40 +01:00
  • 8d1284cfe7
    generator: generate device wrappers for Atmel SAM family Ron Evans 2019-01-09 23:42:36 +01:00
  • b8c326d710
    machine/stm32f103xx: implmentation for I2C interface Ron Evans 2019-01-08 22:24:47 +01:00
  • fad4a735e6 tools: use env to search path for python3 j7b 2019-01-08 12:52:47 -08:00
  • 107fccb288 all: add support for more architectures and GOOS/GOARCH (#118) Ayke 2019-01-05 11:46:25 +01:00
  • f44dff6f59
    compiler: allow slicing arrays of a named type Konstantin Yegupov 2019-01-03 08:02:44 +00:00
  • 873c1c3b4d Reduce code size for AVR (#116) Ayke 2019-01-04 14:58:35 +01:00
  • a8dd82538e
    all: add flag to enable i64 parameters in WebAssembly Konstantin Yegupov 2018-12-25 17:17:32 +00:00
  • dccfae485c
    machine/stm32f103xx: support for SPI interface Ron Evans 2018-12-28 16:55:51 +01:00
  • f71e1bcf03
    machine/stm32f103xx: implementation of RTC/TIM based timers Ron Evans 2018-12-27 07:57:26 +01:00
  • fb8dcde2f9
    runtime: update link to original Go hashmap source code kyegupov 2018-12-31 07:24:25 +00:00
  • 18b16fc151
    compiler: run some optimizations after interface lowering Ayke van Laethem 2018-12-22 17:11:39 +01:00
  • 5a15d4162d
    compiler: add optsize function attr to reduce binary size Ayke van Laethem 2018-12-22 17:09:41 +01:00
  • 5ff5873fe6
    machine/microbit: add default pin mappings for SPI bus Ron Evans 2018-12-21 16:22:36 +01:00
  • 47b667a4b8
    machine/stm32: add support for stm32f103xx UART Ron Evans 2018-12-13 16:12:33 +01:00
  • a830451426
    Dockerfile, README, docs: Remove entrypoint Johan Brandhorst 2018-12-13 09:39:03 +00:00
  • cb648d8ae1
    compiler: pass -cflags and -ldflags to tinygo CLI command Ron Evans 2018-12-11 10:37:27 +01:00
  • 8734732d0c
    build: Makefile needs to look at changes in all needed sub-directories to decide if rebuild is required Ron Evans 2018-12-11 11:38:23 +01:00
  • 6cacafb8dc
    cgo: add package directory to header include paths Ayke van Laethem 2018-11-30 13:01:20 +01:00
  • c6069476a7
    cgo: do not rely on stdint.h to be available Ayke van Laethem 2018-11-30 12:45:38 +01:00
  • 0af7da9bff
    cgo: add support for C.int, c.uint, etc Ayke van Laethem 2018-11-29 17:48:20 +01:00
  • e8c1b5ab6e
    cgo: add support for C typedefs Ayke van Laethem 2018-11-29 17:30:46 +01:00
  • ecf6ffa62e
    all: add bare-bones Cgo support Ayke van Laethem 2018-11-29 13:31:16 +01:00
  • b99bbc880a
    main: add support for testing complete packages, not just .go files Ayke van Laethem 2018-11-29 13:07:31 +01:00
  • 8ee3267260
    wasm: compile .c files in packages Ayke van Laethem 2018-11-25 18:06:22 +01:00
  • dea660b21c
    main: compile C source files in packages Ayke van Laethem 2018-11-25 18:05:29 +01:00
  • e10d05c74f
    loader: switch to custom program loader Ayke van Laethem 2018-11-25 17:37:31 +01:00
  • 564b1b3312
    compiler: always use fat function pointers with context Ayke van Laethem 2018-12-09 18:10:04 +01:00
  • 3fec22e819
    compiler: avoid function pointers in defer calls Ayke van Laethem 2018-12-09 16:14:47 +01:00
  • e42289ce61
    arm: add SVCAll with 0 arguments Ayke van Laethem 2018-12-03 20:13:29 +01:00
  • 9eaa6a7d7f
    nrf: set interrupt priorities Ayke van Laethem 2018-12-03 13:48:10 +01:00
  • fa5b75464d
    runtime/nrf: use RTC1 instead of RTC0 Ayke van Laethem 2018-12-03 13:44:43 +01:00
  • 99daa7b38f
    arm: implement setting interrupt priorities Ayke van Laethem 2018-12-03 13:43:07 +01:00
  • 7857c7235b machine/nrf52840: add support for ADC and PWM interfaces Ron Evans 2018-12-02 19:00:33 +01:00
  • 06ab3a836f
    machine/nrf: SPI master implementation Ron Evans 2018-11-30 21:34:28 +01:00
  • 23b283366d
    compiler: add header comment to defer.go Ayke van Laethem 2018-12-01 22:43:01 +01:00
  • 69fbfbddbb
    compiler: move defer code out of compiler.go Ayke van Laethem 2018-12-01 19:23:56 +01:00
  • b78562f95c
    compiler: add names to some of the IR instructions Ayke van Laethem 2018-12-01 18:36:05 +01:00
  • cf9fc00ae4
    all: add stub pieces for GoLand support Justin Clift 2018-11-29 22:21:27 +11:00
  • 8325f2a53d
    reelboard: support Reel Board (nrf52840 dev board) Ron Evans 2018-11-19 09:00:27 +01:00
  • 8f35a4711a
    pca10056: support this nrf52840-based board Ron Evans 2018-11-27 19:30:28 +01:00
  • 70830cd9da
    tools: correct error generating board files that calculated the address incorrectly after a cluster type Ron Evans 2018-11-28 10:27:09 +01:00
  • e54a1c4dc0
    compiler: disallow exporting functions that have their address taken Ayke van Laethem 2018-12-01 17:31:36 +01:00
  • da0a02d128
    compiler: return error messages with source location Ayke van Laethem 2018-12-01 17:19:40 +01:00
  • 7bdb606d4f
    reflect: update type code type to uintptr Ayke van Laethem 2018-12-01 16:17:35 +01:00
  • 469193735a
    interp: report 'unreachable' instruction as an error Ayke van Laethem 2018-12-01 16:16:11 +01:00
  • cea0a5977a
    docs: enable tinygo/docker to resolve go dependencies Darren Rush 2018-11-21 17:59:56 -08:00
  • b4c90f3677
    compiler: lower interfaces in a separate pass Ayke van Laethem 2018-11-09 17:16:36 +01:00
  • e45c4ac182
    arm: set default GC to marksweep Ayke van Laethem 2018-11-28 17:34:11 +01:00
  • e817bd38ec
    main: configure default GC in target JSON file Ayke van Laethem 2018-11-28 17:33:16 +01:00
  • 05d70d288d
    wasm: fix printing from Go code Ayke van Laethem 2018-11-25 18:07:24 +01:00
  • f0fb1bd41a
    compiler: fix binops on named types in struct fields Ayke van Laethem 2018-11-24 22:13:01 +01:00
  • dbb3211485
    wasm: add glue JS code Ayke van Laethem 2018-10-23 21:34:54 +02:00
  • 242a1843d1
    wasm: fix heap end address Ayke van Laethem 2018-11-24 19:00:42 +01:00
  • e101937589
    wasm: fix .json file after compiler updates Ayke van Laethem 2018-11-24 18:36:19 +01:00
  • 5c08eaf777
    Dockerfile: remove arm-none-eabi-gcc dependency Ayke van Laethem 2018-11-22 14:09:01 +01:00
  • 44068ef396
    travis: remove gcc dependency Ayke van Laethem 2018-11-22 13:41:12 +01:00
  • 62d74d8329
    all: compile and link using clang, where possible Ayke van Laethem 2018-11-22 13:24:13 +01:00
  • 4a8ced590b
    tools/gen-device-svd: generate .s files compatible with lld Ayke van Laethem 2018-11-22 12:35:17 +01:00
  • d887d645f7
    arm: implement SVCall Ayke van Laethem 2018-11-21 17:06:56 +01:00
  • ce0ad1daa2
    pca10031: add support for PCA10031 nrf51 wireless dongle Ron Evans 2018-11-20 13:24:43 +01:00
  • bf4a43ef04
    machine/avr: implement raw GPIO access for bitbanged drivers Ayke van Laethem 2018-11-20 21:04:43 +01:00
  • 9392ef900d
    avr: add support for the digispark Ayke van Laethem 2018-11-20 18:34:14 +01:00
  • a96e2879b2
    avr: make stack size configurable Ayke van Laethem 2018-11-20 18:20:24 +01:00