tinygo/src/examples
Ron Evans 6e1b8a54aa
machine/stm32, nrf: flash API (#3472)
machine/stm32, nrf: implement machine.Flash

Implements the machine.Flash interface using the same definition as the tinyfs BlockDevice.

This implementation covers the stm32f4, stm32l4, stm32wlx, nrf51, nrf52, and nrf528xx processors.
2023-02-27 13:55:38 +01:00
..
adc accept configuration struct for ADC parameters (#1533) 2021-01-31 14:54:27 -06:00
blinkm machine: redesign I2C interface 2018-11-16 23:08:41 +01:00
blinky1 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
blinky2 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
button avr: add support for PinInputPullup 2020-05-22 13:17:04 +02:00
button2 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
can build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
caninterrupt build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
dac build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
echo machine: define Serial as the default output 2021-05-13 16:43:37 +02:00
echo2 os, runtime: enable os.Stdin for baremetal target 2022-06-01 07:56:25 +02:00
flash machine/stm32, nrf: flash API (#3472) 2023-02-27 13:55:38 +01:00
gba-display targets: add support for GameBoy Advance 2019-08-05 09:19:49 +02:00
hid-joystick Add USB HID joystick support (#3366) 2023-01-07 22:30:40 +01:00
hid-keyboard machine/usb: rename 'New()' to 'Port()' to have the API better match the singleton that is actually being returned 2022-10-17 14:46:18 +02:00
hid-mouse machine/usb: rename 'New()' to 'Port()' to have the API better match the singleton that is actually being returned 2022-10-17 14:46:18 +02:00
i2s all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
mcp3008 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
memstats runtime: expose memory stats 2021-06-10 22:03:00 +02:00
microbit-blink machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
pdm Add PDM support for circuitplay-bluefruit (#3359) 2023-01-17 12:32:01 +01:00
pininterrupt build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
pwm build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
rand examples: add example to exercise random number generation 2021-12-14 14:55:19 +01:00
rtcinterrupt rp2040: rtc delayed interrupt 2023-02-23 09:23:37 +01:00
serial examples: re-add hello world serial communication 2018-09-21 14:33:39 +02:00
systick runtime: make channels work in interrupts 2020-07-04 08:34:39 +02:00
temp rp2040: add machine.ReadTemperature 2022-09-21 08:26:56 +02:00
test examples/test: make unicode example more interesting 2018-09-21 14:37:11 +02:00
uart atmega2560: support UART1-3 2022-06-18 09:26:12 +02:00
usb-midi machine/usb: rename 'New()' to 'Port()' to have the API better match the singleton that is actually being returned 2022-10-17 14:46:18 +02:00
wasm examples: adds summary of wasm examples and fixes callback bug 2022-09-07 13:31:21 +02:00