OVMS3-idf/components
Mahavir Jain 7dbf01afad coap: move mbedTLS config options from component to examples
CoAP component relies on some mbedTLS crypto configuration
options, e.g. DTLS and PSK. These configuration options if
selected, have footprint impact on generic TLS examples like
https_request or https_ota as well.

Footprint of https_request example with/without change is per below:

$ ./tools/idf_size.py new_https_request.map --diff old_https_request.map

<CURRENT> MAP file: new_https_request.map
<REFERENCE> MAP file: old_https_request.map
Difference is counted as <CURRENT> - <REFERENCE>, i.e. a positive number means that <CURRENT> is larger.
Total sizes of <CURRENT>:                                                 <REFERENCE>     Difference
 DRAM .data size:   14796 bytes                                                 14796
 DRAM .bss  size:   23560 bytes                                                 23680           -120
Used static DRAM:   38356 bytes ( 142380 available, 21.2% used)                 38476           -120 (   +120 available,      +0 total)
Used static IRAM:   89045 bytes (  42027 available, 67.9% used)                 89045                (     +0 available,      +0 total)
      Flash code:  554231 bytes                                                563823          -9592
    Flash rodata:  179000 bytes                                                181224          -2224
Total image size:~ 860632 bytes (.bin may be padded larger)                    872568         -11936

This commit moves relevant config options to CoAP specific examples
and also adds some run time warnings if they are kept disabled.

Closes https://github.com/espressif/esp-idf/issues/5262
2020-05-19 17:23:29 +05:30
..
app_trace Merge branch 'feature/gcovr' into 'master' 2020-04-08 15:57:08 +08:00
app_update esp_ota_ops.c: Fix size calculation to erase partition range for OTA image 2020-03-31 14:58:32 +00:00
asio asio: updated ASIO port to use latest asio and esp-idf features 2020-01-09 21:53:50 +01:00
bootloader Merge branch 'bugfix/display_partition_table' into 'master' 2020-05-04 14:51:32 +08:00
bootloader_support bootloader: Don't print an error message after WDT reset in unicore mode 2020-05-19 03:35:53 +00:00
bt Merge branch 'bugfix/V3.1.7_ble_bug_mr' into 'master' 2020-05-16 19:52:34 +08:00
cbor
coap coap: move mbedTLS config options from component to examples 2020-05-19 17:23:29 +05:30
console Update linenoise.c: calloc returning NULL is not handled 2020-05-06 13:21:56 +08:00
cxx CXX: make __attribute__((init_priority(n))) work 2020-04-08 09:11:54 +08:00
driver Merge branch 'test/sdio_ut_performance_time' into 'master' 2020-05-14 16:19:45 +08:00
efuse Remove "disable ROM BASIC boot mode" from ESP32-S2 2020-05-01 16:16:47 +10:00
esp-tls tcp_transport: close to return error only for socket error or invalid args 2020-05-05 15:53:09 +02:00
esp32 gdb: Modify PC in case of invalid PC 2020-05-08 18:34:52 +05:30
esp32s2 Merge branch 'gdb/bt_on_invalid_pc' into 'master' 2020-05-19 16:44:07 +08:00
esp_adc_cal global: bring up esp32s2(not beta) 2020-01-16 17:41:31 +08:00
esp_common mesh: support set new type 2020-05-19 11:17:56 +08:00
esp_eth ethernet: fix potential task watch dog timeout 2020-05-13 16:03:00 +08:00
esp_event esp_event: halve the events registered in performance test 2020-02-27 15:54:54 +05:00
esp_gdbstub gdbstub_xtensa.c: Replace with cpu_ll_pc_to_ptr macro 2020-05-08 18:35:48 +05:30
esp_hid esp_hid: fix memory leak if getting dev reports fails 2020-05-07 12:56:54 +00:00
esp_http_client esp_http_client: Add API to get URL from client 2020-05-07 14:20:28 +05:30
esp_http_server test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
esp_https_ota Resolve documentation issue reported by boarchuz in https://esp32.com/viewtopic.php?f=5&t=14148#p59419 2020-05-07 22:00:27 +02:00
esp_https_server esp_https_server: fix HTTPD_SSL_CONFIG_DEFAULT 2020-03-27 23:12:57 +08:00
esp_local_ctrl
esp_netif esp-netif: Added API to get the underlying interface name 2020-05-18 09:26:24 +02:00
esp_ringbuf freertos: place xQueueGenericCreateStatic into flash 2020-04-22 16:06:13 +08:00
esp_rom fix broken CONFIG_LEGACY_INCLUDE_COMMON_HEADERS 2020-04-20 14:01:09 +08:00
esp_serial_slave_link essl: new component to communicate with esp serial slave devices 2019-12-03 22:58:41 +08:00
esp_system gdb: Modify PC in case of invalid PC 2020-05-08 18:34:52 +05:30
esp_timer esp_timer: alias esp_timer_get_time 2020-04-01 16:51:43 +08:00
esp_websocket_client ws_client: fix fragmented send setting proper opcodes 2020-04-14 16:11:32 +02:00
esp_wifi mesh: support set new type 2020-05-19 11:17:56 +08:00
espcoredump coredump: Fixes coredump data overwriting due to 'TaskSnapshot_t' and 'core_dump_task_header_t' difference 2020-05-06 15:04:58 +03:00
esptool_py esp-idf: Update esptool and add reedsolo and bitstring into requirements.txt 2020-05-14 13:29:21 +10:00
expat test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
fatfs Merge branch 'refactor/use_new_component_registration_functions' into 'master' 2020-03-25 08:02:42 +08:00
freemodbus freemodbus: add extern c block into common header for cpp 2020-04-17 17:56:50 +08:00
freertos Fix usage example in xSemaphoreCreateBinaryStatic 2020-05-14 18:57:48 +08:00
heap heap: added alloc failed hook and configuration options 2020-05-04 10:58:38 -03:00
idf_test spi_flash: add unit test for read/write performance 2020-05-17 22:06:03 +08:00
jsmn jsmn: define macros in build system 2019-11-29 18:05:24 +08:00
json cJSON: include only source file objects for cmake build 2020-02-05 11:14:23 +05:30
libsodium test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
log log: new macros to log when the cache is disabled 2020-04-02 15:35:13 +08:00
lwip dhcpserver: make subnet mask configurable 2020-04-30 14:04:22 +00:00
mbedtls Merge branch 'feature/mbedtls_dynamic_memory' into 'master' 2020-05-18 13:55:05 +08:00
mdns mdns: Allow config mDNS task stack size 2020-05-07 21:49:02 +02:00
mqtt mqtt: clenaup logs and docs 2020-04-30 14:05:36 +00:00
newlib Merge branch 'bugfix/esp32_eco3_init_syscall_table' into 'master' 2020-05-07 15:17:13 +08:00
nghttp
nvs_flash NVS: more graceful behavior for erasing partitions 2020-04-03 11:48:07 +08:00
openssl
partition_table partition_table: Fix parttool.py crashes when retrieving partition info 2020-05-13 16:10:48 +08:00
perfmon test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
protobuf-c
protocomm protocomm_httpd: Restart security session if request is received on a new session 2020-05-11 13:01:13 +00:00
pthread pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper 2020-05-08 11:55:23 +05:30
sdmmc sdmmc: fix possible null dereference in output parameter assignement, whilst it was null checked as an input parameter 2020-03-27 18:46:39 +01:00
soc Merge branch 'gdb/bt_on_invalid_pc' into 'master' 2020-05-19 16:44:07 +08:00
spi_flash spi_flash: add unit test for read/write performance 2020-05-17 22:06:03 +08:00
spiffs spiffs: restore dependency of flash targets on spiffs images 2020-04-07 17:01:58 +08:00
tcp_transport tcp_transport: unit test for tcp connection timeout 2020-05-05 15:53:09 +02:00
tcpip_adapter lwip: Enable IPv6 stateless address autoconfiguration 2020-01-14 07:15:26 +00:00
tinyusb soc/usb: use new headers in LL, move some code out of LL 2020-04-29 10:04:13 +02:00
ulp Add missing link to ulp header files and link to example following https://esp32.com/viewtopic.php?f=2&t=15562 2020-05-14 17:31:05 +08:00
unity global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
vfs vfs: semihost driver bugfix 2020-04-15 15:46:47 +02:00
wear_levelling test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
wifi_provisioning wifi_provisioning: Catch the Wi-Fi events even after Connection errors 2020-03-21 06:02:55 +00:00
wpa_supplicant wpa_supplicant: Fix memory leaks in WPA3 connection 2020-05-13 22:54:03 +05:30
xtensa esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced 2020-04-17 19:35:23 +05:30