Skip to content

Built library is not the same as official one #156

Open
@vinegod

Description

@vinegod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions