yh Tang
/
NuMaker-mbed-AWS-IoT-example
NuMaker connection with AWS IoT thru MQTT/HTTPS
mbed_app.json@33:c3a985807206, 2020-03-16 (annotated)
- Committer:
- ccli8
- Date:
- Mon Mar 16 13:29:32 2020 +0800
- Revision:
- 33:c3a985807206
- Parent:
- 29:e890b0fdce53
- Child:
- 38:537cbdc1cfa3
Support MBEDTLS_ENTROPY_HARDWARE_ALT with EADC+S/W random
Some targets e.g. M482 have neither TRNG nor PRNG. Add EADC+S/W random to implement MBEDTLS_ENTROPY_HARDWARE_ALT.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ccli8 |
1:5ffad9f24d63 | 1 | { |
ccli8 |
1:5ffad9f24d63 | 2 | "macros": [ |
ccli8 |
1:5ffad9f24d63 | 3 | "MBED_CONF_APP_MAIN_STACK_SIZE=4096", |
ccli8 |
12:97762a6f55e9 | 4 | "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_user_config.h\"" |
ccli8 |
1:5ffad9f24d63 | 5 | ], |
ccli8 |
1:5ffad9f24d63 | 6 | "target_overrides": { |
ccli8 |
1:5ffad9f24d63 | 7 | "*": { |
ccli8 |
13:8114b540d342 | 8 | "platform.stdio-baud-rate" : 115200, |
ccli8 |
12:97762a6f55e9 | 9 | "platform.stdio-convert-newlines" : true, |
ccli8 |
12:97762a6f55e9 | 10 | "platform.heap-stats-enabled" : 1, |
ccli8 |
23:5111e398e651 | 11 | "platform.stack-stats-enabled" : 1, |
ccli8 |
12:97762a6f55e9 | 12 | "mbed-trace.enable" : null, |
ccli8 |
12:97762a6f55e9 | 13 | "nsapi.default-wifi-security" : "WPA_WPA2", |
ccli8 |
12:97762a6f55e9 | 14 | "nsapi.default-wifi-ssid" : "\"SSID\"", |
ccli8 |
29:e890b0fdce53 | 15 | "nsapi.default-wifi-password" : "\"PASSWORD\"" |
ccli8 |
1:5ffad9f24d63 | 16 | }, |
ccli8 |
1:5ffad9f24d63 | 17 | "NUMAKER_PFM_NUC472": { |
ccli8 |
21:0903065795a0 | 18 | "target.network-default-interface-type" : "ETHERNET", |
ccli8 |
29:e890b0fdce53 | 19 | "my-tlssocket.tls-max-frag-len" : 4, |
ccli8 |
29:e890b0fdce53 | 20 | "target.macros_add" : ["MBEDTLS_ENTROPY_HARDWARE_ALT"] |
ccli8 |
1:5ffad9f24d63 | 21 | }, |
ccli8 |
1:5ffad9f24d63 | 22 | "NUMAKER_PFM_M487": { |
ccli8 |
21:0903065795a0 | 23 | "target.network-default-interface-type" : "ETHERNET", |
ccli8 |
29:e890b0fdce53 | 24 | "my-tlssocket.tls-max-frag-len" : 4, |
ccli8 |
29:e890b0fdce53 | 25 | "target.macros_add" : ["MBEDTLS_ENTROPY_HARDWARE_ALT"] |
ccli8 |
15:47ab2fe3a0fc | 26 | }, |
ccli8 |
15:47ab2fe3a0fc | 27 | "NUMAKER_IOT_M487": { |
ccli8 |
15:47ab2fe3a0fc | 28 | "target.network-default-interface-type" : "WIFI", |
ccli8 |
26:e5cfc2628e84 | 29 | "my-tlssocket.tls-max-frag-len" : 4, |
ccli8 |
28:4c196d0b769b | 30 | "esp8266.tx" : "PH_8", |
ccli8 |
28:4c196d0b769b | 31 | "esp8266.rx" : "PH_9", |
ccli8 |
28:4c196d0b769b | 32 | "esp8266.rts" : "A2", |
ccli8 |
28:4c196d0b769b | 33 | "esp8266.cts" : "A3", |
ccli8 |
28:4c196d0b769b | 34 | "esp8266.rst" : "PH_3", |
ccli8 |
29:e890b0fdce53 | 35 | "esp8266.provide-default" : true, |
ccli8 |
29:e890b0fdce53 | 36 | "target.macros_add" : ["MBEDTLS_ENTROPY_HARDWARE_ALT"] |
ccli8 |
27:b12add202b88 | 37 | }, |
ccli8 |
28:4c196d0b769b | 38 | "NU_PFM_M2351_NPSA_NS": { |
ccli8 |
27:b12add202b88 | 39 | "target.network-default-interface-type" : "WIFI", |
ccli8 |
27:b12add202b88 | 40 | "my-tlssocket.tls-max-frag-len" : 4, |
ccli8 |
28:4c196d0b769b | 41 | "esp8266.tx" : "PD_1", |
ccli8 |
28:4c196d0b769b | 42 | "esp8266.rx" : "PD_0", |
ccli8 |
28:4c196d0b769b | 43 | "esp8266.rts" : "PD_3", |
ccli8 |
28:4c196d0b769b | 44 | "esp8266.cts" : "PD_2", |
ccli8 |
28:4c196d0b769b | 45 | "esp8266.rst" : "NC", |
ccli8 |
28:4c196d0b769b | 46 | "esp8266.pwr" : "PD_7", |
ccli8 |
28:4c196d0b769b | 47 | "esp8266.provide-default" : true, |
ccli8 |
28:4c196d0b769b | 48 | "target.extra_labels_remove" : ["NU_PREBUILD_SECURE"], |
ccli8 |
28:4c196d0b769b | 49 | "target.mbed_rom_start" : "0x10010000", |
ccli8 |
28:4c196d0b769b | 50 | "target.mbed_rom_size" : "0x70000", |
ccli8 |
28:4c196d0b769b | 51 | "target.mbed_ram_start" : "0x30002000", |
ccli8 |
28:4c196d0b769b | 52 | "target.mbed_ram_size" : "0x16000" |
ccli8 |
28:4c196d0b769b | 53 | }, |
ccli8 |
28:4c196d0b769b | 54 | "NUMAKER_IOT_M263A": { |
ccli8 |
28:4c196d0b769b | 55 | "target.network-default-interface-type" : "WIFI", |
ccli8 |
28:4c196d0b769b | 56 | "my-tlssocket.tls-max-frag-len" : 4, |
ccli8 |
28:4c196d0b769b | 57 | "esp8266.tx" : "PC_7", |
ccli8 |
28:4c196d0b769b | 58 | "esp8266.rx" : "PC_6", |
ccli8 |
28:4c196d0b769b | 59 | "esp8266.rts" : "PE_13", |
ccli8 |
28:4c196d0b769b | 60 | "esp8266.cts" : "PC_8", |
ccli8 |
28:4c196d0b769b | 61 | "esp8266.rst" : "PE_12", |
ccli8 |
28:4c196d0b769b | 62 | "esp8266.provide-default" : true |
ccli8 |
1:5ffad9f24d63 | 63 | } |
ccli8 |
33:c3a985807206 | 64 | }, |
ccli8 |
33:c3a985807206 | 65 | "config": { |
ccli8 |
33:c3a985807206 | 66 | "crypto-prng-present": { |
ccli8 |
33:c3a985807206 | 67 | "help" : "With MBEDTLS_ENTROPY_HARDWARE_ALT defined, entropy is implemented with EADC+PRNG alternatively. On rare targets without PRNG e.g. M482, disable this configuration option to go EADC+S/W random.", |
ccli8 |
33:c3a985807206 | 68 | "value" : true, |
ccli8 |
33:c3a985807206 | 69 | "macro_name" : "NU_CRYPTO_PRNG_PRESENT" |
ccli8 |
33:c3a985807206 | 70 | } |
ccli8 |
1:5ffad9f24d63 | 71 | } |
ccli8 |
1:5ffad9f24d63 | 72 | } |