add board
This commit is contained in:
parent
5ac98a773a
commit
ad1dcda5a9
@ -10,7 +10,7 @@
|
||||
|
||||
[platformio]
|
||||
globallib_dir = lib
|
||||
default_envs = NerminerV2, ESP32-devKitv1
|
||||
default_envs = NerminerV2, ESP32-devKitv1
|
||||
|
||||
[env:NerminerV2]
|
||||
platform = espressif32
|
||||
@ -137,3 +137,27 @@ lib_deps =
|
||||
arduino-libraries/NTPClient
|
||||
https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
|
||||
https://github.com/FastLED/FastLED
|
||||
|
||||
[env:esp32cam]
|
||||
platform = espressif32
|
||||
board = esp32cam
|
||||
framework = arduino
|
||||
monitor_filters =
|
||||
esp32_exception_decoder
|
||||
time
|
||||
log2file
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
monitor_speed = 115200
|
||||
upload_speed = 230400
|
||||
board_build.partitions = huge_app.csv
|
||||
build_flags =
|
||||
-D ESP32_CAM
|
||||
-D MONITOR_SPEED=${this.monitor_speed}
|
||||
;-D DEBUG_MINING=1
|
||||
lib_deps =
|
||||
bblanchon/ArduinoJson@^6.21.2
|
||||
https://github.com/tzapu/WiFiManager.git
|
||||
mathertel/OneButton @ ^2.0.3
|
||||
arduino-libraries/NTPClient
|
||||
;lib_ignore =
|
||||
;TFT_eSPI
|
||||
|
9
src/drivers/devices/esp32CAM.h
Normal file
9
src/drivers/devices/esp32CAM.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef _ESP32CAM_H_
|
||||
#define _ESP32CAM_H_
|
||||
|
||||
#define PIN_BUTTON_1 0
|
||||
#define LED_PIN 2
|
||||
|
||||
#define NO_DISPLAY
|
||||
|
||||
#endif // _ESP32_CAM_H_
|
@ -11,6 +11,8 @@
|
||||
#include "devices/lilygoS3Amoled.h"
|
||||
#elif defined(NERMINER_S3_DONGLE)
|
||||
#include "devices/lilygoS3Dongle.h"
|
||||
#elif defined(ESP32_CAM)
|
||||
#include "devices/esp32CAM.h"
|
||||
#else
|
||||
#error "No device defined"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user