mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-27 12:12:07 +00:00
Move device code from main.cpp to earlyInitVariant (#9438)
This commit is contained in:
@@ -6,6 +6,10 @@ board_check = true
|
||||
board_build.partitions = default_16MB.csv
|
||||
upload_protocol = esptool
|
||||
|
||||
build_src_filter =
|
||||
${esp32s3_base.build_src_filter}
|
||||
+<../variants/esp32s3/hackaday-communicator>
|
||||
|
||||
build_flags = ${esp32s3_base.build_flags}
|
||||
-D HACKADAY_COMMUNICATOR
|
||||
-D BOARD_HAS_PSRAM
|
||||
@@ -13,4 +17,4 @@ build_flags = ${esp32s3_base.build_flags}
|
||||
|
||||
lib_deps = ${esp32s3_base.lib_deps}
|
||||
# renovate: datasource=git-refs depName=meshtastic-Arduino_GFX packageName=https://github.com/meshtastic/Arduino_GFX gitBranch=master
|
||||
https://github.com/meshtastic/Arduino_GFX/archive/054e81ffaf23784830a734e3c184346789349406.zip
|
||||
https://github.com/meshtastic/Arduino_GFX/archive/054e81ffaf23784830a734e3c184346789349406.zip
|
||||
6
variants/esp32s3/hackaday-communicator/variant.cpp
Normal file
6
variants/esp32s3/hackaday-communicator/variant.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "variant.h"
|
||||
#include "Arduino.h"
|
||||
void earlyInitVariant()
|
||||
{
|
||||
pinMode(KB_INT, INPUT);
|
||||
}
|
||||
Reference in New Issue
Block a user