Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PlatformIO build scripts #7200

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

valeros
Copy link
Contributor

@valeros valeros commented Aug 30, 2022

This PR includes the following:

  • Implemented an additional build step that produces an adjusted bootloader image with updated headers
    according to selected flash mode and size values. This step is only executed for debugging or uploading
    via debug probes.
  • Implemented a basic mechanism to dynamically add an extra UF2 bootloader image if corresponding
    partition is selected (e.g. for Adafruit targets)
  • Minor code formatting

This update includes the following:

- Implemented an additional build step that produces an adjusted bootloader image with updated headers
  according to  selected flash mode and size values. This step is only executed for debugging or uploading
  via debug probes.

- Implemented a basic mechanism to dynamically add an extra UF2 bootloader image if corresponding
  partition is selected (e.g. for Adafruit targets)

- Minor code formatting
@VojtechBartoska VojtechBartoska added the IDE: PlaformIO Issue relates to PlatformIO IDE label Aug 30, 2022
@SuGlider SuGlider self-assigned this Sep 5, 2022
@SuGlider SuGlider self-requested a review September 6, 2022 14:37
@SuGlider SuGlider merged commit 074f315 into espressif:master Sep 6, 2022
Jason2866 added a commit to Jason2866/arduino-esp32 that referenced this pull request Sep 6, 2022
* Enable configuring target variants (espressif#7019)

This change enables picking the right board configuration from the
variants/ folder. Previously, we would always pick the default
configuration (e.g., "esp32" instead of "heltec_wifi_lora_32_V2").

* Update .gitignore (espressif#7021)

Add entries to gitignore

* Update esptool to version 4.2.1 (espressif#7127)

* Update esptool to version 4.2.1

* Fix esptool for MacOS

* Esptool v4.2.1 for CI Platformio (espressif#7147)

to complete the test.

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>

* Update get.py to support python 3.10+ (espressif#7166)

* Update get.py to support python 3.10+

* Use try/except to remove version check

* fixed names on the VID and PID for boards (espressif#7144)

somehow had duplicated the same name across all my boards. the PID's and VID's were correct, but the name was the same for all of them. that is fixed now.

* Compile error if CONFIG_FREERTOS_HZ != 1000 (espressif#6955)

* Compile error if CONFIG_FREERTOS_HZ != 1000
* add a check at the CMake level, per feedback
* Set CONFIG_FREERTOS_HZ=1000 in CI test of Arduino-as-component

* Adding u-blox NORA-W10 series (ESP32-S3) (espressif#7191)

* Create pins_arduino.h

* Update boards.txt

* Update boards.txt

* Fixed espressif/esp-rainmaker#152 (espressif#7171)

* Update PlatformIO build scripts (espressif#7200)

This update includes the following:

- Implemented an additional build step that produces an adjusted bootloader image with updated headers
  according to  selected flash mode and size values. This step is only executed for debugging or uploading
  via debug probes.

- Implemented a basic mechanism to dynamically add an extra UF2 bootloader image if corresponding
  partition is selected (e.g. for Adafruit targets)

- Minor code formatting

Co-authored-by: Dr. Christian Kohlschütter <christian@kohlschutter.com>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: Paul Price <56952812+strid3r21@users.noreply.github.com>
Co-authored-by: Daniel Egnor <egnor@ofb.net>
Co-authored-by: Michael Ammann <mazgch@users.noreply.github.com>
Co-authored-by: Sanket Wadekar <67091512+sanketwadekar@users.noreply.github.com>
Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>
Jason2866 added a commit to tasmota/arduino-esp32 that referenced this pull request Sep 6, 2022
This update includes the following:

- Implemented an additional build step that produces an adjusted bootloader image with updated headers
  according to  selected flash mode and size values. This step is only executed for debugging or uploading
  via debug probes.

- Implemented a basic mechanism to dynamically add an extra UF2 bootloader image if corresponding
  partition is selected (e.g. for Adafruit targets)

- Minor code formatting

Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>
Jason2866 added a commit to tasmota/arduino-esp32 that referenced this pull request Sep 6, 2022
This update includes the following:

- Implemented an additional build step that produces an adjusted bootloader image with updated headers
  according to  selected flash mode and size values. This step is only executed for debugging or uploading
  via debug probes.

- Implemented a basic mechanism to dynamically add an extra UF2 bootloader image if corresponding
  partition is selected (e.g. for Adafruit targets)

- Minor code formatting

Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>

Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: PlaformIO Issue relates to PlatformIO IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants