Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
黑眼圈子
arduino-esp32
提交
f4d910ed
A
arduino-esp32
项目概览
黑眼圈子
/
arduino-esp32
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
arduino-esp32
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
f4d910ed
编写于
8月 08, 2022
作者:
D
Dryw Wade
提交者:
GitHub
8月 08, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add SparkFun IoT RedBoard (#7085)
上级
054e6b3d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
230 addition
and
0 deletion
+230
-0
boards.txt
boards.txt
+165
-0
variants/sparkfun_esp32_iot_redboard/pins_arduino.h
variants/sparkfun_esp32_iot_redboard/pins_arduino.h
+65
-0
未找到文件。
boards.txt
浏览文件 @
f4d910ed
...
...
@@ -4337,6 +4337,171 @@ sparkfun_lora_gateway_1-channel.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
sparkfun_esp32_iot_redboard.name=SparkFun ESP32 IoT RedBoard
sparkfun_esp32_iot_redboard.bootloader.tool=esptool_py
sparkfun_esp32_iot_redboard.bootloader.tool.default=esptool_py
sparkfun_esp32_iot_redboard.upload.tool=esptool_py
sparkfun_esp32_iot_redboard.upload.tool.default=esptool_py
sparkfun_esp32_iot_redboard.upload.tool.network=esp_ota
sparkfun_esp32_iot_redboard.upload.maximum_size=1310720
sparkfun_esp32_iot_redboard.upload.maximum_data_size=327680
sparkfun_esp32_iot_redboard.upload.flags=
sparkfun_esp32_iot_redboard.upload.extra_flags=
sparkfun_esp32_iot_redboard.serial.disableDTR=true
sparkfun_esp32_iot_redboard.serial.disableRTS=true
sparkfun_esp32_iot_redboard.build.tarch=xtensa
sparkfun_esp32_iot_redboard.build.bootloader_addr=0x1000
sparkfun_esp32_iot_redboard.build.target=esp32
sparkfun_esp32_iot_redboard.build.mcu=esp32
sparkfun_esp32_iot_redboard.build.core=esp32
sparkfun_esp32_iot_redboard.build.variant=sparkfun_esp32_iot_redboard
sparkfun_esp32_iot_redboard.build.board=ESP32_IOT_REDBOARD
sparkfun_esp32_iot_redboard.build.f_cpu=240000000L
sparkfun_esp32_iot_redboard.build.flash_size=4MB
sparkfun_esp32_iot_redboard.build.flash_freq=40m
sparkfun_esp32_iot_redboard.build.flash_mode=dio
sparkfun_esp32_iot_redboard.build.boot=dio
sparkfun_esp32_iot_redboard.build.partitions=default
sparkfun_esp32_iot_redboard.build.defines=
sparkfun_esp32_iot_redboard.build.loop_core=
sparkfun_esp32_iot_redboard.build.event_core=
sparkfun_esp32_iot_redboard.menu.PSRAM.disabled=Disabled
sparkfun_esp32_iot_redboard.menu.PSRAM.disabled.build.defines=
sparkfun_esp32_iot_redboard.menu.PSRAM.disabled.build.extra_libs=
sparkfun_esp32_iot_redboard.menu.PSRAM.enabled=Enabled
sparkfun_esp32_iot_redboard.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw
sparkfun_esp32_iot_redboard.menu.PSRAM.enabled.build.extra_libs=
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default.build.partitions=default
sparkfun_esp32_iot_redboard.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
sparkfun_esp32_iot_redboard.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
sparkfun_esp32_iot_redboard.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.minimal.build.partitions=minimal
sparkfun_esp32_iot_redboard.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.no_ota.build.partitions=no_ota
sparkfun_esp32_iot_redboard.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
sparkfun_esp32_iot_redboard.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
sparkfun_esp32_iot_redboard.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.huge_app.build.partitions=huge_app
sparkfun_esp32_iot_redboard.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
sparkfun_esp32_iot_redboard.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
sparkfun_esp32_iot_redboard.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
sparkfun_esp32_iot_redboard.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.fatflash.build.partitions=ffat
sparkfun_esp32_iot_redboard.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
sparkfun_esp32_iot_redboard.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
sparkfun_esp32_iot_redboard.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
sparkfun_esp32_iot_redboard.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
sparkfun_esp32_iot_redboard.menu.PartitionScheme.rainmaker=RainMaker
sparkfun_esp32_iot_redboard.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
sparkfun_esp32_iot_redboard.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
sparkfun_esp32_iot_redboard.menu.CPUFreq.240=240MHz (WiFi/BT)
sparkfun_esp32_iot_redboard.menu.CPUFreq.240.build.f_cpu=240000000L
sparkfun_esp32_iot_redboard.menu.CPUFreq.160=160MHz (WiFi/BT)
sparkfun_esp32_iot_redboard.menu.CPUFreq.160.build.f_cpu=160000000L
sparkfun_esp32_iot_redboard.menu.CPUFreq.80=80MHz (WiFi/BT)
sparkfun_esp32_iot_redboard.menu.CPUFreq.80.build.f_cpu=80000000L
sparkfun_esp32_iot_redboard.menu.CPUFreq.40=40MHz (40MHz XTAL)
sparkfun_esp32_iot_redboard.menu.CPUFreq.40.build.f_cpu=40000000L
sparkfun_esp32_iot_redboard.menu.CPUFreq.26=26MHz (26MHz XTAL)
sparkfun_esp32_iot_redboard.menu.CPUFreq.26.build.f_cpu=26000000L
sparkfun_esp32_iot_redboard.menu.CPUFreq.20=20MHz (40MHz XTAL)
sparkfun_esp32_iot_redboard.menu.CPUFreq.20.build.f_cpu=20000000L
sparkfun_esp32_iot_redboard.menu.CPUFreq.13=13MHz (26MHz XTAL)
sparkfun_esp32_iot_redboard.menu.CPUFreq.13.build.f_cpu=13000000L
sparkfun_esp32_iot_redboard.menu.CPUFreq.10=10MHz (40MHz XTAL)
sparkfun_esp32_iot_redboard.menu.CPUFreq.10.build.f_cpu=10000000L
sparkfun_esp32_iot_redboard.menu.FlashMode.qio=QIO
sparkfun_esp32_iot_redboard.menu.FlashMode.qio.build.flash_mode=dio
sparkfun_esp32_iot_redboard.menu.FlashMode.qio.build.boot=qio
sparkfun_esp32_iot_redboard.menu.FlashMode.dio=DIO
sparkfun_esp32_iot_redboard.menu.FlashMode.dio.build.flash_mode=dio
sparkfun_esp32_iot_redboard.menu.FlashMode.dio.build.boot=dio
sparkfun_esp32_iot_redboard.menu.FlashMode.qout=QOUT
sparkfun_esp32_iot_redboard.menu.FlashMode.qout.build.flash_mode=dout
sparkfun_esp32_iot_redboard.menu.FlashMode.qout.build.boot=qout
sparkfun_esp32_iot_redboard.menu.FlashMode.dout=DOUT
sparkfun_esp32_iot_redboard.menu.FlashMode.dout.build.flash_mode=dout
sparkfun_esp32_iot_redboard.menu.FlashMode.dout.build.boot=dout
sparkfun_esp32_iot_redboard.menu.FlashFreq.80=80MHz
sparkfun_esp32_iot_redboard.menu.FlashFreq.80.build.flash_freq=80m
sparkfun_esp32_iot_redboard.menu.FlashFreq.40=40MHz
sparkfun_esp32_iot_redboard.menu.FlashFreq.40.build.flash_freq=40m
sparkfun_esp32_iot_redboard.menu.FlashSize.4M=4MB (32Mb)
sparkfun_esp32_iot_redboard.menu.FlashSize.4M.build.flash_size=4MB
sparkfun_esp32_iot_redboard.menu.FlashSize.8M=8MB (64Mb)
sparkfun_esp32_iot_redboard.menu.FlashSize.8M.build.flash_size=8MB
sparkfun_esp32_iot_redboard.menu.FlashSize.8M.build.partitions=default_8MB
sparkfun_esp32_iot_redboard.menu.FlashSize.2M=2MB (16Mb)
sparkfun_esp32_iot_redboard.menu.FlashSize.2M.build.flash_size=2MB
sparkfun_esp32_iot_redboard.menu.FlashSize.2M.build.partitions=minimal
sparkfun_esp32_iot_redboard.menu.FlashSize.16M=16MB (128Mb)
sparkfun_esp32_iot_redboard.menu.FlashSize.16M.build.flash_size=16MB
sparkfun_esp32_iot_redboard.menu.UploadSpeed.921600=921600
sparkfun_esp32_iot_redboard.menu.UploadSpeed.921600.upload.speed=921600
sparkfun_esp32_iot_redboard.menu.UploadSpeed.115200=115200
sparkfun_esp32_iot_redboard.menu.UploadSpeed.115200.upload.speed=115200
sparkfun_esp32_iot_redboard.menu.UploadSpeed.256000.windows=256000
sparkfun_esp32_iot_redboard.menu.UploadSpeed.256000.upload.speed=256000
sparkfun_esp32_iot_redboard.menu.UploadSpeed.230400.windows.upload.speed=256000
sparkfun_esp32_iot_redboard.menu.UploadSpeed.230400=230400
sparkfun_esp32_iot_redboard.menu.UploadSpeed.230400.upload.speed=230400
sparkfun_esp32_iot_redboard.menu.UploadSpeed.460800.linux=460800
sparkfun_esp32_iot_redboard.menu.UploadSpeed.460800.macosx=460800
sparkfun_esp32_iot_redboard.menu.UploadSpeed.460800.upload.speed=460800
sparkfun_esp32_iot_redboard.menu.UploadSpeed.512000.windows=512000
sparkfun_esp32_iot_redboard.menu.UploadSpeed.512000.upload.speed=512000
sparkfun_esp32_iot_redboard.menu.LoopCore.1=Core 1
sparkfun_esp32_iot_redboard.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
sparkfun_esp32_iot_redboard.menu.LoopCore.0=Core 0
sparkfun_esp32_iot_redboard.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
sparkfun_esp32_iot_redboard.menu.EventsCore.1=Core 1
sparkfun_esp32_iot_redboard.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
sparkfun_esp32_iot_redboard.menu.EventsCore.0=Core 0
sparkfun_esp32_iot_redboard.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
sparkfun_esp32_iot_redboard.menu.DebugLevel.none=None
sparkfun_esp32_iot_redboard.menu.DebugLevel.none.build.code_debug=0
sparkfun_esp32_iot_redboard.menu.DebugLevel.error=Error
sparkfun_esp32_iot_redboard.menu.DebugLevel.error.build.code_debug=1
sparkfun_esp32_iot_redboard.menu.DebugLevel.warn=Warn
sparkfun_esp32_iot_redboard.menu.DebugLevel.warn.build.code_debug=2
sparkfun_esp32_iot_redboard.menu.DebugLevel.info=Info
sparkfun_esp32_iot_redboard.menu.DebugLevel.info.build.code_debug=3
sparkfun_esp32_iot_redboard.menu.DebugLevel.debug=Debug
sparkfun_esp32_iot_redboard.menu.DebugLevel.debug.build.code_debug=4
sparkfun_esp32_iot_redboard.menu.DebugLevel.verbose=Verbose
sparkfun_esp32_iot_redboard.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
nina_w10.name=u-blox NINA-W10 series (ESP32)
nina_w10.bootloader.tool=esptool_py
...
...
variants/sparkfun_esp32_iot_redboard/pins_arduino.h
0 → 100644
浏览文件 @
f4d910ed
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#include "soc/soc_caps.h"
#define EXTERNAL_NUM_INTERRUPTS 16
#define NUM_DIGITAL_PINS 40
#define NUM_ANALOG_INPUTS 16
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34)
static
const
uint8_t
LED_BUILTIN
=
18
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
static
const
uint8_t
RGB_BUILTIN
=
SOC_GPIO_PIN_COUNT
+
2
;
#define RGB_BUILTIN RGB_BUILTIN
#define RGB_BRIGHTNESS 64
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
static
const
uint8_t
SDA
=
21
;
static
const
uint8_t
SCL
=
22
;
static
const
uint8_t
SS
=
5
;
static
const
uint8_t
MOSI
=
23
;
static
const
uint8_t
MISO
=
19
;
static
const
uint8_t
SCK
=
18
;
static
const
uint8_t
A0
=
36
;
static
const
uint8_t
A3
=
39
;
static
const
uint8_t
A4
=
32
;
static
const
uint8_t
A5
=
33
;
static
const
uint8_t
A6
=
34
;
static
const
uint8_t
A7
=
35
;
static
const
uint8_t
A10
=
4
;
static
const
uint8_t
A11
=
0
;
static
const
uint8_t
A12
=
2
;
static
const
uint8_t
A13
=
15
;
static
const
uint8_t
A14
=
13
;
static
const
uint8_t
A15
=
12
;
static
const
uint8_t
A16
=
14
;
static
const
uint8_t
A17
=
27
;
static
const
uint8_t
A18
=
25
;
static
const
uint8_t
A19
=
26
;
static
const
uint8_t
T0
=
4
;
static
const
uint8_t
T1
=
0
;
static
const
uint8_t
T2
=
2
;
static
const
uint8_t
T3
=
15
;
static
const
uint8_t
T4
=
13
;
static
const
uint8_t
T5
=
12
;
static
const
uint8_t
T6
=
14
;
static
const
uint8_t
T7
=
27
;
static
const
uint8_t
T8
=
33
;
static
const
uint8_t
T9
=
32
;
static
const
uint8_t
DAC1
=
25
;
static
const
uint8_t
DAC2
=
26
;
#endif
/* Pins_Arduino_h */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录