Skip to content

Commit 8d938c8

Browse files
jackroboticsme-no-dev
authored andcommitted
Add HONEYLemon board (espressif#3640)
* add board HONEYLemon
1 parent cb005fc commit 8d938c8

File tree

2 files changed

+105
-0
lines changed

2 files changed

+105
-0
lines changed

boards.txt

+44
Original file line numberDiff line numberDiff line change
@@ -4324,6 +4324,50 @@ vintlabs-devkit-v1.menu.DebugLevel.debug.build.code_debug=4
43244324

43254325
##############################################################
43264326

4327+
honeylemon.name=HONEYLemon
4328+
4329+
honeylemon.upload.tool=esptool_py
4330+
honeylemon.upload.maximum_size=1310720
4331+
honeylemon.upload.maximum_data_size=327680
4332+
honeylemon.upload.wait_for_upload_port=true
4333+
4334+
honeylemon.serial.disableDTR=true
4335+
honeylemon.serial.disableRTS=true
4336+
4337+
honeylemon.build.mcu=esp32
4338+
honeylemon.build.core=esp32
4339+
honeylemon.build.variant=honeylemon
4340+
honeylemon.build.board=HONEYLEMON
4341+
4342+
honeylemon.build.f_cpu=240000000L
4343+
honeylemon.build.flash_mode=dio
4344+
honeylemon.build.flash_size=4MB
4345+
honeylemon.build.boot=dio
4346+
honeylemon.build.partitions=default
4347+
honeylemon.build.defines=
4348+
4349+
honeylemon.menu.FlashFreq.80=80MHz
4350+
honeylemon.menu.FlashFreq.80.build.flash_freq=80m
4351+
honeylemon.menu.FlashFreq.40=40MHz
4352+
honeylemon.menu.FlashFreq.40.build.flash_freq=40m
4353+
4354+
honeylemon.menu.UploadSpeed.921600=921600
4355+
honeylemon.menu.UploadSpeed.921600.upload.speed=921600
4356+
honeylemon.menu.UploadSpeed.115200=115200
4357+
honeylemon.menu.UploadSpeed.115200.upload.speed=115200
4358+
honeylemon.menu.UploadSpeed.256000.windows=256000
4359+
honeylemon.menu.UploadSpeed.256000.upload.speed=256000
4360+
honeylemon.menu.UploadSpeed.230400.windows.upload.speed=256000
4361+
honeylemon.menu.UploadSpeed.230400=230400
4362+
honeylemon.menu.UploadSpeed.230400.upload.speed=230400
4363+
honeylemon.menu.UploadSpeed.460800.linux=460800
4364+
honeylemon.menu.UploadSpeed.460800.macosx=460800
4365+
honeylemon.menu.UploadSpeed.460800.upload.speed=460800
4366+
honeylemon.menu.UploadSpeed.512000.windows=512000
4367+
honeylemon.menu.UploadSpeed.512000.upload.speed=512000
4368+
4369+
##############################################################
4370+
43274371
mgbot-iotik32a.name=MGBOT IOTIK 32A
43284372

43294373
mgbot-iotik32a.upload.tool=esptool_py

variants/honeylemon/pins_arduino.h

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

0 commit comments

Comments
 (0)