Crate sifli_flash_table

Source
Expand description

§SiFli Flash Table

A command-line tool (Cli) used to generate a flash table firmware for SiFli MCUs.

§Usage

sifli-flash-table gen --ptab test\em-lb525\ptab.json --output ftab.bin

This is functionally equivalent to:

The difference is that sifli-flash-table generates the flash table using code, instead of cross-compiling the table.

Other references:

§Test

In lib.rs, there is a test called test_ptab_ftab_conversion, which automatically tests the development board’s flash table generation in the test folder and compares it with the precompiled ftab.bin from the SDK.

§TODO

  • Use real user code and bootloader firmware size values
  • Write automated tests for more boards
  • Verify if addresses starting with 0x6xxx_xxxx are use

§License

This project is under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

Modules§

ftab
ptab