Ivan Grokhotkov
aa489dba07
esp32s3: sync memprot header from esp32s2, fixing compilation error
...
Since 497b730e8f
, panic_handler.c calls
esp_memprot_get_active_intr_memtype instead of
esp_memprot_is_assoc_intr_any.
2020-10-08 22:20:39 +02:00
Krzysztof Budzynski
e0261f18ce
Merge branch 'feature/add_esp_rom_printf_to_api_reference' into 'master'
...
docs: Add esp_rom_printf to API Reference
Closes DOC-454
See merge request espressif/esp-idf!10251
2020-10-09 04:06:10 +08:00
Ivan Grokhotkov
2e0c716db7
Merge branch 'bugfix/ci_python3_compatibility' into 'master'
...
CI: fix Python 3 compatibility in example checker
See merge request espressif/esp-idf!10740
2020-10-08 18:10:09 +08:00
Andrei Gramakov
3164116abd
Update tinyusb_cdcacm_write_flush
to using ticks counting instead of the FreeRTOS timer
2020-10-08 09:42:44 +02:00
Mahavir Jain
c1bfaf7334
Merge branch 'bugfix/protocomm_mem_failure' into 'master'
...
protocomm_console.c: Check if memory is allocated to buf and if not then...
See merge request espressif/esp-idf!10733
2020-10-08 15:30:23 +08:00
Angus Gratton
4289ca3e0e
Merge branch 'feature/freertos_timer_task_optional' into 'master'
...
freertos: save up to 4 kB of RAM if timer functionality is not used by the app
See merge request espressif/esp-idf!10721
2020-10-08 11:26:13 +08:00
Angus Gratton
55728ae7d0
Merge branch 'feature/esp32s2_memprot_rtc_test2' into 'master'
...
esp32s2: mem_prot support for RTC_FAST/RTC_SLOW upgrade + tests
See merge request espressif/esp-idf!10620
2020-10-08 11:19:24 +08:00
Martin Vychodil
497b730e8f
* memprot support for RTC_SLOW
...
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Angus Gratton
e28cd68839
esp_system: Add test case for using deep sleep wake stub when stack is in RTC memory
...
This test currently fails on ESP32 & ESP32-S2, fix will be in next commit.
2020-10-08 11:17:27 +11:00
Angus Gratton
80f993bf31
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci' into 'master'
...
CI: get git describe from annotated tags
Closes IDFCI-129 and IDFGH-721
See merge request espressif/esp-idf!10671
2020-10-07 10:43:01 +08:00
Angus Gratton
1612f84ab3
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 10:00:59 +11:00
Angus Gratton
261363855c
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 09:36:40 +11:00
Roland Dobai
6956603554
CI: fix Python 3 compatibility in example checker
2020-10-06 19:16:17 +02:00
Angus Gratton
e456af6537
Merge branch 'bugfix/fix_example_mapping' into 'master'
...
examples: fix eeprom ldgen mapping
See merge request espressif/esp-idf!10654
2020-10-06 16:20:51 +08:00
kewal shah
9a16b551ef
protocomm_console.c: Check if memory is allocated to buf and if not then return ESP_ERR_NO_MEM error
2020-10-06 10:13:40 +05:30
Angus Gratton
26a0df0423
Merge branch 'bugfix/bootloader_anti_rollback_mmap' into 'master'
...
bootloader_support: fix issue in memory mapping for getting app descriptor
Closes IDFGH-4038
See merge request espressif/esp-idf!10679
2020-10-06 07:44:37 +08:00
Angus Gratton
4b36da3f33
Merge branch 'feature/parttool_add_options_to_info_cmd' into 'master'
...
partition_table: Extend the get_partition_info command
See merge request espressif/esp-idf!10537
2020-10-06 07:35:32 +08:00
Chinmay Chhajed
3c0f06adb2
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-05 12:14:47 +00:00
KonstantinKondrashov
55dc1524ee
partition_table: Extend the get_partition_info command
...
A manufactory tool needs to retrieve info about partitions. With a new flag - "--part_list" we can get a list of partitions with the same type/subtype and easily iterate by it.
- name and flag arguments
- added flag "--part_list" to get a list of partitions with the same type/subtype
- save prev behavior of the get_partition_info command (return the only first item)
- added host test
2020-10-05 17:56:43 +08:00
David Čermák
28d2b7a9b3
Merge branch 'bugfix/esp_netif_non_lwip' into 'master'
...
esp-netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
Closes IDFGH-3971
See merge request espressif/esp-idf!10472
2020-10-05 16:16:11 +08:00
David Čermák
f1eb4b827e
Merge branch 'bugfix/lwip_netdb_cpp_guards' into 'master'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code
Closes IDFGH-4027
See merge request espressif/esp-idf!10681
2020-10-05 15:51:00 +08:00
David Čermák
39b9e46273
Merge branch 'bugfix/optionally_set_smi_gpio' into 'master'
...
esp_eth_mac_esp32: optionally setup SMI GPIO's
Closes IDFGH-4030
See merge request espressif/esp-idf!10589
2020-10-05 15:24:11 +08:00
Angus Gratton
1eefe6494c
Merge branch 'feature/rsa_caps' into 'master'
...
RSA: add max RSA bit len as a soc caps
See merge request espressif/esp-idf!10594
2020-10-05 12:56:28 +08:00
Michael (XIAO Xufeng)
a263d9a8e4
Merge branch 'fix/esp_flash_idle_logic' into 'master'
...
esp_flash: fix the incorrect check_idle logic in LL and chip_driver
See merge request espressif/esp-idf!10530
2020-10-03 09:18:41 +08:00
Ivan Grokhotkov
654124adf0
freertos: don't create timer task if timer APIs are not used
...
Saves 2496 bytes of heap for the hello-world app on the ESP32,
and 4080 bytes of heap on the ESP32-S2 (due to IRAM savings).
2020-10-02 17:58:36 +02:00
Ivan Grokhotkov
8c246fd4f3
driver: add diagnostic information into UART test, enable flow control
2020-10-02 17:33:35 +02:00
Ivan Grokhotkov
5eebdd1de2
espcoredump: fix exception when -thread-info fails
...
GDB "-thread-info N" command (for a specific thread N) may fail if
GDB can not perform a backtrace. At the same time, "-thread-info"
command succeeds in this situation, returning information for all
threads.
Replace repeated calls to "-thread-info N" with a single call to
"-thread-info", also reducing the total execution time.
2020-10-02 16:54:32 +02:00
Angus Gratton
001a6be9b1
Merge branch 'bugfix/esp_pm_ignore_failing_test' into 'master'
...
esp_pm: temporarily disable failing test
See merge request espressif/esp-idf!10683
2020-10-02 14:01:28 +08:00
Michael (XIAO Xufeng)
fe37db3271
esp_flash: fix the incorrect check_idle logic in LL and chip_driver
2020-10-02 05:34:36 +00:00
Mahavir Jain
92b72aa6c8
Merge branch 'bugfix/http_digest_auth' into 'master'
...
esp_http_client: Include port in host field, fix return type in API declaration
Closes IDFGH-1344
See merge request espressif/esp-idf!10590
2020-10-01 16:47:26 +08:00
Mahavir Jain
b9c14aa65d
Merge branch 'bugfix/esp_coredump_fixes_for_s2' into 'master'
...
esp_coredump: rename all config options to have generic `ESP` prefix
See merge request espressif/esp-idf!10697
2020-10-01 16:40:13 +08:00
Ivan Grokhotkov
48baf1294a
Merge branch 'bugfix/cmock_flake8' into 'master'
...
Add Python-style ignore for the cmock component
See merge request espressif/esp-idf!10704
2020-10-01 00:17:43 +08:00
Ivan Grokhotkov
db09f9815b
Merge branch 'bugfix/apptrace_opt2_build' into 'master'
...
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds
See merge request espressif/esp-idf!10690
2020-09-30 22:57:46 +08:00
Mahavir Jain
20af94ff53
Coredump config option rename throughout IDF
2020-09-30 20:22:27 +05:30
Mahavir Jain
bd19088125
esp_system: initialize coredump for ESP32-S2
...
This was regression introduced in recent refactoring changes
from startup code.
2020-09-30 20:22:27 +05:30
Mahavir Jain
237087a5ca
espcoredump: remove ESP32 prefix from config options
...
- This component is applicable for ESP32 and ESP32-S2, hence the change
- Backward compatibility is maintained using `sdkconfig.rename` file
2020-09-30 20:22:27 +05:30
Shubham Kulkarni
b06035443f
esp_http_client: Include port in host field
...
Closes: https://github.com/espressif/esp-idf/issues/3628
2020-09-30 15:39:42 +05:30
Renz Bagaporo
72176e275d
esp32s2, esp32s3: delete unneeded cpu.h
2020-09-30 17:58:00 +08:00
Roland Dobai
54ae6b871d
Add Python-style ignore for the cmock component
2020-09-30 10:06:46 +02:00
Mahavir Jain
e08a3e1d63
test_apps: add anti rollback configuration for bootloader build
2020-09-30 12:21:24 +05:30
Shubham Kulkarni
661c18c578
esp_http_client.h: Fix return type in declaration of esp_http_client_flush_response.
...
Closes: https://github.com/espressif/esp-idf/pull/5845
2020-09-30 11:25:07 +05:30
Mahavir Jain
ab988ab5ca
bootloader_support: move anti rollback API to common loader section
...
API `bootloader_common_get_partition_description` is required for
anti-rollback feature and should be part of common loader code.
2020-09-30 11:13:13 +05:30
Mahavir Jain
5b344610c9
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here insures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-09-30 11:13:13 +05:30
He Yin Ling
0f8d1cbf1b
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:28:59 +08:00
Jiang Jiang Jian
c34c961910
Merge branch 'bugfix/coex_some_bugfix_about_ble_dyn_prio' into 'master'
...
components/coex: Some bugfix about ble dynamic prio
Closes BT-1025
See merge request espressif/esp-idf!10189
2020-09-30 10:48:12 +08:00
Angus Gratton
a88ff4faf5
Merge branch 'bugfix/codeowners_hal' into 'master'
...
gitlab: add hal component to CODEOWNERS
See merge request espressif/esp-idf!10619
2020-09-30 10:43:24 +08:00
Angus Gratton
83a7891f84
Merge branch 'feature/intr_alloc' into 'master'
...
feature/intr_alloc: moved interrupt allocator to the esp-system and refactored it moving all platform specific code to its place
Closes IDF-1913
See merge request espressif/esp-idf!10267
2020-09-30 07:44:12 +08:00
Felipe Neves
2e826b7a8f
intr_alloc: split interrupt allocator into common-code and platform-code
...
esp_system: removed repeated interrupt allocator code and moved common code to esp_system
xtens: moved xtensa specific code from freertos to the xtensa component
hal/interrupt_controller: added interrupt controller hal and ll files
docs: update the doxyfile with new location of esp_itr_alloc.h file
xtensa: fixed dangerous relocation problem after moving xtensa interrupt files out of freertos
docs: removed Xtensa reference from intr_allocator api-reference
xtensa: pushed the interrupt function that manages non iram interrupts to the xtensa layer
esp_system/test: fixed platform dependent setting for intr_allocator tests
hal: rename the functions used to manage non iram interrupt mask.
2020-09-30 07:44:12 +08:00
Alexey Gerenkov
1850941550
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds
2020-09-29 18:19:34 +03:00
baohongde
628655b6be
components/coex: Some bugfix about ble dynamic prio
...
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
Rewrite ble dynamic prio in connection establishment
Fix ble dynamic prio with latency
Fix status bit set error when conn fail
2020-09-29 21:08:13 +08:00