Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nubificus/esp32-build
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: nubificus/esp32-build
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat_merge_tflite
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 7 files changed
  • 2 contributors

Commits on May 16, 2025

  1. feat: Set .app entries as environment variables

    Signed-off-by: apogiannousas <[email protected]>
    apogiannousas authored and ilagomatis committed May 16, 2025
    Configuration menu
    Copy the full SHA
    42d6f3e View commit details
    Browse the repository at this point in the history
  2. feat: Let the user create custom partition table

    when the --override_pt option is specified
    
    - Add script for generating partition table csv
      based on flash size
    - Add esp-idf script to compile the custom csv to
      binary partition table
    
    Signed-off-by: Ilias Lagomatis <[email protected]>
    ilagomatis committed May 16, 2025
    Configuration menu
    Copy the full SHA
    5595ffc View commit details
    Browse the repository at this point in the history
  3. feat: Upload model in S3

    If user specifies a model in their "app" input configuration,
    the model is uploaded to S3, to be used later by the flasher
    container.
    
    The input path should be relative to the project repository.
    
    Signed-off-by: Ilias Lagomatis <[email protected]>
    ilagomatis committed May 16, 2025
    Configuration menu
    Copy the full SHA
    c3d35af View commit details
    Browse the repository at this point in the history

Commits on May 17, 2025

  1. fix: Use a unique ID for each workflow to avoid S3 stale entries

    Github allows us use a unique worflow id. Until now, if we attempted
    to build a firmware with the same repo/type/version (because we may
    added some changes in our app repo) the old S3 files from previous
    workflows would be included to the next ones. For example, if one we-
    re running the same workflow, first for esp32s3 and then for esp32s2,
    the esp32s3 binary files would still be there, although they would be
    deprecated. We solve that by introducing the unique github workflow
    id to S3 namespacing.
    
    Signed-off-by: Ilias Lagomatis <[email protected]>
    ilagomatis committed May 17, 2025
    Configuration menu
    Copy the full SHA
    ebcab0f View commit details
    Browse the repository at this point in the history
  2. chore: Move scripts to separate directory

    Signed-off-by: Ilias Lagomatis <[email protected]>
    ilagomatis committed May 17, 2025
    Configuration menu
    Copy the full SHA
    60d6400 View commit details
    Browse the repository at this point in the history
  3. feat(attempt)!: Introduce dynamic Part. table building with TFlite pa…

    …rtitions
    
    Under specific circumstances (user has included a model in CI input, the custom partition
    table contains a tflite partition or the user adds `--override_pt with_model` in their
    `docker run` command), a dynamic model will be written in device flash memory during the
    execution of the flash docker image.
    
    The steps to achieve this:
    - include a "model": "path/to/model.tflite" specification in the app description (ci user input),
    - also include a "tensor_allocation_space":"204800" to specify the bytes to allocate for the ten-
      sor arena,
    - either define a custom partition table inside the repository which contains a tflite partition,
    - or you can also append a `--override_pt with_model` to the `docker run` command, which will trig-
      ger an automatic generation of a partition table based on the flash memory size of the device
      and the length of the model (which will automatically detected).
    
    Signed-off-by: Ilias Lagomatis <[email protected]>
    ilagomatis committed May 17, 2025
    Configuration menu
    Copy the full SHA
    c6c74f5 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2025

  1. feat(attempt): Run a user prebuild script (if available)

    Provided by the "prebuild" environment variable.
    
    Signed-off-by: Ilias Lagomatis <[email protected]>
    ilagomatis committed May 18, 2025
    Configuration menu
    Copy the full SHA
    66bffb4 View commit details
    Browse the repository at this point in the history
Loading