OVMS3-idf/components
Ivan Grokhotkov 3d0466ccd1 C++: add provisions for optional RTTI support
Ref. https://github.com/espressif/esp-idf/issues/1684

This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.

Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.

If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.

Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-18 11:22:39 +02:00
..
app_trace gcov_example: Adds cmake target to generate report 2019-07-05 12:44:35 +00:00
app_update Add chip revision into image header 2019-10-08 02:45:36 +00:00
asio components: use new component registration api 2019-06-21 19:53:29 +08:00
bootloader Fix Kconfig issues discovered by upstream Kconfiglib 2019-09-25 08:25:51 +02:00
bootloader_support bootloader_support: fix logging prints around chip revision 2019-10-13 11:58:16 +05:30
bt NimBLE: Misc changes in NimBLE porting layer and menuconfig option (Backport 4.0) 2019-10-18 13:18:09 +08:00
coap lwip_2.1.2 for idf_4.0 2019-07-07 01:51:45 +00:00
console cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
cxx components: use new component registration api 2019-06-21 19:53:29 +08:00
driver Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_4.0' into 'release/v4.0' 2019-09-26 21:25:20 +08:00
efuse Merge branch 'feature/add_psram_workaround_option_4.0' into 'release/v4.0' 2019-10-10 11:00:29 +08:00
esp-tls ESP32/esp-tls: include esp_err.h in esp_tls.h 2019-10-07 17:47:51 +05:30
esp32 C++: add provisions for optional RTTI support 2019-10-18 11:22:39 +02:00
esp_adc_cal esp_adc_cal: Remove deprecated ADC calibration functions 2019-09-19 18:48:14 +10:00
esp_common Cosmetic Kconfig fixes 2019-10-10 09:11:01 +02:00
esp_eth ethernet: fix crash in unit test 2019-10-10 10:43:42 +08:00
esp_event esp_event: add missing header include 2019-07-26 13:58:26 +05:30
esp_gdbstub esp32_gdbstub: fix build error with esp32-2019r1 toolchain 2019-08-13 11:38:28 +05:30
esp_http_client fixes : set_url discards username and password 2019-10-12 10:50:11 +05:30
esp_http_server httpd_sess_close: Check for session validity before closing 2019-09-12 08:41:31 +00:00
esp_https_ota esp_https_ota: Removed unnecessary free() 2019-06-25 23:41:33 +00:00
esp_https_server esp_https_server: Add support for esp-tls server APIs 2019-06-25 23:43:35 +00:00
esp_local_ctrl cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files 2019-07-05 18:20:15 +05:30
esp_ringbuf ringbuf: Remove deprecated RingbufferType_t 2019-09-19 18:48:55 +10:00
esp_rom bugfix(flash): add flash config in app startup 2019-07-18 14:40:59 +08:00
esp_websocket_client ws_client: fix double delete issue in ws client initialization 2019-07-15 13:15:07 +02:00
esp_wifi Coexist: fix some coexist bugs 2019-09-30 11:42:05 +08:00
espcoredump coredump: use esp_flash api in coredump 2019-09-18 15:14:53 +08:00
esptool_py Add chip revision into image header 2019-10-08 02:45:36 +00:00
expat components: use new component registration api 2019-06-21 19:53:29 +08:00
fatfs fatfs: Remove esp_vfs_fat_unregister() 2019-09-19 18:49:37 +10:00
freemodbus cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
freertos Fix Kconfig issues discovered by upstream Kconfiglib 2019-09-25 08:25:51 +02:00
heap heap: Fix printf usage in heap poisoning 2019-10-11 03:10:56 +00:00
idf_test Coexist: fix some coexist bugs 2019-09-30 11:42:05 +08:00
jsmn components: use new component registration api 2019-06-21 19:53:29 +08:00
json Update cJSON to v1.7.12 2019-08-21 18:40:50 +10:00
libsodium cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
log components: use new component registration api 2019-06-21 19:53:29 +08:00
lwip Fix error code collision and CI check 2019-09-03 08:07:16 +02:00
mbedtls NimBLE: Add optional mbedTLS support to NimBLE (backport) 2019-09-23 21:37:40 +08:00
mdns Merge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master' 2019-07-27 17:25:25 +08:00
mqtt mqtt: referenced esp-mqtt master to close disconnection issues and fix static analysis warnings 2019-07-18 10:34:10 +02:00
newlib newlib: Fix UT - test time adjustment happens linearly 2019-10-14 14:52:04 +08:00
nghttp cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
nvs_flash Fix Kconfig issues discovered by upstream Kconfiglib 2019-09-25 08:25:51 +02:00
openssl Fix Kconfig issues discovered by upstream Kconfiglib 2019-09-25 08:25:51 +02:00
partition_table Fix Kconfig issues discovered by upstream Kconfiglib 2019-09-25 08:25:51 +02:00
protobuf-c components: use new component registration api 2019-06-21 19:53:29 +08:00
protocomm cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files 2019-07-05 18:20:15 +05:30
pthread pthread: remove ESP32_ prefix from Kconfig options 2019-07-29 04:43:49 +02:00
sdmmc sdmmc_io: support to print CIS information 2019-07-29 10:41:17 +08:00
soc Merge branch 'fix/esp_flash_coredump_4.0' into 'release/v4.0' 2019-09-26 21:26:53 +08:00
spi_flash Merge branch 'fix/esp_flash_coredump_4.0' into 'release/v4.0' 2019-09-26 21:26:53 +08:00
spiffs global: update note in the partition tables 2019-07-27 10:28:16 +02:00
tcp_transport components: fix incorrect include dir args 2019-08-28 10:28:17 +08:00
tcpip_adapter Modify IPv6 functionality compatible with lwip2.1.2 2019-07-16 16:22:11 +08:00
ulp components: use new component registration api 2019-06-21 19:53:29 +08:00
unity cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
vfs VFS: Fix memory access after free() in UART select() 2019-09-12 08:38:31 +02:00
wear_levelling global: update note in the partition tables 2019-07-27 10:28:16 +02:00
wifi_provisioning wifi_prov_mgr : Added missing esp_event_post() for WIFI_PROV_END events 2019-07-13 15:48:23 +05:30
wpa_supplicant wpa_supplicant: Make internal crypto headers private (backport v4.0) 2019-09-17 13:28:30 +00:00
xtensa cmake: some formatting fixes 2019-06-21 19:53:29 +08:00