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