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
3028ec42
Commit
3028ec42
authored
Sep 18, 2018
by
yelvlab
Committed by
Me No Dev
Sep 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add BananaPi-BIT Development Board Support (#1810)
* Add BPI-BIT boards connfig * Add BPI-BIT v1.3 boards
parent
145904fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
106 additions
and
0 deletions
+106
-0
boards.txt
boards.txt
+43
-0
variants/bpi-bit/pins_arduino.h
variants/bpi-bit/pins_arduino.h
+63
-0
No files found.
boards.txt
View file @
3028ec42
...
...
@@ -2275,6 +2275,49 @@ wipy3.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
bpi-bit.name=BPI-BIT
bpi-bit.upload.tool=esptool
bpi-bit.upload.maximum_size=1310720
bpi-bit.upload.maximum_data_size=294912
bpi-bit.upload.wait_for_upload_port=true
bpi-bit.serial.disableDTR=true
bpi-bit.serial.disableRTS=true
bpi-bit.build.mcu=esp32
bpi-bit.build.core=esp32
bpi-bit.build.variant=bpi-bit
bpi-bit.build.board=BPI-BIT
bpi-bit.build.f_cpu=160000000L
bpi-bit.build.flash_mode=dio
bpi-bit.build.flash_size=4MB
bpi-bit.build.boot=dio
bpi-bit.build.partitions=default
bpi-bit.menu.FlashFreq.80=80MHz
bpi-bit.menu.FlashFreq.80.build.flash_freq=80m
bpi-bit.menu.FlashFreq.40=40MHz
bpi-bit.menu.FlashFreq.40.build.flash_freq=40m
bpi-bit.menu.UploadSpeed.921600=921600
bpi-bit.menu.UploadSpeed.921600.upload.speed=921600
bpi-bit.menu.UploadSpeed.115200=115200
bpi-bit.menu.UploadSpeed.115200.upload.speed=115200
bpi-bit.menu.UploadSpeed.256000.windows=256000
bpi-bit.menu.UploadSpeed.256000.upload.speed=256000
bpi-bit.menu.UploadSpeed.230400.windows.upload.speed=256000
bpi-bit.menu.UploadSpeed.230400=230400
bpi-bit.menu.UploadSpeed.230400.upload.speed=230400
bpi-bit.menu.UploadSpeed.460800.linux=460800
bpi-bit.menu.UploadSpeed.460800.macosx=460800
bpi-bit.menu.UploadSpeed.460800.upload.speed=460800
bpi-bit.menu.UploadSpeed.512000.windows=512000
bpi-bit.menu.UploadSpeed.512000.upload.speed=512000
##############################################################
wesp32.name=Silicognition wESP32
wesp32.upload.tool=esptool
...
...
variants/bpi-bit/pins_arduino.h
0 → 100644
View file @
3028ec42
#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
BUZZER
=
25
;
static
const
uint8_t
BUTTON_A
=
35
;
static
const
uint8_t
BUTTON_B
=
27
;
static
const
uint8_t
RGB_LED
=
4
;
static
const
uint8_t
RGB_LED_POWER
=
2
;
static
const
uint8_t
LIGHT_SENSOR1
=
36
;
static
const
uint8_t
LIGHT_SENSOR2
=
39
;
static
const
uint8_t
TEMPERATURE_SENSOR
=
34
;
static
const
uint8_t
MPU9250_AD0
=
0
;
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
=
23
;
static
const
uint8_t
P0
=
25
;
static
const
uint8_t
P1
=
32
;
static
const
uint8_t
P2
=
33
;
static
const
uint8_t
P3
=
13
;
static
const
uint8_t
P4
=
15
;
static
const
uint8_t
P5
=
35
;
static
const
uint8_t
P6
=
12
;
static
const
uint8_t
P7
=
14
;
static
const
uint8_t
P8
=
16
;
static
const
uint8_t
P9
=
17
;
static
const
uint8_t
P10
=
26
;
static
const
uint8_t
P11
=
27
;
static
const
uint8_t
P12
=
2
;
static
const
uint8_t
P13
=
18
;
static
const
uint8_t
P14
=
19
;
static
const
uint8_t
P15
=
23
;
static
const
uint8_t
P16
=
5
;
static
const
uint8_t
P19
=
22
;
static
const
uint8_t
P20
=
21
;
static
const
uint8_t
DAC1
=
26
;
static
const
uint8_t
DAC2
=
25
;
#endif
/* Pins_Arduino_h */
\ No newline at end of file
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