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

Committer:
vithyat
Date:
Fri Mar 20 20:15:18 2020 +0000
Revision:
2:990c985a69ae
Parent:
0:977e87915078
Update to work with P2Scan runtime

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vithyat 0:977e87915078 1 {
vithyat 0:977e87915078 2 "target_overrides": {
vithyat 0:977e87915078 3 "*": {
vithyat 0:977e87915078 4 "target.components_remove" : ["FLASHIAP"],
vithyat 0:977e87915078 5 "platform.stdio-baud-rate" : 115200,
vithyat 0:977e87915078 6 "platform.stdio-convert-newlines" : true,
vithyat 0:977e87915078 7 "mbed-trace.enable" : null,
vithyat 0:977e87915078 8 "nsapi.default-wifi-security" : "WPA_WPA2",
vithyat 0:977e87915078 9 "nsapi.default-wifi-ssid" : "\"SSID\"",
vithyat 0:977e87915078 10 "nsapi.default-wifi-password" : "\"Password\""
vithyat 0:977e87915078 11 },
vithyat 0:977e87915078 12 "K64F": {
vithyat 0:977e87915078 13 "target.components_add" : ["SD"],
vithyat 0:977e87915078 14 "device-management.flash-start-address" : "0x0",
vithyat 0:977e87915078 15 "device-management.flash-size" : "(1024*1024)",
vithyat 0:977e87915078 16 "device-management.sotp-section-1-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
vithyat 0:977e87915078 17 "device-management.sotp-section-1-size" : "(4*1024)",
vithyat 0:977e87915078 18 "device-management.sotp-section-2-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
vithyat 0:977e87915078 19 "device-management.sotp-section-2-size" : "(4*1024)",
vithyat 0:977e87915078 20 "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
vithyat 0:977e87915078 21 "update-client.storage-address" : "(64*1024*1024)",
vithyat 0:977e87915078 22 "update-client.storage-size" : "(2*1024*1024)",
vithyat 0:977e87915078 23 "update-client.storage-locations" : "1",
vithyat 0:977e87915078 24 "target.features_add" : ["BOOTLOADER"],
vithyat 0:977e87915078 25 "target.bootloader_img" : "bootloader/mbed-bootloader-K64F.bin",
vithyat 0:977e87915078 26 "target.header_offset" : "0x10000",
vithyat 0:977e87915078 27 "target.app_offset" : "0x10400",
vithyat 0:977e87915078 28 "button-pressed-state" : 0
vithyat 0:977e87915078 29 },
vithyat 0:977e87915078 30 "K66F": {
vithyat 0:977e87915078 31 "target.components_add" : ["SD"],
vithyat 0:977e87915078 32 "device-management.flash-start-address" : "0x0",
vithyat 0:977e87915078 33 "device-management.flash-size" : "(2048*1024)",
vithyat 0:977e87915078 34 "device-management.sotp-section-1-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
vithyat 0:977e87915078 35 "device-management.sotp-section-1-size" : "(4*1024)",
vithyat 0:977e87915078 36 "device-management.sotp-section-2-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
vithyat 0:977e87915078 37 "device-management.sotp-section-2-size" : "(4*1024)",
vithyat 0:977e87915078 38 "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
vithyat 0:977e87915078 39 "update-client.storage-address" : "(64*1024*1024)",
vithyat 0:977e87915078 40 "update-client.storage-size" : "(2*1024*1024)",
vithyat 0:977e87915078 41 "update-client.storage-locations" : "1",
vithyat 0:977e87915078 42 "target.features_add" : ["BOOTLOADER"],
vithyat 0:977e87915078 43 "target.bootloader_img" : "bootloader/mbed-bootloader-K66F.bin",
vithyat 0:977e87915078 44 "target.header_offset" : "0x10000",
vithyat 0:977e87915078 45 "target.app_offset" : "0x10400",
vithyat 0:977e87915078 46 "button-pressed-state" : 0
vithyat 0:977e87915078 47 }
vithyat 0:977e87915078 48 },
vithyat 0:977e87915078 49 "config": {
vithyat 0:977e87915078 50 "format-storage-layer-on-error": {
vithyat 0:977e87915078 51 "help": "Whether to format the storage layer when it cannot be read - always disable for production devices!",
vithyat 0:977e87915078 52 "value": 1
vithyat 0:977e87915078 53 },
vithyat 0:977e87915078 54 "main-stack-size": {
vithyat 0:977e87915078 55 "value": 6000
vithyat 0:977e87915078 56 },
vithyat 0:977e87915078 57 "use-button": {
vithyat 0:977e87915078 58 "help": "Whether the target has a button",
vithyat 0:977e87915078 59 "macro_name": "USE_BUTTON",
vithyat 0:977e87915078 60 "value": true
vithyat 0:977e87915078 61 },
vithyat 0:977e87915078 62 "button-pressed-state": {
vithyat 0:977e87915078 63 "help": "Value of the button when pressed",
vithyat 0:977e87915078 64 "value": 1
vithyat 0:977e87915078 65 },
vithyat 0:977e87915078 66 "no_led": {
vithyat 0:977e87915078 67 "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",
vithyat 0:977e87915078 68 "value": null
vithyat 0:977e87915078 69 },
vithyat 0:977e87915078 70 "tests-fs-size": {
vithyat 0:977e87915078 71 "help": "Maximum size of the file system used for tests",
vithyat 0:977e87915078 72 "value": null
vithyat 0:977e87915078 73 }
vithyat 0:977e87915078 74 }
vithyat 0:977e87915078 75 }