Skip to content

Commit f4d910e

Browse files
authored
Add SparkFun IoT RedBoard (#7085)
1 parent 054e6b3 commit f4d910e

File tree

2 files changed

+230
-0
lines changed

2 files changed

+230
-0
lines changed

Diff for: boards.txt

+165
Original file line numberDiff line numberDiff line change
@@ -4337,6 +4337,171 @@ sparkfun_lora_gateway_1-channel.menu.DebugLevel.verbose.build.code_debug=5
43374337

43384338
##############################################################
43394339

4340+
sparkfun_esp32_iot_redboard.name=SparkFun ESP32 IoT RedBoard
4341+
4342+
sparkfun_esp32_iot_redboard.bootloader.tool=esptool_py
4343+
sparkfun_esp32_iot_redboard.bootloader.tool.default=esptool_py
4344+
4345+
sparkfun_esp32_iot_redboard.upload.tool=esptool_py
4346+
sparkfun_esp32_iot_redboard.upload.tool.default=esptool_py
4347+
sparkfun_esp32_iot_redboard.upload.tool.network=esp_ota
4348+
4349+
sparkfun_esp32_iot_redboard.upload.maximum_size=1310720
4350+
sparkfun_esp32_iot_redboard.upload.maximum_data_size=327680
4351+
sparkfun_esp32_iot_redboard.upload.flags=
4352+
sparkfun_esp32_iot_redboard.upload.extra_flags=
4353+
4354+
sparkfun_esp32_iot_redboard.serial.disableDTR=true
4355+
sparkfun_esp32_iot_redboard.serial.disableRTS=true
4356+
4357+
sparkfun_esp32_iot_redboard.build.tarch=xtensa
4358+
sparkfun_esp32_iot_redboard.build.bootloader_addr=0x1000
4359+
sparkfun_esp32_iot_redboard.build.target=esp32
4360+
sparkfun_esp32_iot_redboard.build.mcu=esp32
4361+
sparkfun_esp32_iot_redboard.build.core=esp32
4362+
sparkfun_esp32_iot_redboard.build.variant=sparkfun_esp32_iot_redboard
4363+
sparkfun_esp32_iot_redboard.build.board=ESP32_IOT_REDBOARD
4364+
4365+
sparkfun_esp32_iot_redboard.build.f_cpu=240000000L
4366+
sparkfun_esp32_iot_redboard.build.flash_size=4MB
4367+
sparkfun_esp32_iot_redboard.build.flash_freq=40m
4368+
sparkfun_esp32_iot_redboard.build.flash_mode=dio
4369+
sparkfun_esp32_iot_redboard.build.boot=dio
4370+
sparkfun_esp32_iot_redboard.build.partitions=default
4371+
sparkfun_esp32_iot_redboard.build.defines=
4372+
sparkfun_esp32_iot_redboard.build.loop_core=
4373+
sparkfun_esp32_iot_redboard.build.event_core=
4374+
4375+
sparkfun_esp32_iot_redboard.menu.PSRAM.disabled=Disabled
4376+
sparkfun_esp32_iot_redboard.menu.PSRAM.disabled.build.defines=
4377+
sparkfun_esp32_iot_redboard.menu.PSRAM.disabled.build.extra_libs=
4378+
sparkfun_esp32_iot_redboard.menu.PSRAM.enabled=Enabled
4379+
sparkfun_esp32_iot_redboard.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw
4380+
sparkfun_esp32_iot_redboard.menu.PSRAM.enabled.build.extra_libs=
4381+
4382+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
4383+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default.build.partitions=default
4384+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
4385+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
4386+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
4387+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
4388+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
4389+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
4390+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.minimal.build.partitions=minimal
4391+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
4392+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.no_ota.build.partitions=no_ota
4393+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
4394+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
4395+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
4396+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
4397+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
4398+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
4399+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
4400+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
4401+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
4402+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
4403+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
4404+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.huge_app.build.partitions=huge_app
4405+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
4406+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
4407+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
4408+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
4409+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
4410+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.fatflash.build.partitions=ffat
4411+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
4412+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
4413+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
4414+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
4415+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.rainmaker=RainMaker
4416+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
4417+
sparkfun_esp32_iot_redboard.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
4418+
4419+
sparkfun_esp32_iot_redboard.menu.CPUFreq.240=240MHz (WiFi/BT)
4420+
sparkfun_esp32_iot_redboard.menu.CPUFreq.240.build.f_cpu=240000000L
4421+
sparkfun_esp32_iot_redboard.menu.CPUFreq.160=160MHz (WiFi/BT)
4422+
sparkfun_esp32_iot_redboard.menu.CPUFreq.160.build.f_cpu=160000000L
4423+
sparkfun_esp32_iot_redboard.menu.CPUFreq.80=80MHz (WiFi/BT)
4424+
sparkfun_esp32_iot_redboard.menu.CPUFreq.80.build.f_cpu=80000000L
4425+
sparkfun_esp32_iot_redboard.menu.CPUFreq.40=40MHz (40MHz XTAL)
4426+
sparkfun_esp32_iot_redboard.menu.CPUFreq.40.build.f_cpu=40000000L
4427+
sparkfun_esp32_iot_redboard.menu.CPUFreq.26=26MHz (26MHz XTAL)
4428+
sparkfun_esp32_iot_redboard.menu.CPUFreq.26.build.f_cpu=26000000L
4429+
sparkfun_esp32_iot_redboard.menu.CPUFreq.20=20MHz (40MHz XTAL)
4430+
sparkfun_esp32_iot_redboard.menu.CPUFreq.20.build.f_cpu=20000000L
4431+
sparkfun_esp32_iot_redboard.menu.CPUFreq.13=13MHz (26MHz XTAL)
4432+
sparkfun_esp32_iot_redboard.menu.CPUFreq.13.build.f_cpu=13000000L
4433+
sparkfun_esp32_iot_redboard.menu.CPUFreq.10=10MHz (40MHz XTAL)
4434+
sparkfun_esp32_iot_redboard.menu.CPUFreq.10.build.f_cpu=10000000L
4435+
4436+
sparkfun_esp32_iot_redboard.menu.FlashMode.qio=QIO
4437+
sparkfun_esp32_iot_redboard.menu.FlashMode.qio.build.flash_mode=dio
4438+
sparkfun_esp32_iot_redboard.menu.FlashMode.qio.build.boot=qio
4439+
sparkfun_esp32_iot_redboard.menu.FlashMode.dio=DIO
4440+
sparkfun_esp32_iot_redboard.menu.FlashMode.dio.build.flash_mode=dio
4441+
sparkfun_esp32_iot_redboard.menu.FlashMode.dio.build.boot=dio
4442+
sparkfun_esp32_iot_redboard.menu.FlashMode.qout=QOUT
4443+
sparkfun_esp32_iot_redboard.menu.FlashMode.qout.build.flash_mode=dout
4444+
sparkfun_esp32_iot_redboard.menu.FlashMode.qout.build.boot=qout
4445+
sparkfun_esp32_iot_redboard.menu.FlashMode.dout=DOUT
4446+
sparkfun_esp32_iot_redboard.menu.FlashMode.dout.build.flash_mode=dout
4447+
sparkfun_esp32_iot_redboard.menu.FlashMode.dout.build.boot=dout
4448+
4449+
sparkfun_esp32_iot_redboard.menu.FlashFreq.80=80MHz
4450+
sparkfun_esp32_iot_redboard.menu.FlashFreq.80.build.flash_freq=80m
4451+
sparkfun_esp32_iot_redboard.menu.FlashFreq.40=40MHz
4452+
sparkfun_esp32_iot_redboard.menu.FlashFreq.40.build.flash_freq=40m
4453+
4454+
sparkfun_esp32_iot_redboard.menu.FlashSize.4M=4MB (32Mb)
4455+
sparkfun_esp32_iot_redboard.menu.FlashSize.4M.build.flash_size=4MB
4456+
sparkfun_esp32_iot_redboard.menu.FlashSize.8M=8MB (64Mb)
4457+
sparkfun_esp32_iot_redboard.menu.FlashSize.8M.build.flash_size=8MB
4458+
sparkfun_esp32_iot_redboard.menu.FlashSize.8M.build.partitions=default_8MB
4459+
sparkfun_esp32_iot_redboard.menu.FlashSize.2M=2MB (16Mb)
4460+
sparkfun_esp32_iot_redboard.menu.FlashSize.2M.build.flash_size=2MB
4461+
sparkfun_esp32_iot_redboard.menu.FlashSize.2M.build.partitions=minimal
4462+
sparkfun_esp32_iot_redboard.menu.FlashSize.16M=16MB (128Mb)
4463+
sparkfun_esp32_iot_redboard.menu.FlashSize.16M.build.flash_size=16MB
4464+
4465+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.921600=921600
4466+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.921600.upload.speed=921600
4467+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.115200=115200
4468+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.115200.upload.speed=115200
4469+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.256000.windows=256000
4470+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.256000.upload.speed=256000
4471+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.230400.windows.upload.speed=256000
4472+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.230400=230400
4473+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.230400.upload.speed=230400
4474+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.460800.linux=460800
4475+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.460800.macosx=460800
4476+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.460800.upload.speed=460800
4477+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.512000.windows=512000
4478+
sparkfun_esp32_iot_redboard.menu.UploadSpeed.512000.upload.speed=512000
4479+
4480+
sparkfun_esp32_iot_redboard.menu.LoopCore.1=Core 1
4481+
sparkfun_esp32_iot_redboard.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
4482+
sparkfun_esp32_iot_redboard.menu.LoopCore.0=Core 0
4483+
sparkfun_esp32_iot_redboard.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
4484+
4485+
sparkfun_esp32_iot_redboard.menu.EventsCore.1=Core 1
4486+
sparkfun_esp32_iot_redboard.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
4487+
sparkfun_esp32_iot_redboard.menu.EventsCore.0=Core 0
4488+
sparkfun_esp32_iot_redboard.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
4489+
4490+
sparkfun_esp32_iot_redboard.menu.DebugLevel.none=None
4491+
sparkfun_esp32_iot_redboard.menu.DebugLevel.none.build.code_debug=0
4492+
sparkfun_esp32_iot_redboard.menu.DebugLevel.error=Error
4493+
sparkfun_esp32_iot_redboard.menu.DebugLevel.error.build.code_debug=1
4494+
sparkfun_esp32_iot_redboard.menu.DebugLevel.warn=Warn
4495+
sparkfun_esp32_iot_redboard.menu.DebugLevel.warn.build.code_debug=2
4496+
sparkfun_esp32_iot_redboard.menu.DebugLevel.info=Info
4497+
sparkfun_esp32_iot_redboard.menu.DebugLevel.info.build.code_debug=3
4498+
sparkfun_esp32_iot_redboard.menu.DebugLevel.debug=Debug
4499+
sparkfun_esp32_iot_redboard.menu.DebugLevel.debug.build.code_debug=4
4500+
sparkfun_esp32_iot_redboard.menu.DebugLevel.verbose=Verbose
4501+
sparkfun_esp32_iot_redboard.menu.DebugLevel.verbose.build.code_debug=5
4502+
4503+
##############################################################
4504+
43404505
nina_w10.name=u-blox NINA-W10 series (ESP32)
43414506

43424507
nina_w10.bootloader.tool=esptool_py

Diff for: variants/sparkfun_esp32_iot_redboard/pins_arduino.h

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
#include "soc/soc_caps.h"
6+
7+
#define EXTERNAL_NUM_INTERRUPTS 16
8+
#define NUM_DIGITAL_PINS 40
9+
#define NUM_ANALOG_INPUTS 16
10+
11+
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
12+
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
13+
#define digitalPinHasPWM(p) (p < 34)
14+
15+
static const uint8_t LED_BUILTIN = 18;
16+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
17+
#define LED_BUILTIN LED_BUILTIN
18+
19+
static const uint8_t RGB_BUILTIN = SOC_GPIO_PIN_COUNT+2;
20+
#define RGB_BUILTIN RGB_BUILTIN
21+
#define RGB_BRIGHTNESS 64
22+
23+
static const uint8_t TX = 1;
24+
static const uint8_t RX = 3;
25+
26+
static const uint8_t SDA = 21;
27+
static const uint8_t SCL = 22;
28+
29+
static const uint8_t SS = 5;
30+
static const uint8_t MOSI = 23;
31+
static const uint8_t MISO = 19;
32+
static const uint8_t SCK = 18;
33+
34+
static const uint8_t A0 = 36;
35+
static const uint8_t A3 = 39;
36+
static const uint8_t A4 = 32;
37+
static const uint8_t A5 = 33;
38+
static const uint8_t A6 = 34;
39+
static const uint8_t A7 = 35;
40+
static const uint8_t A10 = 4;
41+
static const uint8_t A11 = 0;
42+
static const uint8_t A12 = 2;
43+
static const uint8_t A13 = 15;
44+
static const uint8_t A14 = 13;
45+
static const uint8_t A15 = 12;
46+
static const uint8_t A16 = 14;
47+
static const uint8_t A17 = 27;
48+
static const uint8_t A18 = 25;
49+
static const uint8_t A19 = 26;
50+
51+
static const uint8_t T0 = 4;
52+
static const uint8_t T1 = 0;
53+
static const uint8_t T2 = 2;
54+
static const uint8_t T3 = 15;
55+
static const uint8_t T4 = 13;
56+
static const uint8_t T5 = 12;
57+
static const uint8_t T6 = 14;
58+
static const uint8_t T7 = 27;
59+
static const uint8_t T8 = 33;
60+
static const uint8_t T9 = 32;
61+
62+
static const uint8_t DAC1 = 25;
63+
static const uint8_t DAC2 = 26;
64+
65+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)