onerom-wasm
    Preparing search index...

    Function flash_plan

    • The flash operations that program image, an image file, onto a board with MCU variant mcu and size board_size, in the order to run them.

      Fails with "second_chip_required" where the image uses a second flash chip the board doesn't have, and "too_large" where the image is larger than the board's flash.

      Parameters

      • image: Uint8Array
      • mcu: string
      • board_size: string

      Returns FlashStepJs[]