File tree 4 files changed +6
-19
lines changed
4 files changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ nano_33_iot.build.usb_product="Arduino NANO 33 IoT"
211
211
nano_33_iot.build.usb_manufacturer="Arduino LLC"
212
212
nano_33_iot.build.board=SAMD_NANO_33_IOT
213
213
nano_33_iot.build.core=arduino
214
- nano_33_iot.build.extra_flags=-DCRYSTALLESS -D__SAMD21G18A__ {build.usb_flags} {build.tx_rx_swap}
214
+ nano_33_iot.build.extra_flags=-DCRYSTALLESS -D__SAMD21G18A__ {build.usb_flags}
215
215
nano_33_iot.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
216
216
nano_33_iot.build.openocdscript=openocd_scripts/arduino_zero.cfg
217
217
nano_33_iot.build.variant=nano_33_iot
@@ -220,12 +220,6 @@ nano_33_iot.build.pid=0x8057
220
220
nano_33_iot.bootloader.tool=openocd
221
221
nano_33_iot.bootloader.file=nano_33_iot/samd21_sam_ba_arduino_nano_33_iot.bin
222
222
223
- menu.r0_tx_rx_bug=TX RX swapped
224
- nano_33_iot.menu.r0_tx_rx_bug.no=No
225
- nano_33_iot.menu.r0_tx_rx_bug.no.build.tx_rx_swap=
226
- nano_33_iot.menu.r0_tx_rx_bug.yes=Yes
227
- nano_33_iot.menu.r0_tx_rx_bug.yes.build.tx_rx_swap=-DTX_RX_NINA_SWAPPED_R0
228
-
229
223
# Arduino MKR FOX 1200
230
224
# --------------------
231
225
mkrfox1200.name=Arduino MKR FOX 1200
Original file line number Diff line number Diff line change @@ -143,8 +143,10 @@ void UHD_Init(void)
143
143
uhd_state = UHD_STATE_NO_VBUS ;
144
144
145
145
// Put VBUS on USB port
146
+ #ifdef PIN_USB_HOST_ENABLE
146
147
pinMode ( PIN_USB_HOST_ENABLE , OUTPUT );
147
148
digitalWrite ( PIN_USB_HOST_ENABLE , HIGH );
149
+ #endif
148
150
149
151
uhd_enable_connection_int ();
150
152
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ const PinDescription g_APinDescription[]=
162
162
| 24 | | PA14 | NINA_CS | 14 | | | | | 2/02 | 4/02 | TC3/0 | TCC0/4 | | GCLK_IO0 |
163
163
| 25 | | PA15 | NINA_SCK | 15 | | | | | *2/03 | 4/03 | TC3/1 | TCC0/5 | | GCLK_IO1 |
164
164
| 26 | | PA27 | NINA_GPIO0 | *15 | | | | | | | | | | GCLK_IO0 |
165
- | 27 | | PB08 | NINA_RESETN | 08 | 02 | | Y14 | | | 4/00 | TC4/0 | | | |
165
+ | 27 | | PA08 | NINA_RESETN | 08 | 02 | | Y14 | | | 4/00 | TC4/0 | | | |
166
166
| 28 | | PA28 | NINA_ACK | 01 | | | | | | 1/01 | TCC2/1 | | | |
167
167
+------------+------------------+--------+-----------------+--------+-----+-----+-----+-----+---------+---------+--------+--------+----------+----------+
168
168
*/
Original file line number Diff line number Diff line change @@ -158,9 +158,8 @@ static const uint8_t SCL = PIN_WIRE_SCL;
158
158
159
159
// USB
160
160
// ---
161
- #define PIN_USB_HOST_ENABLE (0xFF)
162
- #define PIN_USB_DM (29ul)
163
- #define PIN_USB_DP (30ul)
161
+ #define PIN_USB_DM (31ul)
162
+ #define PIN_USB_DP (32ul)
164
163
165
164
// I2S Interfaces
166
165
// --------------
@@ -189,18 +188,10 @@ extern Uart Serial1;
189
188
190
189
// Serial1
191
190
extern Uart Serial2 ;
192
- #ifdef TX_RX_NINA_SWAPPED_R0
193
- // bug in R0, use MixedSerial(Serial2, 30) as SerialNina - 115200bps max
194
- #define PIN_SERIAL2_RX (29ul)
195
- #define PIN_SERIAL2_TX (30ul)
196
- #define PAD_SERIAL2_TX (UART_TX_PAD_2)
197
- #define PAD_SERIAL2_RX (SERCOM_RX_PAD_0)
198
- #else
199
191
#define PIN_SERIAL2_RX (30ul)
200
192
#define PIN_SERIAL2_TX (29ul)
201
193
#define PAD_SERIAL2_TX (UART_TX_PAD_0)
202
194
#define PAD_SERIAL2_RX (SERCOM_RX_PAD_1)
203
- #endif
204
195
205
196
extern Uart SerialHCI ;
206
197
#define PIN_SERIALHCI_RX (23ul)
You can’t perform that action at this time.
0 commit comments