sifli-flash-table

Crates.iosifli-flash-table
lib.rssifli-flash-table
version0.1.0
created_at2025-07-24 05:02:38.701384+00
updated_at2025-07-24 05:02:38.701384+00
descriptionFlash table generater CLI for SiFli MCUs
homepagehttps://github.com/OpenSiFli/sifli-rs
repositoryhttps://github.com/OpenSiFli/sifli-rs
max_upload_size
id1765517
size55,240
HaoboGu (HaoboGu)

documentation

README

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).

Commit count: 113

cargo fmt