This program collects raw time series data from the ADC using the NXP board that will later be post processed by PFP Cyber-security cloud base machine learning engine to determine the state of the device.

Dependencies:   FXAS21002 FXOS8700Q

mbed_app.json

Committer:
vithyat
Date:
2020-03-20
Revision:
2:990c985a69ae
Parent:
0:977e87915078

File content as of revision 2:990c985a69ae:

{
    "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\""
        },
        "K64F": {
            "target.components_add"                     : ["SD"],
            "device-management.flash-start-address"     : "0x0",
            "device-management.flash-size"              : "(1024*1024)",
            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
            "device-management.sotp-section-1-size"     : "(4*1024)",
            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
            "device-management.sotp-section-2-size"     : "(4*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-K64F.bin",
            "target.header_offset"                      : "0x10000",
            "target.app_offset"                         : "0x10400",
            "button-pressed-state"                      : 0
        },
        "K66F": {
            "target.components_add"                     : ["SD"],
            "device-management.flash-start-address"     : "0x0",
            "device-management.flash-size"              : "(2048*1024)",
            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
            "device-management.sotp-section-1-size"     : "(4*1024)",
            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
            "device-management.sotp-section-2-size"     : "(4*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-K66F.bin",
            "target.header_offset"                      : "0x10000",
            "target.app_offset"                         : "0x10400",
            "button-pressed-state"                      : 0
        }
    },
    "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
        },
        "tests-fs-size": {
            "help": "Maximum size of the file system used for tests",
            "value": null
        }
    }
}