deadprogram
3b16972ed8
all: use build directives for both Go1.17 and earlier versions
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-09-16 18:31:33 +02:00
deadprogram
b35496dd1b
make: correct fmt-check to look in all subdirectories
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-09-16 18:31:33 +02:00
Yurii Soldak
ad6be40966
lsm6dox: minimal correct implementation
2021-09-14 12:10:59 +02:00
Ayke van Laethem
b3af3f594e
ws2812: generate assembly instead of handwriting it
...
Previously, a new implementation had to be written for each processor
speed. This is tedious and error-prone, therefore I've rewritten all of
the assembly code using a tool that will calculate exactly how many NOP
instructions are required.
I've also switched from build tags to a switch statement over all
processor speeds.
All in all, this means that:
- Chips with a supported CPU performance will automatically be
supported (no build tags necessary).
- Adding a new chip is as easy as adding the MHz count to the
generator script and to the switch statement.
Right now this is only for the Cortex-M, but it's certainly feasible to
extend this to other architectures such as the AVR.
2021-09-07 18:00:55 +02:00
sago35
9a3bfd4826
wifinina: add comments
2021-09-06 11:06:59 +02:00
sago35
1ba9ba3143
wifinina: add examples/wifinina/http-get
2021-09-06 11:06:59 +02:00
Yurii Soldak
feb1c63656
Instructions on how to flash nina-fw on nano rp2040 connect w/o Arduino IDE
2021-09-05 11:57:07 +02:00
Yurii Soldak
0691ed5205
wifinina: nina-fw update docs
2021-09-05 11:57:07 +02:00
deadprogram
e70beede1c
ws2812: update examples to use go:build tags required by go 1.17
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-09-03 11:11:40 +02:00
sago35
92673d996d
dht: improve build tag in lowfreq.go
2021-09-02 11:28:22 +02:00
sago35
374e2dfe1d
ili9341: change to use drivers.SPI interface
2021-09-01 19:41:27 +02:00
sago35
b35aab6d61
Add support for case-insensitive header names
2021-08-24 10:45:28 +02:00
sago35
358501fc47
Add support for req.URL.RawQuery
2021-08-24 10:45:28 +02:00
sago35
a0119ffc6f
rtl8720dn: add examples/rtl8720dn/tcpclient
2021-08-09 21:11:47 +02:00
sago35
58106b5942
Add examples/rtl8720dn/udpstation
2021-08-05 22:18:24 +02:00
sago35
2537c69b0f
rtl8720dn: add support for http.Get(), http.Post() and cookie
2021-08-05 08:10:52 +02:00
sago35
633f19c4ac
rtl8720dn: add examples/rtl8720dn/mqtt*
2021-07-31 11:02:45 +02:00
sago35
6a4cd9d8e7
rtl8720dn: add examples/rtl8720dn/webserver
2021-07-24 09:44:17 +02:00
sago35
8a4a0ff017
rtl8720dn: add info when debug mode is enabled
2021-07-24 09:28:46 +02:00
deadprogram
1cbf1a6f3d
release: v0.17.1
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
v0.17.1
2021-07-01 20:38:55 +02:00
deadprogram
001bdb43ba
release: v0.17.0
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-07-01 20:20:03 +02:00
deadprogram
f7ae6fac6d
modules: switch to use tinygo-org version of tinyfs package
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-07-01 20:00:52 +02:00
sago35
a575b2a4ed
Update comments
2021-06-27 16:33:32 +02:00
sago35
0bc3702dd0
rtl8720dn: add support for rtl8720dn
2021-06-27 16:33:32 +02:00
sago35
b53a8a17e7
ili9341: add standard SPI driver
2021-06-27 08:08:27 +02:00
sago35
5e117c162c
ws2812: rename the pin to ws2812
2021-06-26 14:04:13 +02:00
sago35
24dfd8795a
sdcard: add write functionality to examples/sdcard/tinyfs
2021-06-23 18:34:26 +02:00
sago35
a748451cab
Merge pull request #275 from tinygo-org/ws2812-add-nrf52833
...
ws2812: add tag for nrf52833
2021-06-23 20:33:53 +09:00
deadprogram
a811483fd4
ws2812: add tag for nrf52833
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-06-20 11:11:08 +02:00
Daniel Bridges
7b565e8cb0
Disable interrupts before sending ws2812 data
2021-06-17 09:24:49 +02:00
sago35
5645eb3f91
ws2812: add support for qtpy and atsame5x
2021-06-01 21:09:08 +02:00
sago35
6b914f7af7
sdcard: add support for fatfs
2021-05-31 17:26:21 +02:00
Ayke van Laethem
5a02fe068b
apa102: use 4-byte buffer to improve speed
...
Instead of sending the APA102 data byte by byte, it's more efficient to
send multiple bytes at once (especially when the SPI peripheral uses
DMA). This requires the apa102.Device object to be a pointer receiver to
avoid excessive heap allocations.
This commit also just happens to work around a hardware bug on the
nrf52832:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Ferrata_nRF52832_Rev2%2FERR%2FnRF52832%2FRev2%2Flatest%2Fanomaly_832_58.html&anchor=anomaly_832_58
2021-05-30 22:39:50 +02:00
Ayke van Laethem
5ecefde991
bmi160: avoid heap allocations
...
The nrf52 series chips use DMA for writing and reading SPI data, which
means that the transmit and receive buffer slices escape. This can
easily be solved by pre-allocating the buffer in the BMI160 driver and
reusing this buffer every time.
2021-05-30 22:11:27 +02:00
Yurii Soldak
9adbde99a2
wifinina: avoid fmt package
2021-05-28 18:09:29 +02:00
Yurii Soldak
a09ec31e7a
Fix RSSI command for WiFiNINA
...
+ Print current SSID
+ Wait for correct time before printing it out
+ Cleanup
2021-05-27 08:00:13 +02:00
sago35
d07ad40373
sdcard: add support for spi sdcard driver
2021-05-23 11:22:42 +02:00
sago35
aa17ffd1cb
uart: use machine.Serial as the default output
2021-05-14 13:26:59 +02:00
deadprogram
ce03bebc34
release: prepare for release v0.16.0
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
v0.17.0
v0.16.0
2021-05-12 15:51:16 +02:00
deadprogram
dfd652ca1f
docs: up to 65 devices
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-12 15:30:41 +02:00
Ayke van Laethem
c765ef3970
servo: add driver using PWM
...
This PR adds support for controlling servos. For example, on the Arduino
Uno it should be able to control up to 6 servos jitter-free when using
all available PWM pins.
I haven't added support for setting a position in degrees, mainly
because this varies by servo and it's probably necessary to configure
the bounds in some way. Therefore, I added just SetMicroseconds. This
makes the API possible to use and leaves the possibility of adding a
SetPosition in the future.
2021-05-12 15:29:18 +02:00
akif999
428db3cd12
mcp2515: add support for mcp2515 CAN device
2021-05-12 13:37:02 +02:00
deadprogram
d7f619ca21
docs: update count of supported devices to 63
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-12 09:24:16 +02:00
Kenneth Bell
d1ace44754
aht20: add device
2021-05-12 09:21:52 +02:00
Kenneth Bell
6b58fdc95a
tester: add a mock for command-oriented i2c devices
2021-05-12 09:21:52 +02:00
Yurii Soldak
bd2530abee
Example of ssd1306 with 128x64 display over I2C
2021-05-12 09:14:51 +02:00
Yurii Soldak
3bcde1485c
Enable reset screen for SSD1306 via I2C
2021-05-12 09:14:51 +02:00
deadprogram
351700e48d
wifinina: add information about Adafruit boards with ESP32 wifi coprocessors, and modify examples to remove code that was both not being used, and also prevented many Adafruit boards from being able to be targeted by the examples
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-12 09:13:09 +02:00
deadprogram
cbcb62af01
wifinina: update docs to simplify the nina-fw update process
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-12 09:13:09 +02:00
Yurii Soldak
19bb773e5b
fix println + cleanup
2021-05-12 09:11:18 +02:00