NuMaker bootloader with SD mode

mbed_app.json

Committer:
shliu1
Date:
2021-02-25
Revision:
6:4dc994a04a99
Parent:
1:659cc7618f73
Child:
7:90af0e9f9fa4

File content as of revision 6:4dc994a04a99:

{
    "config": {
        "update_file": {
            "help": "Path to the application update binary on the SD card",
            "value": "\"mbed-os-example-blinky_application.bin\""
        },
        "sd_card_mosi": {
            "help": "MCU pin connected to the SD card's SPI MOSI pin",
            "value": "D11"
        },
        "sd_card_miso": {
            "help": "MCU pin connected to the SD card's SPI MISO pin",
            "value": "D12"
        },
        "sd_card_sck": {
            "help": "MCU pin connected to the SD card's SPI SCK pin",
            "value": "D13"
        },
        "sd_card_cs": {
            "help": "MCU pin connected to the SD card's SPI CS pin",
            "value": "D10"
        }
    },
    "target_overrides": {
        "K64F": {
            "target.restrict_size": "0x40000",
            "sd_card_mosi": "PTE3",
            "sd_card_miso": "PTE1",
            "sd_card_sck": "PTE2",
            "sd_card_cs": "PTE4"
        },
        "NUCLEO_F429ZI": {
            "target.restrict_size": "0x40000"
        },
        "UBLOX_EVK_ODIN_W2": {
            "target.restrict_size": "0x40000",
            "sd_card_cs": "D9"
        },
        "NUMAKER_PFM_NUC472": {
            "target.restrict_size": "0x20000",
            "update_file": "\"mbed-os-example-bootloader-blinky_application.bin\"",
            "sd_card_mosi": "PF_0",
            "sd_card_miso": "PD_15",
            "sd_card_sck":  "PD_14",
            "sd_card_cs":   "PD_13"
        },
        "NUMAKER_PFM_M487": {
            "target.restrict_size": "0x20000",
            "update_file": "\"mbed-os-example-bootloader-blinky_application.bin\"",
            "sd_card_mosi": "D11",
            "sd_card_miso": "D12",
            "sd_card_sck":  "D13",
            "sd_card_cs":   "D10"
        }
    }
}