aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWojtek Siudzinski <[email protected]>2020-02-18 16:01:51 +0100
committerDaniel Esteban <[email protected]>2020-02-18 23:34:56 +0100
commit0c0af6d3fef17c4a8ec407d822bf727f58ac8431 (patch)
tree144de66191cb5e8ade765f2c9921afa3aeaa3bd9
parent765440b8ecb7091b8614c5b005017fd90b00550b (diff)
downloadtinygo-0c0af6d3fef17c4a8ec407d822bf727f58ac8431.tar.gz
tinygo-0c0af6d3fef17c4a8ec407d822bf727f58ac8431.zip
Apply review suggestions
-rw-r--r--src/machine/board_particle_argon.go2
-rw-r--r--src/machine/board_particle_boron.go20
-rw-r--r--src/machine/board_particle_xenon.go2
-rw-r--r--targets/particle-argon.json4
-rw-r--r--targets/particle-boron.json4
-rw-r--r--targets/particle-xenon.json4
6 files changed, 15 insertions, 21 deletions
diff --git a/src/machine/board_particle_argon.go b/src/machine/board_particle_argon.go
index dc5df0f76..e0bee8c7b 100644
--- a/src/machine/board_particle_argon.go
+++ b/src/machine/board_particle_argon.go
@@ -84,7 +84,7 @@ const (
ESP32_HOST_WK_PIN Pin = 7
)
-// Other periferals
+// Other peripherals
const (
MODE_BUTTON_PIN Pin = 11
CHARGE_STATUS_PIN Pin = 41
diff --git a/src/machine/board_particle_boron.go b/src/machine/board_particle_boron.go
index 1a2d1331b..970582940 100644
--- a/src/machine/board_particle_boron.go
+++ b/src/machine/board_particle_boron.go
@@ -78,19 +78,19 @@ const (
SPI1_HOLD_PIN Pin = 23
)
-// u-blox coprocessor
+// u-blox SARA coprocessor
const (
- UBLOX_TXD_PIN Pin = 37
- UBLOX_RXD_PIN Pin = 36
- UBLOX_CTS_PIN Pin = 38
- UBLOX_RTS_PIN Pin = 39
- UBLOX_RESET_PIN Pin = 12
- UBLOX_POWER_ON_PIN Pin = 16
- UBLOX_BUFF_EN_PIN Pin = 25
- UBLOX_VINT_PIN Pin = 2
+ SARA_TXD_PIN Pin = 37
+ SARA_RXD_PIN Pin = 36
+ SARA_CTS_PIN Pin = 38
+ SARA_RTS_PIN Pin = 39
+ SARA_RESET_PIN Pin = 12
+ SARA_POWER_ON_PIN Pin = 16
+ SARA_BUFF_EN_PIN Pin = 25
+ SARA_VINT_PIN Pin = 2
)
-// Other periferals
+// Other peripherals
const (
MODE_BUTTON_PIN Pin = 11
ANTENNA_SEL_PIN Pin = 7 // Low: chip antenna, High: External uFL
diff --git a/src/machine/board_particle_xenon.go b/src/machine/board_particle_xenon.go
index fe6fe4986..ffdc66324 100644
--- a/src/machine/board_particle_xenon.go
+++ b/src/machine/board_particle_xenon.go
@@ -73,7 +73,7 @@ const (
SPI1_HOLD_PIN Pin = 23
)
-// Other periferals
+// Other peripherals
const (
MODE_BUTTON_PIN Pin = 11
CHARGE_STATUS_PIN Pin = 41
diff --git a/targets/particle-argon.json b/targets/particle-argon.json
index 4fafeb06c..a23233bb2 100644
--- a/targets/particle-argon.json
+++ b/targets/particle-argon.json
@@ -1,6 +1,4 @@
{
"inherits": ["particle-3rd-gen"],
- "build-tags": ["particle_argon"],
- "flash-method": "openocd",
- "openocd-interface": "cmsis-dap"
+ "build-tags": ["particle_argon"]
}
diff --git a/targets/particle-boron.json b/targets/particle-boron.json
index 3d06d32de..2b737393e 100644
--- a/targets/particle-boron.json
+++ b/targets/particle-boron.json
@@ -1,6 +1,4 @@
{
"inherits": ["particle-3rd-gen"],
- "build-tags": ["particle_boron"],
- "flash-method": "openocd",
- "openocd-interface": "cmsis-dap"
+ "build-tags": ["particle_boron"]
}
diff --git a/targets/particle-xenon.json b/targets/particle-xenon.json
index d787cebba..d93425d77 100644
--- a/targets/particle-xenon.json
+++ b/targets/particle-xenon.json
@@ -1,6 +1,4 @@
{
"inherits": ["particle-3rd-gen"],
- "build-tags": ["particle_xenon"],
- "flash-method": "openocd",
- "openocd-interface": "cmsis-dap"
+ "build-tags": ["particle_xenon"]
}