tinygo/src/machine
Ayke van Laethem e17a2e6776 machine/atsamd51: use only the necessary UART interrupts
A small footnote in the datasheet says that interrupt source numbers
correspond to the bit position in INTFLAG. We only need the RXC
interrupt for UART. In other words, ony the _2 interrupts (RXC is in the
2nd bit position) needs to be used for UART to work correctly.

In the future, more interrupts may be needed. They can then be added as
necessary.
2020-01-20 21:33:53 +01:00
..
board_arduino.go machine: rename CPU_FREQUENCY -> CPUFrequency() 2019-12-16 20:34:39 +01:00
board_arduino_nano33.go Nano33 IoT: default SPI should be D13/D11/D12 instead of A2/A3/A6 (#781) 2019-12-15 15:21:33 +01:00
board_arduino_nano33_baremetal.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
board_atsamd21.go machine: rename CPU_FREQUENCY -> CPUFrequency() 2019-12-16 20:34:39 +01:00
board_bluepill.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
board_circuitplay_bluefruit.go targets: add target circuitplay-bluefruit 2020-01-06 09:23:39 +01:00
board_circuitplay_express.go targets: simulate Circuit Playground Express in play.tinygo.org 2019-12-08 13:11:39 +01:00
board_circuitplay_express_baremetal.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
board_digispark.go machine/digispark: add clock speed and pin mappings 2020-01-11 12:58:37 +01:00
board_fe310.go machine/hifive1b: fix compiling in simulation (wasm) 2019-10-31 12:03:35 +01:00
board_feather-m0.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
board_feather-m4.go machine/atsamd51: refactor SPI pin configuration to only look at pin numbers 2020-01-11 20:57:10 +01:00
board_hifive1b.go machine/hifive1b: add support for SPI1 2019-10-29 13:25:13 +01:00
board_hifive1b_baremetal.go machine/hifive1b: fix compiling in simulation (wasm) 2019-10-31 12:03:35 +01:00
board_itsybitsy-m0.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
board_itsybitsy-m4.go machine/atsamd51: refactor SPI pin configuration to only look at pin numbers 2020-01-11 20:57:10 +01:00
board_metro-m4-airlift.go machine/atsamd51: refactor SPI pin configuration to only look at pin numbers 2020-01-11 20:57:10 +01:00
board_microbit.go machine: add generic board support on non-baremetal hardware 2019-06-28 10:00:14 +02:00
board_nrf52840-mdk.go machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
board_nucleof103rb.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
board_pca10031.go machine: add generic board support on non-baremetal hardware 2019-06-28 10:00:14 +02:00
board_pca10040.go machine: add generic board support on non-baremetal hardware 2019-06-28 10:00:14 +02:00
board_pca10056.go machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
board_pinetime-devkit0.go nrf: add support for the PineTime64 devkit 2019-10-28 07:17:39 +01:00
board_pybadge.go machine/atsamd51: refactor SPI pin configuration to only look at pin numbers 2020-01-11 20:57:10 +01:00
board_pyportal.go machine/pyportal: remove manual SPI pin mapping as now handled by default 2020-01-11 21:31:33 +01:00
board_reelboard.go adds PowerSupplyActive to enable supply voltages to nRF52840 and (#430) 2019-06-30 12:23:44 +02:00
board_stm32.go machine/stm32f103xx/nucleo-f103rb: add support for NUCLEO-F103RB STM32F1-based board 2019-09-17 13:26:26 +02:00
board_stm32f4disco.go machine: add generic board support on non-baremetal hardware 2019-06-28 10:00:14 +02:00
board_trinket.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
board_x9pro.go machine: add support for the X9 Pro smartwatch 2019-11-03 17:28:32 +01:00
buffer.go machine: update ringbuffer to use runtime/volatile.Register8 2019-06-06 19:46:49 +02:00
i2c.go all: use baremetal build tag 2019-08-04 17:12:07 +02:00
i2s.go machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
machine.go machine/samd21: use pins specified in I2CConfig 2019-10-07 17:25:49 +02:00
machine_atmega.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
machine_atsamd21.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
machine_atsamd21e18.go machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
machine_atsamd21g18.go machine/samd21: correct handling of pins > 32 based on bugfix for samd51 submitted by @Infinoid 2019-10-27 23:32:56 +01:00
machine_atsamd51.go machine/atsamd51: use only the necessary UART interrupts 2020-01-20 21:33:53 +01:00
machine_atsamd51g19.go Adafruit PyPortal Support (#800) 2020-01-06 11:53:43 +01:00
machine_atsamd51j19.go Adafruit PyPortal Support (#800) 2020-01-06 11:53:43 +01:00
machine_atsamd51j20.go Adafruit PyPortal Support (#800) 2020-01-06 11:53:43 +01:00
machine_attiny.go all: move Register{8,16,32} values into runtime/volatile 2019-06-06 19:46:49 +02:00
machine_avr.go all: move Register{8,16,32} values into runtime/volatile 2019-06-06 19:46:49 +02:00
machine_fe310.go machine: rename CPU_FREQUENCY -> CPUFrequency() 2019-12-16 20:34:39 +01:00
machine_gameboyadvance.go targets: add support for GameBoy Advance 2019-08-05 09:19:49 +02:00
machine_generic.go all: use baremetal build tag 2019-08-04 17:12:07 +02:00
machine_nrf.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
machine_nrf51.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
machine_nrf52.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
machine_nrf52840.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
machine_stm32.go machine: add generic board support on non-baremetal hardware 2019-06-28 10:00:14 +02:00
machine_stm32f103xx.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
machine_stm32f407.go all: add compiler support for interrupts 2020-01-20 21:19:12 +01:00
spi.go machine: add Tx method to simulated SPI bus 2019-12-08 19:08:37 +01:00
uart.go all: add HiFive1 rev B board with RISC-V architecture 2019-07-07 14:03:24 +02:00
usb.go machine: avoid bytes package in USB logic 2020-01-18 14:23:49 +01:00