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
8899de76
Unverified
Commit
8899de76
authored
Feb 24, 2022
by
Zeynep Dicle
Committed by
GitHub
Feb 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new board (Deneyap Kart 1A) (#6324)
* Add new board (Deneyap Kart 1A) * Update pins_arduino.h
parent
524279d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
234 additions
and
0 deletions
+234
-0
boards.txt
boards.txt
+132
-0
variants/deneyapkart1A/pins_arduino.h
variants/deneyapkart1A/pins_arduino.h
+102
-0
No files found.
boards.txt
View file @
8899de76
...
...
@@ -10542,6 +10542,11 @@ deneyapkart.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
deneyapkart.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
deneyapkart.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
deneyapkart.menu.PartitionScheme.fatflash.build.partitions=ffat
deneyapkart.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
deneyapkart.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
deneyapkart.menu.PartitionScheme.rainmaker=RainMaker
deneyapkart.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
deneyapkart.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
deneyapkart.menu.CPUFreq.240=240MHz (WiFi/BT)
deneyapkart.menu.CPUFreq.240.build.f_cpu=240000000L
...
...
@@ -11666,3 +11671,130 @@ watchy.menu.DebugLevel.verbose=Verbose
watchy.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
deneyapkart1A.name=Deneyap Kart 1A
deneyapkart1A.upload.tool=esptool_py
deneyapkart1A.upload.maximum_size=1310720
deneyapkart1A.upload.maximum_data_size=327680
deneyapkart1A.upload.wait_for_upload_port=true
deneyapkart1A.upload.flags=
deneyapkart1A.upload.extra_flags=
deneyapkart1A.serial.disableDTR=true
deneyapkart1A.serial.disableRTS=true
deneyapkart1A.build.tarch=xtensa
deneyapkart1A.build.bootloader_addr=0x1000
deneyapkart1A.build.target=esp32
deneyapkart1A.build.mcu=esp32
deneyapkart1A.build.core=esp32
deneyapkart1A.build.variant=deneyapkart1A
deneyapkart1A.build.board=DYDK1A
deneyapkart1A.build.f_cpu=240000000L
deneyapkart1A.build.flash_size=4MB
deneyapkart1A.build.flash_freq=40m
deneyapkart1A.build.flash_mode=dio
deneyapkart1A.build.boot=dio
deneyapkart1A.build.partitions=default
deneyapkart1A.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw
deneyapkart1A.build.extra_libs=
deneyapkart1A.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
deneyapkart1A.menu.PartitionScheme.default.build.partitions=default
deneyapkart1A.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
deneyapkart1A.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
deneyapkart1A.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
deneyapkart1A.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
deneyapkart1A.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
deneyapkart1A.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
deneyapkart1A.menu.PartitionScheme.minimal.build.partitions=minimal
deneyapkart1A.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
deneyapkart1A.menu.PartitionScheme.no_ota.build.partitions=no_ota
deneyapkart1A.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
deneyapkart1A.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
deneyapkart1A.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
deneyapkart1A.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
deneyapkart1A.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
deneyapkart1A.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
deneyapkart1A.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
deneyapkart1A.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
deneyapkart1A.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
deneyapkart1A.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
deneyapkart1A.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
deneyapkart1A.menu.PartitionScheme.huge_app.build.partitions=huge_app
deneyapkart1A.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
deneyapkart1A.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
deneyapkart1A.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
deneyapkart1A.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
deneyapkart1A.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
deneyapkart1A.menu.PartitionScheme.fatflash.build.partitions=ffat
deneyapkart1A.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
deneyapkart1A.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
deneyapkart1A.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
deneyapkart1A.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
deneyapkart1A.menu.PartitionScheme.rainmaker=RainMaker
deneyapkart1A.menu.PartitionScheme.rainmaker.build.partitions=rainmaker
deneyapkart1A.menu.PartitionScheme.rainmaker.upload.maximum_size=3145728
deneyapkart1A.menu.CPUFreq.240=240MHz (WiFi/BT)
deneyapkart1A.menu.CPUFreq.240.build.f_cpu=240000000L
deneyapkart1A.menu.CPUFreq.160=160MHz (WiFi/BT)
deneyapkart1A.menu.CPUFreq.160.build.f_cpu=160000000L
deneyapkart1A.menu.CPUFreq.80=80MHz (WiFi/BT)
deneyapkart1A.menu.CPUFreq.80.build.f_cpu=80000000L
deneyapkart1A.menu.CPUFreq.40=40MHz
deneyapkart1A.menu.CPUFreq.40.build.f_cpu=40000000L
deneyapkart1A.menu.CPUFreq.20=20MHz
deneyapkart1A.menu.CPUFreq.20.build.f_cpu=20000000L
deneyapkart1A.menu.CPUFreq.10=10MHz
deneyapkart1A.menu.CPUFreq.10.build.f_cpu=10000000L
deneyapkart1A.menu.FlashMode.qio=QIO
deneyapkart1A.menu.FlashMode.qio.build.flash_mode=dio
deneyapkart1A.menu.FlashMode.qio.build.boot=qio
deneyapkart1A.menu.FlashMode.dio=DIO
deneyapkart1A.menu.FlashMode.dio.build.flash_mode=dio
deneyapkart1A.menu.FlashMode.dio.build.boot=dio
deneyapkart1A.menu.FlashMode.qout=QOUT
deneyapkart1A.menu.FlashMode.qout.build.flash_mode=dout
deneyapkart1A.menu.FlashMode.qout.build.boot=qout
deneyapkart1A.menu.FlashMode.dout=DOUT
deneyapkart1A.menu.FlashMode.dout.build.flash_mode=dout
deneyapkart1A.menu.FlashMode.dout.build.boot=dout
deneyapkart1A.menu.FlashFreq.80=80MHz
deneyapkart1A.menu.FlashFreq.80.build.flash_freq=80m
deneyapkart1A.menu.FlashFreq.40=40MHz
deneyapkart1A.menu.FlashFreq.40.build.flash_freq=40m
deneyapkart1A.menu.UploadSpeed.921600=921600
deneyapkart1A.menu.UploadSpeed.921600.upload.speed=921600
deneyapkart1A.menu.UploadSpeed.115200=115200
deneyapkart1A.menu.UploadSpeed.115200.upload.speed=115200
deneyapkart1A.menu.UploadSpeed.256000.windows=256000
deneyapkart1A.menu.UploadSpeed.256000.upload.speed=256000
deneyapkart1A.menu.UploadSpeed.230400.windows.upload.speed=256000
deneyapkart1A.menu.UploadSpeed.230400=230400
deneyapkart1A.menu.UploadSpeed.230400.upload.speed=230400
deneyapkart1A.menu.UploadSpeed.460800.linux=460800
deneyapkart1A.menu.UploadSpeed.460800.macosx=460800
deneyapkart1A.menu.UploadSpeed.460800.upload.speed=460800
deneyapkart1A.menu.UploadSpeed.512000.windows=512000
deneyapkart1A.menu.UploadSpeed.512000.upload.speed=512000
deneyapkart1A.menu.DebugLevel.none=None
deneyapkart1A.menu.DebugLevel.none.build.code_debug=0
deneyapkart1A.menu.DebugLevel.error=Error
deneyapkart1A.menu.DebugLevel.error.build.code_debug=1
deneyapkart1A.menu.DebugLevel.warn=Warn
deneyapkart1A.menu.DebugLevel.warn.build.code_debug=2
deneyapkart1A.menu.DebugLevel.info=Info
deneyapkart1A.menu.DebugLevel.info.build.code_debug=3
deneyapkart1A.menu.DebugLevel.debug=Debug
deneyapkart1A.menu.DebugLevel.debug.build.code_debug=4
deneyapkart1A.menu.DebugLevel.verbose=Verbose
deneyapkart1A.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
\ No newline at end of file
variants/deneyapkart1A/pins_arduino.h
0 → 100644
View file @
8899de76
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define EXTERNAL_NUM_INTERRUPTS 16
#define NUM_DIGITAL_PINS 40
#define NUM_ANALOG_INPUTS 16
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34)
static
const
uint8_t
TX
=
1
;
static
const
uint8_t
RX
=
3
;
static
const
uint8_t
SDA
=
4
;
static
const
uint8_t
SCL
=
15
;
static
const
uint8_t
SS
=
21
;
static
const
uint8_t
MOSI
=
5
;
static
const
uint8_t
MISO
=
18
;
static
const
uint8_t
SCK
=
19
;
static
const
uint8_t
D0
=
23
;
static
const
uint8_t
D1
=
22
;
static
const
uint8_t
D2
=
1
;
static
const
uint8_t
D3
=
3
;
static
const
uint8_t
D4
=
21
;
static
const
uint8_t
D5
=
19
;
static
const
uint8_t
D6
=
18
;
static
const
uint8_t
D7
=
5
;
static
const
uint8_t
D8
=
0
;
static
const
uint8_t
D9
=
2
;
static
const
uint8_t
D10
=
4
;
static
const
uint8_t
D11
=
15
;
static
const
uint8_t
D12
=
13
;
static
const
uint8_t
D13
=
12
;
static
const
uint8_t
D14
=
14
;
static
const
uint8_t
D15
=
27
;
static
const
uint8_t
A0
=
36
;
static
const
uint8_t
A1
=
39
;
static
const
uint8_t
A2
=
34
;
static
const
uint8_t
A3
=
35
;
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
=
32
;
static
const
uint8_t
T1
=
33
;
static
const
uint8_t
T2
=
27
;
static
const
uint8_t
T3
=
14
;
static
const
uint8_t
T4
=
12
;
static
const
uint8_t
T5
=
13
;
// 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
;
static
const
uint8_t
CAMSD
=
33
;
static
const
uint8_t
CAMSC
=
25
;
static
const
uint8_t
CAMD2
=
19
;
static
const
uint8_t
CAMD3
=
22
;
static
const
uint8_t
CAMD4
=
23
;
static
const
uint8_t
CAMD5
=
21
;
static
const
uint8_t
CAMD6
=
18
;
static
const
uint8_t
CAMD7
=
26
;
static
const
uint8_t
CAMD8
=
35
;
static
const
uint8_t
CAMD9
=
34
;
static
const
uint8_t
CAMPC
=
5
;
static
const
uint8_t
CAMXC
=
32
;
static
const
uint8_t
CAMH
=
39
;
static
const
uint8_t
CAMV
=
36
;
static
const
uint8_t
RGBLED
=
13
;
static
const
uint8_t
BUILTIN_KEY
=
0
;
static
const
uint8_t
GPKEY
=
0
;
static
const
uint8_t
PWM0
=
23
;
static
const
uint8_t
PWM1
=
22
;
static
const
uint8_t
SDMI
=
2
;
static
const
uint8_t
SDMO
=
14
;
static
const
uint8_t
SDCS
=
12
;
static
const
uint8_t
SDCK
=
27
;
#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