aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIsaac Rodman <[email protected]>2022-09-06 06:04:29 -0700
committerRon Evans <[email protected]>2022-09-09 11:05:12 +0200
commit7366d5e18538763bd4c76e27b577a0762d7be8c0 (patch)
tree6d0847ec93e69caff687de80a751e5cd98429a6c
parent96e3ecd9498592d06d6b627963ddfb6cc8d2aa23 (diff)
downloadtinygo-7366d5e18538763bd4c76e27b577a0762d7be8c0.tar.gz
tinygo-7366d5e18538763bd4c76e27b577a0762d7be8c0.zip
Set default-stack-size to 4096, and remove NEOPIXELS pluralization for qtpy-rp2040
-rw-r--r--src/machine/board_qtpy_rp2040.go8
-rw-r--r--targets/qtpy-rp2040.json3
2 files changed, 6 insertions, 5 deletions
diff --git a/src/machine/board_qtpy_rp2040.go b/src/machine/board_qtpy_rp2040.go
index c9a4f23a2..01412b44a 100644
--- a/src/machine/board_qtpy_rp2040.go
+++ b/src/machine/board_qtpy_rp2040.go
@@ -36,10 +36,10 @@ const (
)
const (
- NEOPIXELS = GPIO12
- WS2812 = GPIO12
- NEOPIXELS_POWER = GPIO11
- LED = GPIO20
+ NEOPIXEL = GPIO12
+ WS2812 = GPIO12
+ NEOPIXEL_POWER = GPIO11
+ LED = GPIO20
)
// I2C Pins.
diff --git a/targets/qtpy-rp2040.json b/targets/qtpy-rp2040.json
index 9ed6e7628..e1675ee84 100644
--- a/targets/qtpy-rp2040.json
+++ b/targets/qtpy-rp2040.json
@@ -7,5 +7,6 @@
"linkerscript": "targets/qtpy-rp2040.ld",
"extra-files": [
"targets/qtpy-rp2040-boot-stage2.S"
- ]
+ ],
+ "default-stack-size": 4096
}