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
bootloader/bootloader_app.json@2:990c985a69ae, 2020-03-20 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
vithyat | 0:977e87915078 | 1 | { |
vithyat | 0:977e87915078 | 2 | "macros": [ |
vithyat | 0:977e87915078 | 3 | "MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"", |
vithyat | 0:977e87915078 | 4 | "SHOW_PROGRESS_BAR=0", |
vithyat | 0:977e87915078 | 5 | "MAX_COPY_RETRIES=1", |
vithyat | 0:977e87915078 | 6 | "MAX_BOOT_RETRIES=3", |
vithyat | 0:977e87915078 | 7 | "ARM_BOOTLOADER_USE_NVSTORE_ROT=1", |
vithyat | 0:977e87915078 | 8 | "ARM_UC_USE_PAL_CRYPTO=0", |
vithyat | 0:977e87915078 | 9 | "ARM_UC_USE_PAL_BLOCKDEVICE=1", |
vithyat | 0:977e87915078 | 10 | "ARM_UC_PAAL_TRACE_ENABLE=0", |
vithyat | 0:977e87915078 | 11 | "ARM_UC_PROFILE_MBED_CLOUD_CLIENT=1", |
vithyat | 0:977e87915078 | 12 | "ARM_UC_FEATURE_CRYPTO_PAL=0", |
vithyat | 0:977e87915078 | 13 | "ARM_UC_FEATURE_CRYPTO_MBEDTLS=1", |
vithyat | 0:977e87915078 | 14 | "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE", |
vithyat | 0:977e87915078 | 15 | "DEFAULT_MAX_APPLICATION_SIZE=(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS - NVSTORE_AREA_1_SIZE - NVSTORE_AREA_2_SIZE)", |
vithyat | 0:977e87915078 | 16 | "DISABLE_ERROR_DESCRIPTION=1", |
vithyat | 0:977e87915078 | 17 | "Mutex=PlatformMutex" |
vithyat | 0:977e87915078 | 18 | ], |
vithyat | 0:977e87915078 | 19 | "config": { |
vithyat | 0:977e87915078 | 20 | "application-start-address": { |
vithyat | 0:977e87915078 | 21 | "help": "Address to the beginning of the active application firmware in flash", |
vithyat | 0:977e87915078 | 22 | "value": null |
vithyat | 0:977e87915078 | 23 | }, |
vithyat | 0:977e87915078 | 24 | "application-jump-address": { |
vithyat | 0:977e87915078 | 25 | "help": "Jump address for running the active application firmware", |
vithyat | 0:977e87915078 | 26 | "value": null |
vithyat | 0:977e87915078 | 27 | }, |
vithyat | 0:977e87915078 | 28 | "max-application-size": { |
vithyat | 0:977e87915078 | 29 | "help": "Maximum size of the active application", |
vithyat | 0:977e87915078 | 30 | "value": null |
vithyat | 0:977e87915078 | 31 | }, |
vithyat | 0:977e87915078 | 32 | "flash-start-address": { |
vithyat | 0:977e87915078 | 33 | "help": "Start address of internal flash. Only used in this config to help the definition of other macros.", |
vithyat | 0:977e87915078 | 34 | "value": null |
vithyat | 0:977e87915078 | 35 | }, |
vithyat | 0:977e87915078 | 36 | "flash-size": { |
vithyat | 0:977e87915078 | 37 | "help": "Total size of internal flash. Only used in this config to help the definition of other macros.", |
vithyat | 0:977e87915078 | 38 | "value": null |
vithyat | 0:977e87915078 | 39 | } |
vithyat | 0:977e87915078 | 40 | }, |
vithyat | 0:977e87915078 | 41 | "target_overrides": { |
vithyat | 0:977e87915078 | 42 | "*": { |
vithyat | 0:977e87915078 | 43 | "target.features_remove" : ["LWIP"], |
vithyat | 0:977e87915078 | 44 | "target.features_add" : ["COMMON_PAL"], |
vithyat | 0:977e87915078 | 45 | "target.extra_labels_remove" : ["PSA"], |
vithyat | 0:977e87915078 | 46 | "target.components_remove" : ["FLASHIAP"], |
vithyat | 0:977e87915078 | 47 | "platform.stdio-baud-rate" : 115200, |
vithyat | 0:977e87915078 | 48 | "platform.stdio-flush-at-exit" : false |
vithyat | 0:977e87915078 | 49 | }, |
vithyat | 0:977e87915078 | 50 | "K64F": { |
vithyat | 0:977e87915078 | 51 | "target.components_add" : ["SD"], |
vithyat | 0:977e87915078 | 52 | "flash-start-address" : "0x0", |
vithyat | 0:977e87915078 | 53 | "flash-size" : "(1024*1024)", |
vithyat | 0:977e87915078 | 54 | "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))", |
vithyat | 0:977e87915078 | 55 | "nvstore.area_1_size" : "(4*1024)", |
vithyat | 0:977e87915078 | 56 | "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))", |
vithyat | 0:977e87915078 | 57 | "nvstore.area_2_size" : "(4*1024)", |
vithyat | 0:977e87915078 | 58 | "update-client.storage-address" : "(64*1024*1024)", |
vithyat | 0:977e87915078 | 59 | "update-client.storage-size" : "(2*1024*1024)", |
vithyat | 0:977e87915078 | 60 | "update-client.storage-locations" : 1, |
vithyat | 0:977e87915078 | 61 | "update-client.firmware-header-version": "2", |
vithyat | 0:977e87915078 | 62 | "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", |
vithyat | 0:977e87915078 | 63 | "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", |
vithyat | 0:977e87915078 | 64 | "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" |
vithyat | 0:977e87915078 | 65 | }, |
vithyat | 0:977e87915078 | 66 | "K66F": { |
vithyat | 0:977e87915078 | 67 | "target.components_add" : ["SD"], |
vithyat | 0:977e87915078 | 68 | "flash-start-address" : "0x0", |
vithyat | 0:977e87915078 | 69 | "flash-size" : "(2048*1024)", |
vithyat | 0:977e87915078 | 70 | "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))", |
vithyat | 0:977e87915078 | 71 | "nvstore.area_1_size" : "(4*1024)", |
vithyat | 0:977e87915078 | 72 | "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))", |
vithyat | 0:977e87915078 | 73 | "nvstore.area_2_size" : "(4*1024)", |
vithyat | 0:977e87915078 | 74 | "update-client.storage-address" : "(64*1024*1024)", |
vithyat | 0:977e87915078 | 75 | "update-client.storage-size" : "(2*1024*1024)", |
vithyat | 0:977e87915078 | 76 | "update-client.storage-locations" : 1, |
vithyat | 0:977e87915078 | 77 | "update-client.firmware-header-version": "2", |
vithyat | 0:977e87915078 | 78 | "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", |
vithyat | 0:977e87915078 | 79 | "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", |
vithyat | 0:977e87915078 | 80 | "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" |
vithyat | 0:977e87915078 | 81 | } |
vithyat | 0:977e87915078 | 82 | } |
vithyat | 0:977e87915078 | 83 | } |