Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-28 | compiler: implement unsafe.Alignof and unsafe.Sizeof for generic codev0.25.0-beta1 | Ayke van Laethem | |
For some reason, these aren't lowered when a generic function is instantiated by the SSA package. I've left unsafe.Offsetof to be implemented later, it's a bit difficult to do correctly the way the code is currently structured. | |||
2022-07-28 | compiler: fix type names for generic named structs | Ayke van Laethem | |
Without this change, the compiler would probably have worked just fine but the generated types would look odd. You can see in the test case that it now doesn't use `main.Point` but rather the correct `main.Poin[float32]` etc. | |||
2022-07-28 | compiler: do not try to build generic functions | Ayke van Laethem | |
There is no reason to: we should only build instantiated generic functions. | |||
2022-07-28 | compiler: add generics test case | Ayke van Laethem | |
This test case shows a few bugs, that I will fix in subsequent patches. | |||
2022-07-28 | compiler: fix issue with methods on generic structs | Phil Kedy | |
2022-07-28 | rp2040: make picoprobe default openocd interface | Kenneth Bell | |
2022-07-27 | machine/rp2040: turn off pullup/down when not input type not specified | deadprogram | |
Signed-off-by: deadprogram <[email protected]> | |||
2022-07-27 | esp32: optimize SPI transmit | Ayke van Laethem | |
For write-only operations (in SPI displays for example), the transmit speed is doubled with this relatively small change. In the future, we should try to use DMA instead for larger buffers. But this is already a significant improvement and will always be an improvement for small buffer sizes. | |||
2022-07-27 | usb/midi: add definition of MIDI note number | sago35 | |
2022-07-27 | build/linux/arm: pin dotenv Ruby gem to version 2.7.6 | deadprogram | |
Signed-off-by: deadprogram <[email protected]> | |||
2022-07-26 | esp32: fix WDT reset on the MCH2022 badge | Ayke van Laethem | |
2022-07-26 | darwin: don't clobber X18 and FP registers | Ayke van Laethem | |
These are reserved registers on MacOS so don't need to be clobbered, and result in a compiler waring: ld.lld-14: warning: inline asm clobber list contains reserved registers: X18, FP Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour. | |||
2022-07-26 | target: add gopherbot and gopherbot2 aliases to simplify for newer users | deadprogram | |
Signed-off-by: deadprogram <[email protected]> | |||
2022-07-26 | rp2040: usb: reset device address on bus reset | Kenneth Bell | |
2022-07-25 | rp2040: add resetBlock for USBCTRL | sago35 | |
2022-07-25 | main: change to ignore PortReset failures | sago35 | |
2022-07-22 | samd51: improve TRNG | sago35 | |
2022-07-21 | machine/usb/midi: add NoteOn, NoteOff, and SendCC methods for more complete API | deadprogram | |
Signed-off-by: deadprogram <[email protected]> | |||
2022-07-21 | xiao-ble: add support for flash-1200-bps-reset | sago35 | |
2022-07-20 | usb: adjust buffer alignment (samd21, samd51, nrf52840) | sago35 | |
2022-07-18 | samd51: add support for DAC1 | sago35 | |
2022-07-16 | boards: Add MCH2022 badge | Ayke van Laethem | |
I haven't fully tested this badge because I don't have the physical hardware but I have followed the pinout from the website. | |||
2022-07-15 | archFamily(): arm64 is aarch64, not arm; fixes #2985 | Dan Kegel | |
2022-07-15 | runtime: rename printuint to printuintptr | Ayke van Laethem | |
This is arguably the correct name, and is consistent with other print functions. | |||
2022-07-15 | machine: reorder pin definitions to improve pin list on tinygo.org | Ayke van Laethem | |
2022-07-15 | esp32c3: provide hardware pin constants | Ayke van Laethem | |
2022-07-15 | esp32: provide hardware pin constants | Ayke van Laethem | |
2022-07-15 | esp8266: provide hardware pin constants like GPIO2 | Ayke van Laethem | |
2022-07-15 | clue: remove pins D21..D28 | Ayke van Laethem | |
These pins do not appear in the pinout: https://learn.adafruit.com/adafruit-clue/pinouts | |||
2022-07-15 | avr: fix some apparent mistake in atmega1280/atmega2560 pin constants | Ayke van Laethem | |
2022-07-15 | nrf51: define and use P0_xx constants | Ayke van Laethem | |
This makes nrf51 consistent with nrf52 and other chips, which do provide constants for hardware pin numbers. I've also added the microbit to the smoketest because it is used on play.tinygo.org. And removed PCA10040 and PCA10056 because they aren't provided on play.tinygo.org anymore. | |||
2022-07-15 | rp2040: reduced allocations | sago35 | |
2022-07-15 | rp2040: add support for EnterBootloader() | sago35 | |
2022-07-15 | rp2040: change volatile access to dpsram | sago35 | |
2022-07-14 | machine/usb/midi: correct reference to handler function | deadprogram | |
Signed-off-by: deadprogram <[email protected]> | |||
2022-07-14 | rp2040: change default for serial to usb | sago35 | |
2022-07-14 | machine/usb: refactorings to move functionality under machine/usb package | deadprogram | |
Signed-off-by: deadprogram <[email protected]> | |||
2022-07-13 | Add support for printing slices via print/println | Federico G. Schwindt | |
With help from @aykevl. | |||
2022-07-13 | usb: rename callback to handler to keep consistent | deadprogram | |
Signed-off-by: deadprogram <[email protected]> | |||
2022-07-12 | usb: add support for midi | sago35 | |
2022-07-12 | build: run tests on drivers and bluetooth repos after successful docker dev ↵ | deadprogram | |
build Signed-off-by: deadprogram <[email protected]> | |||
2022-07-12 | usb: add DTR and RTS to serialer interface | sago35 | |
2022-07-12 | rp2040: add support for usb (#2973) | sago35 | |
* rp2040: add support for usb | |||
2022-07-10 | samd21,samd51,nrf52840: move usbcdc to machine/usb/cdc (#2972) | sago35 | |
* samd21,samd51,nrf52840: move usbcdc to machine/usb/cdc | |||
2022-07-08 | ci: build Linux binary in Alpine container | Ayke van Laethem | |
This makes it easier to move the TinyGo compiler between Linux versions because it doesn't depend on any system libraries anymore. For example, binaries should be able to run on old Linux versions and on distributions without glibc (such as Alpine Linux). | |||
2022-07-08 | boards: add Challenger RP2040 LoRa | Kenneth Bell | |
2022-07-08 | all: git ignore smoketest output | Kenneth Bell | |
2022-07-08 | update list of boards supported to add Badger2040 | Daniel Esteban | |
2022-07-07 | atsamd21,atsamd51,nrf52840: improve usb-device initialization | sago35 | |
2022-07-07 | samd21,samd51,nrf52840: refactor handleStandardSetup and initEndpoint (#2968) | sago35 | |
* samd21,samd51,nrf52840: refactor handleStandardSetup and initEndpoint |