The WiFi enabled version of pelion-example-common. Later, this may be merged to pelion-example-common.

Committer:
Andrew Chong
Date:
Fri Jan 25 16:32:31 2019 +0900
Revision:
4:d29ff0838db9
Parent:
0:fdc18ffe96a4
Updated the config for ESP8266 WiFi shield, SDT3976C, enablement.
https://os.mbed.com/components/SDT3976C/
Make sure to edit the WiFi SSID and password.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Andrew Chong 0:fdc18ffe96a4 1 {
Andrew Chong 0:fdc18ffe96a4 2 "macros": [
Andrew Chong 0:fdc18ffe96a4 3 "MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"",
Andrew Chong 0:fdc18ffe96a4 4 "SHOW_PROGRESS_BAR=0",
Andrew Chong 0:fdc18ffe96a4 5 "MAX_COPY_RETRIES=1",
Andrew Chong 0:fdc18ffe96a4 6 "MAX_BOOT_RETRIES=3",
Andrew Chong 0:fdc18ffe96a4 7 "ARM_BOOTLOADER_USE_NVSTORE_ROT=1",
Andrew Chong 0:fdc18ffe96a4 8 "ARM_UC_USE_PAL_CRYPTO=0",
Andrew Chong 0:fdc18ffe96a4 9 "ARM_UC_USE_PAL_BLOCKDEVICE=1",
Andrew Chong 0:fdc18ffe96a4 10 "ARM_UC_PAAL_TRACE_ENABLE=0",
Andrew Chong 0:fdc18ffe96a4 11 "ARM_UC_PROFILE_MBED_CLOUD_CLIENT=1",
Andrew Chong 0:fdc18ffe96a4 12 "ARM_UC_FEATURE_CRYPTO_PAL=0",
Andrew Chong 0:fdc18ffe96a4 13 "ARM_UC_FEATURE_CRYPTO_MBEDTLS=1",
Andrew Chong 0:fdc18ffe96a4 14 "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE",
Andrew Chong 0:fdc18ffe96a4 15 "DEFAULT_MAX_APPLICATION_SIZE=(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)",
Andrew Chong 0:fdc18ffe96a4 16 "DISABLE_ERROR_DESCRIPTION=1",
Andrew Chong 0:fdc18ffe96a4 17 "Mutex=PlatformMutex"
Andrew Chong 0:fdc18ffe96a4 18 ],
Andrew Chong 0:fdc18ffe96a4 19 "config": {
Andrew Chong 0:fdc18ffe96a4 20 "application-start-address": {
Andrew Chong 0:fdc18ffe96a4 21 "help": "Address to the beginning of the active application firmware in flash",
Andrew Chong 0:fdc18ffe96a4 22 "value": null
Andrew Chong 0:fdc18ffe96a4 23 },
Andrew Chong 0:fdc18ffe96a4 24 "application-jump-address": {
Andrew Chong 0:fdc18ffe96a4 25 "help": "Jump address for running the active application firmware",
Andrew Chong 0:fdc18ffe96a4 26 "value": null
Andrew Chong 0:fdc18ffe96a4 27 },
Andrew Chong 0:fdc18ffe96a4 28 "max-application-size": {
Andrew Chong 0:fdc18ffe96a4 29 "help": "Maximum size of the active application",
Andrew Chong 0:fdc18ffe96a4 30 "value": null
Andrew Chong 0:fdc18ffe96a4 31 },
Andrew Chong 0:fdc18ffe96a4 32 "flash-start-address": {
Andrew Chong 0:fdc18ffe96a4 33 "help": "Start address of internal flash. Only used in this config to help the definition of other macros.",
Andrew Chong 0:fdc18ffe96a4 34 "value": null
Andrew Chong 0:fdc18ffe96a4 35 },
Andrew Chong 0:fdc18ffe96a4 36 "flash-size": {
Andrew Chong 0:fdc18ffe96a4 37 "help": "Total size of internal flash. Only used in this config to help the definition of other macros.",
Andrew Chong 0:fdc18ffe96a4 38 "value": null
Andrew Chong 0:fdc18ffe96a4 39 }
Andrew Chong 0:fdc18ffe96a4 40 },
Andrew Chong 0:fdc18ffe96a4 41 "target_overrides": {
Andrew Chong 0:fdc18ffe96a4 42 "*": {
Andrew Chong 0:fdc18ffe96a4 43 "target.features_remove" : ["LWIP"],
Andrew Chong 0:fdc18ffe96a4 44 "target.features_add" : ["COMMON_PAL"],
Andrew Chong 0:fdc18ffe96a4 45 "platform.stdio-baud-rate" : 115200,
Andrew Chong 0:fdc18ffe96a4 46 "platform.stdio-flush-at-exit" : false,
Andrew Chong 0:fdc18ffe96a4 47 "update-client.storage-address" : "(1024*1024*64)",
Andrew Chong 0:fdc18ffe96a4 48 "update-client.storage-size" : "(1024*1024*2)",
Andrew Chong 0:fdc18ffe96a4 49 "update-client.storage-locations" : 1,
Andrew Chong 0:fdc18ffe96a4 50 "update-client.firmware-header-version": "2"
Andrew Chong 0:fdc18ffe96a4 51 },
Andrew Chong 0:fdc18ffe96a4 52 "SDT64B": {
Andrew Chong 0:fdc18ffe96a4 53 "flash-start-address" : "0x0",
Andrew Chong 0:fdc18ffe96a4 54 "flash-size" : "(2048*1024)",
Andrew Chong 0:fdc18ffe96a4 55 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
Andrew Chong 0:fdc18ffe96a4 56 "nvstore.area_1_size" : "(4*1024)",
Andrew Chong 0:fdc18ffe96a4 57 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
Andrew Chong 0:fdc18ffe96a4 58 "nvstore.area_2_size" : "(4*1024)",
Andrew Chong 0:fdc18ffe96a4 59 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
Andrew Chong 0:fdc18ffe96a4 60 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
Andrew Chong 0:fdc18ffe96a4 61 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE",
Andrew Chong 0:fdc18ffe96a4 62 "sd.SPI_MOSI" : "PTB16",
Andrew Chong 0:fdc18ffe96a4 63 "sd.SPI_MISO" : "PTB17",
Andrew Chong 0:fdc18ffe96a4 64 "sd.SPI_CLK" : "PTB11",
Andrew Chong 0:fdc18ffe96a4 65 "sd.SPI_CS" : "PTB10"
Andrew Chong 0:fdc18ffe96a4 66
Andrew Chong 0:fdc18ffe96a4 67 }
Andrew Chong 0:fdc18ffe96a4 68 }
Andrew Chong 0:fdc18ffe96a4 69 }