What are the requirements for the firmware: "install ESP firmware from URL"

Issue #437 resolved
Wenjie Wu created an issue

Can the ESP32 firmware built from the platformio.ini file in the smallvm repository be installed?

such as [env:freenovaCamera] , It’s board_build.partitions is not the same as other esp32 env.

[env:freenovaCamera]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = no_ota.csv
build_flags =
    -D HAS_CAMERA
    -D BOARD_HAS_PSRAM
    -mfix-esp32-psram-cache-issue
lib_deps =
    WebSockets
    256dpi/MQTT

Comments (6)

  1. John Maloney repo owner

    Most of the MicroBlocks ESP32 and ESP8266 virtual machines (.bin files) can be downloaded as URL's.

    However, at the moment this mechanism works only with the 1 Mbyte code partition. Thus, the camera, BLE, and Octo builds all require 2 Mbyte code partitions won't work with mechanism.

    Of course, those are some of the VM's that would be the most interesting to download, so I will fix that limitation.

    I will add a tweak to make the mechanism use a 2 Mbyte partition for .bin files that are over 1 Mbyte.

  2. Wenjie Wu reporter

    However, at the moment this mechanism works only with the 1 Mbyte code partition. Thus, the camera, BLE, and Octo builds all require 2 Mbyte code partitions won't work with mechanism.

    Yes, that's exactly what I'm worried about. It’s great you're thinking about it !

  3. Log in to comment