tmp

mbed_app.json

Committer:
fahimalavi
Date:
2019-10-04
Revision:
1:69fa5104db88
Parent:
0:7e9105051efa

File content as of revision 1:69fa5104db88:

{
    "target_overrides": {
        "*": {
            "target.components_remove"                  : ["FLASHIAP"],
            "platform.stdio-baud-rate"                  : 115200,
            "platform.stdio-convert-newlines"           : true,
            "mbed-trace.enable"                         : null,
            "nsapi.default-wifi-security"               : "WPA_WPA2",
            "nsapi.default-wifi-ssid"                   : "\"SSID\"",
            "nsapi.default-wifi-password"               : "\"Password\""
        },
        "UBLOX_EVK_ODIN_W2": {
            "target.components_add"                     : ["SD"],
            "target.network-default-interface-type"     : "WIFI",
            "device-management.flash-start-address"     : "0x08000000",
            "device-management.flash-size"              : "(2048*1024)",
            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
            "device-management.sotp-section-1-size"     : "(128*1024)",
            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
            "device-management.sotp-section-2-size"     : "(128*1024)",
            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
            "update-client.storage-address"             : "(64*1024*1024)",
            "update-client.storage-size"                : "(2*1024*1024)",
            "update-client.storage-locations"           : "1",
            "target.features_add"                       : ["BOOTLOADER"],
            "target.bootloader_img"                     : "bootloader/mbed-bootloader-UBLOX_EVK_ODIN_W2.bin",
            "target.header_offset"                      : "0x10000",
            "target.app_offset"                         : "0x10400",
            "use-button"                                : false
        },
        "UBLOX_C030_U201": {
            "target.features_add"                       : ["STORAGE", "LWIP"],
            "target.components_add"                     : ["SD"],
            "target.network-default-interface-type"     : "CELLULAR",
            "lwip.ipv4-enabled"                         : true,
            "lwip.ethernet-enabled"                     : false,
            "lwip.ppp-enabled"                          : true,
            "lwip.tcp-enabled"                          : true,
            "mbed-trace.enable"                         : false,
            "device-management.flash-start-address"     : "0x08000000",
            "device-management.flash-size"              : "(1024*1024)",
            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
            "device-management.sotp-section-1-size"     : "(128*1024)",
            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
            "device-management.sotp-section-2-size"     : "(128*1024)",
            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
            "update-client.storage-address"             : "(64*1024*1024)",
            "update-client.storage-size"                : "(2*1024*1024)",
            "update-client.storage-locations"           : "1",
            "target.features_add"                       : ["BOOTLOADER"],
            "target.bootloader_img"                     : "bootloader/mbed-bootloader-UBLOX_C030_U201.bin",
            "target.header_offset"                      : "0x10000",
            "target.app_offset"                         : "0x10400"
        }
    },
    "config": {
        "format-storage-layer-on-error": {
            "help": "Whether to format the storage layer when it cannot be read - always disable for production devices!",
            "value": 1
        },
        "main-stack-size": {
            "value": 6000
        },
        "use-button": {
            "help": "Whether the target has a button",
            "macro_name": "USE_BUTTON",
            "value": true
        },
        "button-pressed-state": {
            "help": "Value of the button when pressed",
            "value": 1
        },
        "no_led": {
            "help": "This flag disables the heartbeat thread in tests. This is useful for platforms that don't have an LED or the LED is used for other functionality like LED on the SPI clockline etc",
            "value": null
        }
    }
}