Help me Compile DIY router (I think I got variants folder wrong) #4272
Tinky1233
started this conversation in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Help me compile
I have ESP32-S3-DecKitC N8R2 (from aliexpress)
and Ebyte E22 400M30S module
I would like to use this as mains powered router node with Store& Forward.
Connections
ESP32PIN -- E22 Module
18 -- RXEN
X -- TXEN is connected to DIO2 pin (on E22 module)
8 -- NSS
9 -- SCK
10 -- MOSI
11 -- MISO
12 -- NRST
13 -- BUSY
14 -- DIO1
variants/tinky-s3-1w/platformio.ini
[env:tinky-s3-1w]
extends = esp32s3_base
board = heltec_wifi_lora_32_V3
Temporary until espressif creates a release with this new target
build_flags =
${esp32s3_base.build_flags} -D HELTEC_WSL_V3 -I variants/tinky-s3-1w
-DBOARD_HAS_PSRAM
variant.h
//#define LED_PIN LED
#define HAS_SCREEN 0
//#define VEXT_ENABLE Vext // active low, powers the oled display and the lora antenna boost
#define BUTTON_PIN 0
//#define PIN_GPS_EN 46 // GPS power enable pin
//#define BATTERY_PIN 1 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
//#define ADC_CHANNEL ADC1_GPIO1_CHANNEL
//#define ADC_ATTENUATION ADC_ATTEN_DB_2_5 // lower dB for high resistance voltage divider
//#define ADC_MULTIPLIER 4.9
#define USE_SX1268
#define LORA_DIO0 -1 // a No connect on the SX1262 module
#define LORA_RESET 12
#define LORA_DIO1 14 // SX1262 IRQ
#define LORA_DIO2 13 // SX1262 BUSY
#define LORA_DIO3 // Not connected on PCB, but internally on the TTGO SX1262, if DIO3 is high the TXCO is enabled
#define RF95_SCK 9
#define RF95_MISO 11
#define RF95_MOSI 10
#define RF95_NSS 8
#define SX126X_CS RF95_NSS
#define SX126X_DIO1 LORA_DIO1
#define SX126X_BUSY LORA_DIO2
#define SX126X_RESET LORA_RESET
#define SX126X_E22
When i compile i get into this loop:
[23:49:10.407]INˇűˇôESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x8 (TG1WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403743c0
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
[23:49:10.739]INˇűˇôE (325) esp_core_dump_flash: No core dump partition found!
E (325) esp_core_dump_flash: No core dump partition found!
[23:49:10.958]INˇűˇô[ 547][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
”Ă\0�@�INFO | ??:??:?? 0
//\ E S H T /\ S T / C
INFO | ??:??:?? 0 Booted, wake cause 0 (boot count 1), reset_reason=intWatchdog
[23:49:11.067]INˇűˇôDEBUG | ??:??:?? 0 Filesystem files (479232/1048576 Bytes):
DEBUG | ??:??:?? 0 /prefs/channels.proto (57 Bytes)
DEBUG | ??:??:?? 0 /prefs/db.proto (314 Bytes)
DEBUG | ??:??:?? 0 /static/.gitkeep (0 Bytes)
DEBUG | ??:??:?? 0 /static/Logo_Black.svg.gz (592 Bytes)
DEBUG | ??:??:?? 0 /static/Logo_White.svg.gz (600 Bytes)
DEBUG | ??:??:?? 0 /static/apple-touch-icon.png.gz (3162 Bytes)
DEBUG | ??:??:?? 0 /static/favicon.ico.gz (2221 Bytes)
DEBUG | ??:??:?? 0 /static/icon.svg.gz (842 Bytes)
DEBUG | ??:??:?? 0 /static/index-9602d760.css.gz (17494 Bytes)
DEBUG | ??:??:?? 0 /static/index-a445ed47.js.gz (399957 Bytes)
DEBUG | ??:??:?? 0 /static/index-fc2e9253.js.gz (347 Bytes)
DEBUG | ??:??:?? 0 /static/index.html.gz (547 Bytes)
DEBUG | ??:??:?? 0 /static/robots.txt.gz (42 Bytes)
DEBUG | ??:??:?? 0 /static/site.webmanifest.gz (196 Bytes)
[ 836][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=40 scl=39 freq=100000
INFO | ??:??:?? 0 Scanning for i2c devices...
[ 849][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
DEBUG | ??:??:?? 0 Scanning for i2c devices on port 1
INFO | ??:??:?? 0 No I2C devices found
DEBUG | ??:??:?? 0 acc_info = 0
INFO | ??:??:?? 0 Meshtastic hwvendor=44, swver=2.3.13
DEBUG | ??:??:?? 0 Setting random seed 3162527206
DEBUG | ??:??:?? 0 Total heap: 295416
DEBUG | ??:??:?? 0 Free heap: 260652
DEBUG | ??:??:?? 0 Total PSRAM: 2095087
DEBUG | ??:??:?? 0 Free PSRAM: 2094843
DEBUG | ??:??:?? 0 NVS: UsedEntries 2, FreeEntries 628, AllEntries 630, NameSpaces 1
DEBUG | ??:??:?? 0 Setup Preferences in Flash Storage
DEBUG | ??:??:?? 0 Number of Device Reboots: 33
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x105 (ESP_ERR_NOT_FOUND) at 0x403813ff
file: "src/platform/esp32/BleOta.cpp" line 16
func: static const esp_partition_t* BleOta::findEspOtaAppPartition()
expression: esp_ota_get_partition_description(part, &app_desc)
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x403813ff
file: "src/platform/esp32/BleOta.cpp" line 30
func: static String BleOta::getOtaAppVersion()
expression: esp_ota_get_partition_description(part, &app_desc)
DEBUG | ??:??:?? 0 No OTA firmware available
INFO | ??:??:?? 0 Initializing NodeDB
INFO | ??:??:?? 0 Loading /prefs/db.proto
INFO | ??:??:?? 0 Loaded /prefs/db.proto successfully
INFO | ??:??:?? 0 Loaded saved devicestate version 22, with nodecount: 1
[ 1003][E][vfs_api.cpp:105] open(): /littlefs/prefs/config.proto does not exist, no permits for creation
INFO | ??:??:?? 1 File /prefs/config.proto not found
INFO | ??:??:?? 1 Installing default LocalConfig
INFO | ??:??:?? 1 Setting default channel and radio preferences!
DEBUG | ??:??:?? 1 Expanding short PSK #1
INFO | ??:??:?? 1 Wanted region 0, using UNSET
[ 1035][E][vfs_api.cpp:105] open(): /littlefs/prefs/module.proto does not exist, no permits for creation
INFO | ??:??:?? 1 File /prefs/module.proto not found
INFO | ??:??:?? 1 Installing default ModuleConfig
[23:49:11.502]INˇűˇôINFO | ??:??:?? 1 Loading /prefs/channels.proto
INFO | ??:??:?? 1 Loaded /prefs/channels.proto successfully
INFO | ??:??:?? 1 Loaded saved channelFile version 22
[ 1097][E][vfs_api.cpp:105] open(): /littlefs/oem/oem.proto does not exist, no permits for creation
INFO | ??:??:?? 1 File /oem/oem.proto not found
DEBUG | ??:??:?? 1 cleanupMeshDB purged 0 entries
DEBUG | ??:??:?? 1 Using nodenum 0xb3299d8c
DEBUG | ??:??:?? 1 Number of Device Reboots: 33
DEBUG | ??:??:?? 1 Expanding short PSK #1
INFO | ??:??:?? 1 Wanted region 0, using UNSET
INFO | ??:??:?? 1 Saving /prefs/db.proto
[23:49:11.624]INˇűˇôDEBUG | ??:??:?? 1 Using GPIO00 for button
Beta Was this translation helpful? Give feedback.
All reactions