Commit Graph

28796 Commits

Author SHA1 Message Date
Mahavir Jain
7b995355ba
startup: fix incorrect MMU configuration issue for the RAM loadable ELF
For RAM loadable ELF, entire firmware is running from RAM and hence the
IROM/DROM size must be treated as 0 (no cache mappings created for
code/rodata).
2023-03-20 11:12:06 +05:30
Mahavir Jain
bad4cd7072
spi_flash: RAM loadable ELF should have dangerous writes option allowed
For RAM loadable ELF case, there is no application or the bootloader on
the flash. And hence the check for getting current running OTA partition
or looking up partition table fails during dangerous writes option.

We are disabling the dangerous writes option for RAM loadable ELF case
and allowing writes to entire flash memory.
2023-03-20 11:10:29 +05:30
Jiang Jiang Jian
159edc5d86 Merge branch 'bugfix/h2_controller' into 'master'
Bluetooth : Fixed h2 controller function definition

See merge request espressif/esp-idf!22796
2023-03-17 15:20:35 +08:00
Jiang Jiang Jian
2658fb7623 Merge branch 'feature/add_memprot_support_for_esp32h2' into 'master'
esp32h2: enable memory protection scheme using PMA and PMP

Closes IDF-6452 and IDF-6332

See merge request espressif/esp-idf!22699
2023-03-17 15:19:52 +08:00
Roland Dobai
b08d08d766 Merge branch 'docs/simplify_udev_rules_instructions' into 'master'
docs: Simplify OpenOCD udev rules instructions for manual Linux installation

See merge request espressif/esp-idf!22628
2023-03-17 14:30:23 +08:00
Jiang Jiang Jian
3f3a2cf560 Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep' into 'master'
rtc_sleep: workaround systimer stall issue during sleep on ESP32C3

See merge request espressif/esp-idf!22739
2023-03-17 14:16:36 +08:00
Marius Vikhammer
34ad5d8d29 Merge branch 'docs/extra_component_dirs' into 'master'
docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide

See merge request espressif/esp-idf!22792
2023-03-17 11:28:45 +08:00
Fu Hanxi
ca5dd7f0b3 Merge branch 'ci/fix_dangerjs_close_not_jira_link' into 'master'
ci: fix dangerjs "closes anything_but_not_a_jira_link"

See merge request espressif/esp-idf!22797
2023-03-17 09:11:26 +08:00
Mahavir Jain
4f0769d2ed Merge branch 'ci/fix_efuse_tests_when_blocks_are_not_free' into 'master'
efuse: Fix some tests, some CI chips may already have blocks written

See merge request espressif/esp-idf!22794
2023-03-16 21:43:56 +08:00
Fu Hanxi
c097f5dbc3 Update .gitlab/dangerjs/mrDescriptionJiraLinks.js 2023-03-16 21:00:57 +08:00
Fu Hanxi
a0b98e9945 ci: fix dangerjs "closes anything_but_not_a_jira_link" 2023-03-16 20:44:26 +08:00
isha.pardikar@espressif.com
7d3e347ba2 Bluetooth : Fixed h2 controller function definition 2023-03-16 18:03:39 +05:30
Zim Kalinowski
7c090d9a42 Merge branch 'bugfix/bootloader-ignored-warnings' into 'master'
bootloader: fix and re-enable no-format warnings

Closes IDF-6789

See merge request espressif/esp-idf!22715
2023-03-16 19:57:58 +08:00
Zim Kalinowski
956a4514b8 Merge branch 'docs/broken_links_4' into 'master'
docs: fix broken links

See merge request espressif/esp-idf!22747
2023-03-16 19:53:38 +08:00
KonstantinKondrashov
77a8b1afef efuse: Fix some tests, some CI chips may already have blocks written 2023-03-16 18:19:08 +08:00
Marius Vikhammer
a0764049fa docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide 2023-03-16 16:52:03 +08:00
Roland Dobai
786c68bf65 Merge branch 'feature/export_fish_exit_code_success' into 'master'
Tools: export.fish exit with success exit code

Closes IDFGH-9460

See merge request espressif/esp-idf!22568
2023-03-16 16:37:42 +08:00
Wan Lei
3b62bf59c4 Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'
mspi: turn down freq to fix crash when sleep

Closes IDF-6881

See merge request espressif/esp-idf!22491
2023-03-16 14:11:21 +08:00
Shu Chen
e995db71c1 Merge branch 'openthread/disable_ipv4' into 'master'
openthread: Fix errors after disabling IPv4 in LwIP

See merge request espressif/esp-idf!22658
2023-03-16 13:57:04 +08:00
Mahavir Jain
361f6821a0 Merge branch 'feature/esp_http_client_esp_events' into 'master'
esp_http_client: Add support for esp_events

See merge request espressif/esp-idf!21113
2023-03-16 13:25:38 +08:00
Aditya Patwardhan
85b1efc729 Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
Update common cert authorities csv

See merge request espressif/esp-idf!22713
2023-03-16 12:59:48 +08:00
Wang Zi Yan
a44c68dfe0 Merge branch 'docs/update_translation_for_jtag-debugging' into 'docs/simplify_udev_rules_instructions'
docs: update translation for configure-ft2232h-jtag.rst and configure-other-jtag.rst

See merge request espressif/esp-idf!22723
2023-03-16 11:46:14 +08:00
wanlei
a48d1a85c1 mspi: add test_app measuring time cost of mspi APIs
and merge mspi unit test into this
2023-03-16 11:11:43 +08:00
Wang Zi Yan
6c8d4ed6ec docs: update translation for configure-ft2232h-jtag.rst and configure-other-jtag.rst 2023-03-16 10:29:28 +08:00
Sudeep Mohanty
c77b5752ef Merge branch 'feature/freertos_schedule_unblocked_task_on_unsuspended_core' into 'master'
FreeRTOS-IDF: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches

Closes IDF-5856

See merge request espressif/esp-idf!22627
2023-03-16 00:20:44 +08:00
Roland Dobai
4bf12081e2 Merge branch 'bugfix/non_default_sdkconfig' into 'master'
tools: fix usage of sdkconfig with custom path or name

Closes IDF-1369

See merge request espressif/esp-idf!22520
2023-03-15 20:53:38 +08:00
liuning
14ca81f03f rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3 2023-03-15 20:33:03 +08:00
David Čermák
76730607a7 Merge branch 'bugfix/lwip_opts_sock_macro_param' into 'master'
lwip: Fix lwiopts macro expansion

See merge request espressif/esp-idf!22745
2023-03-15 20:24:45 +08:00
Rahul Tank
a945b85543 Merge branch 'bugfix/add_debug_check' into 'master'
Nimble: Added debug relate flag around debug code

See merge request espressif/esp-idf!22764
2023-03-15 18:04:09 +08:00
Mahavir Jain
233d8e1a33
esp32c6: Ensure that previous PMP entry is correctly set for TOR case 2023-03-15 13:16:27 +05:30
Mahavir Jain
891df4eff9
Cleanup soc_memprot_types.h for C6/H2
This header is not required as there is no PMS peripheral in C6/H2

Closes IDF-6332
2023-03-15 13:16:27 +05:30
Mahavir Jain
b29ed0ba0b
test_apps: enable memprot tests for ESP32-H2 target 2023-03-15 13:16:26 +05:30
Mahavir Jain
fb1ef7c6d6
esp32h2: enable memory protection scheme using PMA and PMP
Closes IDF-6452
2023-03-15 13:16:18 +05:30
Sudeep Mohanty
9b81e2b189 freertos: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches
FromISR APIs would put an unblocked task on the pending ready list if
the scheduler is suspended on the current core, irrespective of the
task's core affinity and the state of the scheduler on the other core.
This commit updates this behavior by allowing tasks to get scheduled on
a core which has the scheduler running as long as the task's core
affinity allows it.
2023-03-15 07:43:33 +00:00
Darian
d3d5b77363 Merge branch 'bugfix/flakey_task_snapshot_tests' into 'master'
FreeRTOS: Fix flakey task snapshot tests

See merge request espressif/esp-idf!22743
2023-03-15 15:41:55 +08:00
Marius Vikhammer
54b9f7ebf0 Merge branch 'ci/fix_efuse_secure_tests' into 'master'
efuse: Do not check key number

See merge request espressif/esp-idf!22767
2023-03-15 15:13:39 +08:00
Harshit Malpani
0cc243a8cc
esp_http_client: remove dependency of esp_stubs from esp_http_client. Add esp_event stubs in linux component 2023-03-15 11:48:11 +05:30
Harshit Malpani
674fd8feb8
esp_http_client: Add support for esp_events 2023-03-15 11:48:11 +05:30
Marius Vikhammer
558e61b19f Merge branch 'apptrace_usb_jtag_test_fix_' into 'master'
example/apptrace_basic: remove port parameter from pytest

See merge request espressif/esp-idf!22681
2023-03-15 14:14:16 +08:00
Jiang Jiang Jian
745c06626d Merge branch 'h2/support-ecc' into 'master'
esp32h2: Add support for ECC hardware accelerator

See merge request espressif/esp-idf!22274
2023-03-15 14:06:23 +08:00
Jiang Jiang Jian
948a895f24 Merge branch 'bugfix/fix_ram_app_mmu_issue' into 'master'
RAM APP: fixed cannot use external memory correctly issue

Closes IDF-7019 and IDF-7039

See merge request espressif/esp-idf!22682
2023-03-15 14:04:44 +08:00
Fu Hanxi
8d34fa8434 Merge branch 'ci/fix_dangerjs_with_null_jira_issue_description' into 'master'
ci: fix dangerjs when jira link has null description

See merge request espressif/esp-idf!22770
2023-03-15 13:58:02 +08:00
Fu Hanxi
5f7104c5ba ci: fix dangerjs when jira link has null description 2023-03-15 12:02:06 +08:00
Mu Hai Dong
40cc39528c Merge branch 'feature/multiple_antenna_example' into 'master'
add multiple antenna test example

Closes WIFI-5237 and WIFI-4985

See merge request espressif/esp-idf!22452
2023-03-15 11:49:09 +08:00
wanlei
d0c70aa7ac mspi: turn down freq to fix crash when sleep 2023-03-15 11:26:34 +08:00
Armando
785bd812e9 cpu_start: move esp_rom_spiflash_attach earilier
esp_rom_spiflash_attach is called in cpu_start.c when it's
CONFIG_APP_BUILD_TYPE_RAM && !CONFIG_APP_BUILD_TYPE_PURE_RAM_APP.

This function will:
- reset MSPI
- configure MSPI IOs
- configure MSPI into slow read mode

Prior to this commit, this function is put quite late. It's OK for chips
earlier than C6. On C6 and H2, MMU registers are in SPI_MEM_x, so
resetting MSPI registers will also reset MMU registers.

After this commit, this funciton is called eariler, before
cpu_start.c: bootloader_init().
2023-03-15 10:59:20 +08:00
Armando
bae6680207 mmu: hal function to init, and hal function to unmap all 2023-03-15 10:59:20 +08:00
Armando
929b7717ff system: fixed ram app cannot use mmu correctly issue 2023-03-15 10:59:20 +08:00
Zhi Wei Jian
ad1999f03c Merge branch 'feature/support_esp32c3_new_app_lib' into 'master'
Update BLE lib for ESP32C3 and ESP32S3

Closes BLERD2QA23-11, BLEQABR23-60, BLERD2QA23-24, BT-3197, and BT-3215

See merge request espressif/esp-idf!22668
2023-03-15 10:54:42 +08:00
Zim Kalinowski
f6453b7938 bootloader: fix and re-enable no-format warnings 2023-03-15 00:28:31 +01:00