esp-idf/components
Ivan Grokhotkov b7b9ea4361 newlib: add _RETARGETABLE_LOCKING support
This adds support for the retargetable locking implementation in
newlib 3. This feature will be enabled in the future toolchain builds.
With the present version of the toolchain, this code doesn't get used.

When _RETARGETABLE_LOCKING gets enabled, newlib locking implementation
will be modified as follows:

- Legacy ESP-specific _lock_xxx functions are preserved. This is done
  because ROM copies of newlib in ESP32 and ESP32-S2 rely on these
  functions through the function pointer table. Also there is some
  code in IDF which still uses these locking functions.

- New __retarget_lock_xxx functions are introduced. Newlib expects
  these functions to be provided by the system. These functions work
  pretty much the same way as the ESP-specific _lock_xxx functions,
  except one major difference: _lock_acquire receives the lock pointer
  by value, and as such doesn't support lazy initialization.

- Static locks used by newlib are now explicitly initialized at
  startup. Since it is unlikely that these static locks are used at
  the same time, all compatible locks are set to point to the same
  mutex. This saves a bit of RAM. Note that there are still many locks
  not initialized statically, in particular those inside FILE
  structures.
2020-12-29 16:18:04 +01:00
..
app_trace esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
app_update tools: Redirect some warnings to stderr 2020-12-15 12:41:20 +07:00
asio Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
bootloader esp32c3: added 2nd bootloader project linker file 2020-12-11 11:44:01 +08:00
bootloader_support Merge branch 'feature/esp32c3_small_changes' into 'master' 2020-12-24 12:36:12 +08:00
bt Bluedroid: Fixes for some vulnerabilities. 2020-12-24 10:52:12 +00:00
cbor Update tinycbor submodule in ESP-IDF 2020-06-23 08:20:16 +00:00
cmock Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
coap Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
console uart: add uart support on esp32s3 2020-11-24 19:12:51 +08:00
cxx Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
driver freertos: always enable static allocation 2020-12-29 16:18:04 +01:00
efuse efuse: Add support ESP32-C3 2020-12-23 18:39:18 +08:00
esp32 Merge branch 'feature/unify_rtc_fast_mem_as_heap_config_across_chips' into 'master' 2020-12-29 11:41:05 +08:00
esp32c3 Merge branch 'feature/unify_rtc_fast_mem_as_heap_config_across_chips' into 'master' 2020-12-29 11:41:05 +08:00
esp32s2 Merge branch 'feature/unify_rtc_fast_mem_as_heap_config_across_chips' into 'master' 2020-12-29 11:41:05 +08:00
esp32s3 Merge branch 'feature/unify_rtc_fast_mem_as_heap_config_across_chips' into 'master' 2020-12-29 11:41:05 +08:00
esp_adc_cal driver/adc: support for esp32s2 adc calibration scheme V2 2020-12-03 20:08:59 +08:00
esp_common Merge branch 'feature/unify_rtc_fast_mem_as_heap_config_across_chips' into 'master' 2020-12-29 11:41:05 +08:00
esp_eth eth: support W5500 MAC RAW mode 2020-11-16 13:30:49 +08:00
esp_event esp_event: fix misuse of recursive semaphore take/give calls for profiling_mutex 2020-12-04 11:12:27 +08:00
esp_gdbstub Docs: Add C3 support to build_docs 2020-12-28 12:25:03 +08:00
esp_hid Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_http_client Make the UserAgent string in esp-http-client configurable 2020-11-19 14:43:14 +05:30
esp_http_server esp_http_server: Add some response error code, such as 401, 403 etc. 2020-12-09 06:22:01 +00:00
esp_https_ota esp_https_ota: Add definition for esp_https_ota_abort 2020-12-03 14:49:55 +05:30
esp_https_server Fixed ssl_ctx not being freed at the time of error. 2020-11-25 13:47:38 +05:30
esp_hw_support Merge branch 'feature/esp32c3_soc_changes' into 'master' 2020-12-24 09:20:24 +08:00
esp_ipc Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_local_ctrl local-ctrl: fix memory allocation issues found by static analyser 2020-05-13 07:16:45 +02:00
esp_netif lwip: Added support for configurable LwIP hooks 2020-11-26 12:02:00 +00:00
esp_pm components/pm: Add sleep related code iram opt chioce 2020-12-23 14:45:36 +08:00
esp_ringbuf freertos: always enable static allocation 2020-12-29 16:18:04 +01:00
esp_rom newlib: add _RETARGETABLE_LOCKING support 2020-12-29 16:18:04 +01:00
esp_serial_slave_link esp_serial_slave_link: Add essl_spi definitions for esp32c3 2020-12-24 13:40:01 +11:00
esp_system newlib: add _RETARGETABLE_LOCKING support 2020-12-29 16:18:04 +01:00
esp_timer components/pm: Add sleep related code iram opt chioce 2020-12-23 14:45:36 +08:00
esp_websocket_client Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_wifi esp_wifi: fix the espnow bug for esp32c3 2020-12-25 18:31:35 +08:00
esp-tls esp_tls_wolfssl : Add domain name check 2020-12-23 18:10:36 +05:30
espcoredump coredump: Core dump is encrypted if the partition itself is encrypted 2020-12-01 16:58:45 +08:00
esptool_py ci: fix flasher_args.json parser (iterate over dictionary) 2020-12-29 12:27:51 +08:00
expat cmock: added cmock as component 2020-09-02 16:38:37 +08:00
fatfs vfs: zero-initialize struct stat in *_stat and *_fstat handlers 2020-12-29 16:18:04 +01:00
freemodbus Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
freertos freertos: always enable static allocation 2020-12-29 16:18:04 +01:00
hal Merge branch 'feature/c3_mbedtls_merge' into 'master' 2020-12-29 12:37:08 +08:00
heap heap: increase the sl to reduce the fragmentation to acceptable level. 2020-12-17 12:52:56 -03:00
idf_test mbedtls: merge changes from C3 2020-12-29 10:56:13 +08:00
jsmn Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
json Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
libsodium Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
log log: correct timestamp formatting to unsigned integer type 2020-12-14 15:03:55 +05:30
lwip lwip: Added debug config options for DHCP and TCP 2020-12-18 16:38:59 +00:00
mbedtls mbedtls: merge changes from C3 2020-12-29 10:56:13 +08:00
mdns mDNS: Fix of collision detection during txt length calculation 2020-12-18 15:38:30 +00:00
mqtt MQTT: Update submodule reference: config, error handle, minor fixes 2020-11-19 17:17:40 +01:00
newlib newlib: add _RETARGETABLE_LOCKING support 2020-12-29 16:18:04 +01:00
nghttp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
nvs_flash Merge branch 'bugfix/nvs_str_cmp' into 'master' 2020-12-24 18:28:29 +08:00
openssl Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
partition_table Merge branch 'feature/flash_binary_partition_with_name' into 'master' 2020-12-10 06:24:15 +08:00
perfmon Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
protobuf-c
protocomm protocomm_httpd: Change an info print to debug print as it isn't really required in the logs 2020-11-18 04:12:47 +00:00
pthread pthread: fix the priority inheritance 2020-11-13 06:30:11 +00:00
riscv riscv: Place stdatomic file in iram 2020-12-24 14:18:01 +11:00
sdmmc Fix minor documentation issue 2020-12-25 15:46:36 +08:00
soc Merge branch 'feature/c3_mbedtls_merge' into 'master' 2020-12-29 12:37:08 +08:00
spi_flash freertos: always enable static allocation 2020-12-29 16:18:04 +01:00
spiffs vfs: zero-initialize struct stat in *_stat and *_fstat handlers 2020-12-29 16:18:04 +01:00
tcp_transport tcp_transport: Extend transport error storage for socket error 2020-11-12 12:46:22 +00:00
tcpip_adapter Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
tinyusb vfs: zero-initialize struct stat in *_stat and *_fstat handlers 2020-12-29 16:18:04 +01:00
ulp Tools: add Python 2 deprecation warning 2020-12-02 11:08:48 +01:00
unity spi_flash: mocking should be possible now 2020-12-14 18:53:14 +08:00
vfs vfs: zero-initialize struct stat in *_stat and *_fstat handlers 2020-12-29 16:18:04 +01:00
wear_levelling wear_levelling: Re-enable for ESP32-C3 2020-12-24 14:18:01 +11:00
wifi_provisioning Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
wpa_supplicant Merge branch 'bugfix/11kv_bugfixes' into 'master' 2020-12-25 19:09:27 +08:00
xtensa xtensa: Disable component on esp32c3 2020-12-24 14:18:02 +11:00