0.25.0
This release improves USB support with new support for the RP2040 and MIDI, improves support for generics, fixes some bugs on darwin/arm64, and adds 3 new boards: the Challenger RP2040 LoRa, the MCH2022 badge, and the XIAO RP2040
- command line
- change to ignore PortReset failures
- compiler
compiler: darwin/arm64 is aarch64, not armcompiler: don't clobber X18 and FP registers on darwin/arm64compiler: fix issue with methods on generic structscompiler: do not try to build generic functionscompiler: fix type names for generic named structscompiler: fix multiple defined function issue for generic functionscompiler: implementunsafe.Alignofandunsafe.Sizeoffor generic code
- standard library
machine: add DTR and RTS to Serialer interfacemachine: reorder pin definitions to improve pin list on tinygo.orgmachine/usb: add support for MIDImachine/usb: adjust buffer alignment (samd21, samd51, nrf52840)machine/usb/midi: addNoteOn,NoteOff, andSendCCmethodsmachine/usb/midi: add definition of MIDI note numberruntime: add benchmarks for memhashruntime: add support for printing slices via print/println
- targets
avr: fix some apparent mistake in atmega1280/atmega2560 pin constantsesp32: provide hardware pin constantsesp32: fix WDT reset on the MCH2022 badgeesp32: optimize SPI transmitesp32c3: provide hardware pin constantsesp8266: provide hardware pin constants likeGPIO2nrf51: define and useP0_xxconstantsnrf52840,samd21,samd51: unify bootloader entry processnrf52840,samd21,samd51: change usbSetup and sendZlp to publicnrf52840,samd21,samd51: refactor handleStandardSetup and initEndpointnrf52840,samd21,samd51: improve usb-device initializationnrf52840,samd21,samd51: move usbcdc to machine/usb/cdcrp2040: add usb serial vendor/product IDrp2040: add support for usbrp2040: change default for serial to usbrp2040: add support formachine.EnterBootloaderrp2040: turn off pullup/down when input type is not specifiedrp2040: make picoprobe default openocd interfacesamd51: add support forDAC1samd51: improve TRNGwasm: stubruntime.buffered,runtime.getcharwasi: make leveldb runtime hash the default
- boards
- add Challenger RP2040 LoRa
- add MCH2022 badge
- add XIAO RP2040
clue: remove pinsD21..D28feather-rp2040,macropad-rp2040: fix qspi-flash settingsxiao-ble: add support for flash-1200-bps-resetgopherbot,gopherbot2: add these aliases to simplify for newer users