Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
a9d77ac6
Unverified
Commit
a9d77ac6
authored
May 11, 2022
by
fealy
Committed by
GitHub
May 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new board XIAO_WIFI (#6702)
* Add new board XIAO_WIFI
parent
14156d80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
192 additions
and
0 deletions
+192
-0
boards.txt
boards.txt
+150
-0
variants/SEEED_XIAO_WIFI/pins_arduino.h
variants/SEEED_XIAO_WIFI/pins_arduino.h
+42
-0
No files found.
boards.txt
View file @
a9d77ac6
...
...
@@ -14397,3 +14397,153 @@ AirM2M_CORE_ESP32C3.menu.DebugLevel.verbose=Verbose
AirM2M_CORE_ESP32C3.menu.DebugLevel.verbose.build.code_debug=5
#############################################################
SEEED_XIAO_WIFI.name=SEEED_XIAO_WIFI
SEEED_XIAO_WIFI.vid.0=0x2886
SEEED_XIAO_WIFI.pid.0=0x0047
SEEED_XIAO_WIFI.bootloader.tool=esptool_py
SEEED_XIAO_WIFI.bootloader.tool.default=esptool_py
SEEED_XIAO_WIFI.upload.tool=esptool_py
SEEED_XIAO_WIFI.upload.tool.default=esptool_py
SEEED_XIAO_WIFI.upload.tool.network=esp_ota
SEEED_XIAO_WIFI.upload.maximum_size=1310720
SEEED_XIAO_WIFI.upload.maximum_data_size=327680
SEEED_XIAO_WIFI.upload.flags=
SEEED_XIAO_WIFI.upload.extra_flags=
SEEED_XIAO_WIFI.upload.use_1200bps_touch=false
SEEED_XIAO_WIFI.upload.wait_for_upload_port=false
SEEED_XIAO_WIFI.serial.disableDTR=false
SEEED_XIAO_WIFI.serial.disableRTS=false
SEEED_XIAO_WIFI.build.tarch=riscv32
SEEED_XIAO_WIFI.build.target=esp
SEEED_XIAO_WIFI.build.mcu=esp32c3
SEEED_XIAO_WIFI.build.core=esp32
SEEED_XIAO_WIFI.build.variant=SEEED_XIAO_WIFI
SEEED_XIAO_WIFI.build.board=SEEED_XIAO_WIFI
SEEED_XIAO_WIFI.build.bootloader_addr=0x0
SEEED_XIAO_WIFI.build.cdc_on_boot=1
SEEED_XIAO_WIFI.build.f_cpu=160000000L
SEEED_XIAO_WIFI.build.flash_size=4MB
SEEED_XIAO_WIFI.build.flash_freq=80m
SEEED_XIAO_WIFI.build.flash_mode=qio
SEEED_XIAO_WIFI.build.boot=qio
SEEED_XIAO_WIFI.build.partitions=default
SEEED_XIAO_WIFI.build.defines=
SEEED_XIAO_WIFI.menu.CDCOnBoot.default=Enabled
SEEED_XIAO_WIFI.menu.CDCOnBoot.default.build.cdc_on_boot=1
SEEED_XIAO_WIFI.menu.CDCOnBoot.cdc=Disabled
SEEED_XIAO_WIFI.menu.CDCOnBoot.cdc.build.cdc_on_boot=0
SEEED_XIAO_WIFI.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.default.build.partitions=default
SEEED_XIAO_WIFI.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
SEEED_XIAO_WIFI.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
SEEED_XIAO_WIFI.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
SEEED_XIAO_WIFI.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
SEEED_XIAO_WIFI.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.minimal.build.partitions=minimal
SEEED_XIAO_WIFI.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.no_ota.build.partitions=no_ota
SEEED_XIAO_WIFI.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
SEEED_XIAO_WIFI.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
SEEED_XIAO_WIFI.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.huge_app.build.partitions=huge_app
SEEED_XIAO_WIFI.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
SEEED_XIAO_WIFI.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
SEEED_XIAO_WIFI.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
SEEED_XIAO_WIFI.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
SEEED_XIAO_WIFI.menu.PartitionScheme.fatflash.build.partitions=ffat
SEEED_XIAO_WIFI.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
SEEED_XIAO_WIFI.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
SEEED_XIAO_WIFI.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
SEEED_XIAO_WIFI.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
SEEED_XIAO_WIFI.menu.PartitionScheme.rainmaker=RainMaker
SEEED_XIAO_WIFI.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
SEEED_XIAO_WIFI.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
SEEED_XIAO_WIFI.menu.CPUFreq.160=160MHz (WiFi)
SEEED_XIAO_WIFI.menu.CPUFreq.160.build.f_cpu=160000000L
SEEED_XIAO_WIFI.menu.CPUFreq.80=80MHz (WiFi)
SEEED_XIAO_WIFI.menu.CPUFreq.80.build.f_cpu=80000000L
SEEED_XIAO_WIFI.menu.CPUFreq.40=40MHz
SEEED_XIAO_WIFI.menu.CPUFreq.40.build.f_cpu=40000000L
SEEED_XIAO_WIFI.menu.CPUFreq.20=20MHz
SEEED_XIAO_WIFI.menu.CPUFreq.20.build.f_cpu=20000000L
SEEED_XIAO_WIFI.menu.CPUFreq.10=10MHz
SEEED_XIAO_WIFI.menu.CPUFreq.10.build.f_cpu=10000000L
SEEED_XIAO_WIFI.menu.FlashMode.qio=QIO
SEEED_XIAO_WIFI.menu.FlashMode.qio.build.flash_mode=dio
SEEED_XIAO_WIFI.menu.FlashMode.qio.build.boot=qio
SEEED_XIAO_WIFI.menu.FlashMode.dio=DIO
SEEED_XIAO_WIFI.menu.FlashMode.dio.build.flash_mode=dio
SEEED_XIAO_WIFI.menu.FlashMode.dio.build.boot=dio
SEEED_XIAO_WIFI.menu.FlashMode.qout=QOUT
SEEED_XIAO_WIFI.menu.FlashMode.qout.build.flash_mode=dout
SEEED_XIAO_WIFI.menu.FlashMode.qout.build.boot=qout
SEEED_XIAO_WIFI.menu.FlashMode.dout=DOUT
SEEED_XIAO_WIFI.menu.FlashMode.dout.build.flash_mode=dout
SEEED_XIAO_WIFI.menu.FlashFreq.80=80MHz
SEEED_XIAO_WIFI.menu.FlashFreq.80.build.flash_freq=80m
SEEED_XIAO_WIFI.menu.FlashFreq.40=40MHz
SEEED_XIAO_WIFI.menu.FlashFreq.40.build.flash_freq=40m
SEEED_XIAO_WIFI.menu.FlashSize.4M=4MB (32Mb)
SEEED_XIAO_WIFI.menu.FlashSize.4M.build.flash_size=4MB
SEEED_XIAO_WIFI.menu.FlashSize.8M=8MB (64Mb)
SEEED_XIAO_WIFI.menu.FlashSize.8M.build.flash_size=8MB
SEEED_XIAO_WIFI.menu.FlashSize.8M.build.partitions=default_8MB
SEEED_XIAO_WIFI.menu.FlashSize.2M=2MB (16Mb)
SEEED_XIAO_WIFI.menu.FlashSize.2M.build.flash_size=2MB
SEEED_XIAO_WIFI.menu.FlashSize.2M.build.partitions=minimal
SEEED_XIAO_WIFI.menu.FlashSize.16M=16MB (128Mb)
SEEED_XIAO_WIFI.menu.FlashSize.16M.build.flash_size=16MB
SEEED_XIAO_WIFI.menu.UploadSpeed.921600=921600
SEEED_XIAO_WIFI.menu.UploadSpeed.921600.upload.speed=921600
SEEED_XIAO_WIFI.menu.UploadSpeed.115200=115200
SEEED_XIAO_WIFI.menu.UploadSpeed.115200.upload.speed=115200
SEEED_XIAO_WIFI.menu.UploadSpeed.256000.windows=256000
SEEED_XIAO_WIFI.menu.UploadSpeed.256000.upload.speed=256000
SEEED_XIAO_WIFI.menu.UploadSpeed.230400.windows.upload.speed=256000
SEEED_XIAO_WIFI.menu.UploadSpeed.230400=230400
SEEED_XIAO_WIFI.menu.UploadSpeed.230400.upload.speed=230400
SEEED_XIAO_WIFI.menu.UploadSpeed.460800.linux=460800
SEEED_XIAO_WIFI.menu.UploadSpeed.460800.macosx=460800
SEEED_XIAO_WIFI.menu.UploadSpeed.460800.upload.speed=460800
SEEED_XIAO_WIFI.menu.UploadSpeed.512000.windows=512000
SEEED_XIAO_WIFI.menu.UploadSpeed.512000.upload.speed=512000
SEEED_XIAO_WIFI.menu.DebugLevel.none=None
SEEED_XIAO_WIFI.menu.DebugLevel.none.build.code_debug=0
SEEED_XIAO_WIFI.menu.DebugLevel.error=Error
SEEED_XIAO_WIFI.menu.DebugLevel.error.build.code_debug=1
SEEED_XIAO_WIFI.menu.DebugLevel.warn=Warn
SEEED_XIAO_WIFI.menu.DebugLevel.warn.build.code_debug=2
SEEED_XIAO_WIFI.menu.DebugLevel.info=Info
SEEED_XIAO_WIFI.menu.DebugLevel.info.build.code_debug=3
SEEED_XIAO_WIFI.menu.DebugLevel.debug=Debug
SEEED_XIAO_WIFI.menu.DebugLevel.debug.build.code_debug=4
SEEED_XIAO_WIFI.menu.DebugLevel.verbose=Verbose
SEEED_XIAO_WIFI.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
\ No newline at end of file
variants/SEEED_XIAO_WIFI/pins_arduino.h
0 → 100644
View file @
a9d77ac6
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define EXTERNAL_NUM_INTERRUPTS 22
#define NUM_DIGITAL_PINS 22
#define NUM_ANALOG_INPUTS 6
#define analogInputToDigitalPin(p) (((p)<NUM_ANALOG_INPUTS)?(analogChannelToDigitalPin(p)):-1)
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
static
const
uint8_t
TX
=
21
;
static
const
uint8_t
RX
=
20
;
static
const
uint8_t
SDA
=
6
;
static
const
uint8_t
SCL
=
7
;
static
const
uint8_t
SS
=
20
;
static
const
uint8_t
MOSI
=
10
;
static
const
uint8_t
MISO
=
9
;
static
const
uint8_t
SCK
=
8
;
static
const
uint8_t
A0
=
2
;
static
const
uint8_t
A1
=
3
;
static
const
uint8_t
A2
=
4
;
static
const
uint8_t
A3
=
5
;
static
const
uint8_t
D0
=
2
;
static
const
uint8_t
D1
=
3
;
static
const
uint8_t
D2
=
4
;
static
const
uint8_t
D3
=
5
;
static
const
uint8_t
D4
=
6
;
static
const
uint8_t
D5
=
7
;
static
const
uint8_t
D6
=
21
;
static
const
uint8_t
D7
=
20
;
static
const
uint8_t
D8
=
8
;
static
const
uint8_t
D9
=
9
;
static
const
uint8_t
D10
=
10
;
#endif
/* Pins_Arduino_h */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment