tinygo/src/machine
Dmitriy b176494e44 add support for GPIO interrupts on esp32c3
Update interrupt_esp32c3.go:
make callHandler inline
save and restore MSTATUS along with MEPC
save and restore actual threshold value and call fence
print additional data during exception
2022-03-08 09:13:15 +01:00
..
adc.go accept configuration struct for ADC parameters (#1533) 2021-01-31 14:54:27 -06:00
board_arduino.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_arduino_mega1280.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_arduino_mega2560.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_arduino_mkr1000.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_arduino_mkrwifi1010.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_arduino_nano.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_arduino_nano33.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_arduino_zero.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_atmega328p.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_atsamd21.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_atsame54-xpro.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_bluepill.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_circuitplay_bluefruit.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_circuitplay_express.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_clue_alpha.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_digispark.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_esp32-coreboard-v2.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_fe310.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_feather-m0.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_feather-m4-can.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_feather-m4.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_feather-nrf52840-sense.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_feather-nrf52840.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_feather-stm32f405.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_feather_rp2040.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_gnse.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_grandcentral-m4.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_hifive1b.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_hifive1b_baremetal.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_itsybitsy-m0.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_itsybitsy-m4.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_itsybitsy-nrf52840.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_k210.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_lgt92.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_lorae5.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_m5stack.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_m5stack_core2.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_m5stamp_c3.go board: add M5Stamp C3 2022-01-10 11:10:06 +01:00
board_macropad-rp2040.go board: Adafruit MacroPad RP2040 2022-02-19 11:52:24 +01:00
board_maixbit.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_maixbit_baremetal.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_matrixportal-m4.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_mdbt50qrx.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_metro-m4-airlift.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_microbit-v2.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_microbit.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_nano-33-ble.go nano-33-ble: typo in LPS22HB peripheral definition and documentation (#2579) 2022-01-29 11:19:15 -05:00
board_nano-rp2040.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_nicenano.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_nodemcu.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_nrf52840-mdk-usb-dongle.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_nrf52840-mdk.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_nucleof103rb.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_nucleof722ze.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_nucleol031k6.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_nucleol432kc.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_nucleol552ze.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_nucleowl55jc.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_p1am-100.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_particle_argon.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_particle_boron.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_particle_xenon.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pca10031.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pca10040.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pca10056.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pca10059.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pico.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pinetime-devkit0.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pybadge.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pygamer.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_pyportal.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_qtpy.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_reelboard.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_stm32f4disco.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_stm32f469disco.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_swan.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
board_teensy36.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_teensy40.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_teensy41.go board: add definition for Teensy 4.1 (#2618) 2022-02-13 08:21:03 +01:00
board_trinket.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_wioterminal.go machine: add DefaultUART to wioterminal 2022-02-11 07:17:43 +01:00
board_x9pro.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
board_xiao.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
buffer.go Working on NXP/Teensy support 2020-07-08 21:58:15 +02:00
i2c.go stm32wlx: I2C implementation for gnse,lora-e5,nucleo-wl55jc boards 2021-12-23 23:45:28 +01:00
i2s.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine.go stm32wl: STM32WL TRNG implementation in crypto/rand 2021-12-11 12:25:08 +01:00
machine_atmega.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atmega328p.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atmega328pb.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atmega1280.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atmega1284p.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atmega2560.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd21.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd21e18.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd21g18.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd51.go machine/samd51: implement TRNG for randomness 2021-12-14 14:55:19 +01:00
machine_atsamd51g19.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd51j19.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd51j20.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd51p19.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsamd51p20.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsame5x_can.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsame51j19.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_atsame54p20.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_attiny85.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_avr.go move AVR interrupt related code to runtime 2022-01-20 15:07:16 +01:00
machine_esp32.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_esp32c3.go add support for GPIO interrupts on esp32c3 2022-03-08 09:13:15 +01:00
machine_esp8266.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_fe310.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_gameboyadvance.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_generic.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_generic_peripherals.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_k210.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_mimxrt1062.go board: add definition for Teensy 4.1 (#2618) 2022-02-13 08:21:03 +01:00
machine_mimxrt1062_uart.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf.go nrf: fix stop condition race in i2c 2022-01-20 07:37:47 +01:00
machine_nrf51.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf52.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf528xx.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf52833.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf52840.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf52840_usb.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf52840_usb_reset_bossa.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf52840_usb_reset_none.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nrf52840_usb_reset_uf2.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nxpmk66f18.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_nxpmk66f18_uart.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040.go machine: add Device constant 2021-11-30 00:47:11 +01:00
machine_rp2040_adc.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040_clocks.go rp2040: fix incorrect inline assembly 2022-02-13 07:34:40 +01:00
machine_rp2040_gpio.go board: Adafruit MacroPad RP2040 2022-02-19 11:52:24 +01:00
machine_rp2040_i2c.go rp2040: i2c minor fixes 2022-02-05 18:18:20 +01:00
machine_rp2040_pll.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040_pwm.go machine/rp2040: whole now correctly set at minimum 1 value for high frequency PWM 2022-02-02 09:52:13 +01:00
machine_rp2040_resets.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040_spi.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040_sync.go machine/rp2040: add interrupt API 2021-11-12 10:38:02 +01:00
machine_rp2040_timer.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040_uart.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040_watchdog.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_rp2040_xosc.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_stm32.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_adc_f1.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_adc_f4.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_exti_afio.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_exti_exti.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_exti_syscfg.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_exti_syscfg_noenable.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_gpio_reva.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_gpio_revb.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_gpio_revb_mp.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_i2c_reva.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_i2c_revb.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_moder_gpio.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_rng.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_spi.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_tim.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32_tim_moder.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
machine_stm32_uart.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32f4.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32f7.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32f7x2.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32f40x.go targets,runtime,machine: add support for the stm32f469-disco board 2021-12-31 10:30:48 +00:00
machine_stm32f103.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32f469.go targets,runtime,machine: add support for the stm32f469-disco board 2021-12-31 10:30:48 +00:00
machine_stm32l0.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32l0x1.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32l0x2.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32l4.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32l4x2.go stm32: add blues wireless swan 2022-01-13 07:56:08 +01:00
machine_stm32l4x5.go stm32: add blues wireless swan 2022-01-13 07:56:08 +01:00
machine_stm32l5.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32l5x2.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
machine_stm32wlx.go Revert "all: move stm32 files to separate repository" 2022-02-28 10:19:26 +01:00
pwm.go machine: refactor PWM support 2021-04-06 20:36:10 +02:00
serial-none.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
serial-uart.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
serial-usb.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
serial.go all: add a flag to the command line to select the serial implementation 2021-06-25 17:58:39 +02:00
spi.go Improvements for stm32wle targets : 2021-11-26 14:15:11 +01:00
uart.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
usb.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00