Open
Description
I tried to do test build on my Arch-linux
# Install packages, clone repo
$ git clone git@github.com:espressif/esp32-arduino-lib-builder.git -b release/v4.4
$ cd esp32-arduino-lib-builder
$ ./build.sh -A idf-release/v4.4 -I release/v4.4 -t esp32
Files from esp32-arduino-lib-builder/out
I moved into arduino-esp32 folder with replace.
As result with git diff can see there is difference between sdkconfig
files.
Also I'm facing weird problem with platformio build:
*** [.pio/build/esp32dev/bootloader.bin] Source `/home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader__80m.elf' not found, needed by target `.pio/build/esp32dev/bootloader.bin'.
Can this happens because I have board_build.flash_mode = qio
in my platfomio.ini
?
platform.ini
file:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32dev]
platform = espressif32
framework = arduino
platform_packages =
framework-arduinoespressif32 @ https://github.com/vinegod/arduino-esp32-custom-bootloader.git#custom_boot
board_build.arduino.upstream_packages = no
board = esp32dev
monitor_speed = 115200
upload_speed = 921600
build_flags = -Os -std=gnu++17 -Wall -Wextra -fno-exceptions
build_unflags = -Og -std=gnu++11 -fno-rtti
build_type = release
board_build.flash_mode = qio
board_build.f_flash = 80000000L
board_build.f_cpu = 240000000L
board_upload.flash_size = 16MB
board_build.partitions = app3M_fat9M_16MB.csv
board_build.mcu = esp32
custom_prog_version = 3.3.4
lib_deps =
fastled/FastLED@^3.6.0
rpolitex/ArduinoNvs@^2.5
homespan/HomeSpan
Can you kindly assist with difference in sdkconfig
files?
I want to debug if my library works almost same as default one, however it's not possible with so many changes
Activity
me-no-dev commentedon Feb 20, 2024
and differences are?
You are building the libs with newer IDV v4.4 than it's in the repo, so it is normal for some options to change, be added or removed.
vinegod commentedon Feb 21, 2024
I made a small PR inside my forked repo: https://github.com/vinegod/arduino-esp32-custom-bootloader/pull/1/files#diff-e841640ecb84f39a6641d517f764d240368658a1c4797a7a09ba0cd333cd4bb7
I'm trying to build exactly same firmware but with option to factory reset OTA and for some reason Wi-Fi is not working (or board just crashes).
Maybe there is problem in libraries, however I started from differences in sdkconfig