• Deomid Ryabkov's avatar
    Add create-fw-bundle command · 139c2061
    Deomid Ryabkov authored
    Replacement for fw_meta.py commands and also supports unbundling .hex files.
    
    General syntax is:
    
    ```
     $ mos create-fw-bundle -o fw.zip part1:prop1=val1,prop2=val2,... part2:...
    ```
    
    Example of building a mos fw bundle for ESP8266:
    ```
     $ mos create-fw-bundle -o fw.zip --platform esp8266 --build-info=build_info.json \
        boot:addr=0x0,src=rboot.bin,update=false \
        boot_cfg:addr=0x7000,size=0x1000,fill=0xff \
        fw:addr=0x100000,src=demo-c.bin \
        fs:src=fs.bin,type=fs,addr=0x8000,fs_size=262144,fs_block_size=4096,fs_page_size=256,fs_erase_size=4096
    ```
    
    Example of converting a HEX file to a bundle:
    ```
     $ mos create-fw-bundle -o fw.zip host:type=host,src=hostfw.hex
    ```
    
    CL: mos: Add create-fw-bundle command
    
    PUBLISHED_FROM=35f52ea53e4b5900463415257323a4c08cf45deb
    139c2061
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
jni Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.mbedignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...