Harshit Malpani
941eb4e61e
feat: Made read_otadata() API public
...
Updated the read_otadata() API name to bootloader_common_read_otadata() and made the API public.
Closes https://github.com/espressif/esp-idf/issues/11603
2023-07-06 11:40:49 +05:30
Jiang Jiang Jian
cbcddc8ed0
Merge branch 'bugfix/fix_bootloader_wrong_spi_freq_print' into 'master'
...
bugfix: fix esp32c6 bootloader print wrong spi speed mode
See merge request espressif/esp-idf!24261
2023-07-05 12:24:04 +08:00
Zim Kalinowski
c412ac625c
Merge branch 'feature/qemu-bootloader-support' into 'master'
...
bootloader_support: Enable tests on QEMU (ESP32 and ESP32C3)
Closes IDF-7335
See merge request espressif/esp-idf!21416
2023-06-28 21:03:15 +08:00
Lou Tian Hao
7c2ac1feb6
Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
...
esp32h2: support light_sleep
Closes IDF-6266 and IDF-7359
See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
Zim Kalinowski
434a9e4e2f
ci(bootloader): Enable QEMU tests (ESP32 and ESP32C3)
2023-06-27 17:14:18 +08:00
morris
1c0be26531
fix(soc): soc header files can pass CI check
2023-06-26 23:00:45 +08:00
Lou Tianhao
117008143b
bugfix: remove the workaround implemented in MR 22773 about the lp_timer
2023-06-26 21:05:16 +08:00
Lou Tianhao
7fd74057a3
example: bringup light sleep example for esp32h2
2023-06-26 21:05:16 +08:00
wuzhenghui
d35ba005b8
bugfix: fix bootloader print wrong spi speed mode
2023-06-20 20:02:14 +08:00
Konstantin Kondrashov
c350c3c504
Merge branch 'feature/cleanup_wrong_log_use' into 'master'
...
all: Removes unnecessary newline character in logs
Closes IDFGH-10197
See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Armando
101e6a18eb
esp32p4: introduce the target
...
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Konstantin Kondrashov
f875978fb3
Merge branch 'bugfix/incorrect_time_after_ota' into 'master'
...
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
Closes IDFGH-7930
See merge request espressif/esp-idf!23030
2023-06-09 00:30:52 +08:00
KonstantinKondrashov
cb6e2133f0
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
...
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.
So now system time will be valid even after OTA.
Closes https://github.com/espressif/esp-idf/issues/9448
2023-06-08 21:59:21 +08:00
Xiao Xufeng
91fc40cfd9
esp32: stop using deprecated name PICOD2 to avoid confusion
2023-06-08 02:09:12 +08:00
Mahavir Jain
aed0e3604b
Merge branch 'bugfix/c6_h2_decrease_rng_frequency' into 'master'
...
esp_hw_support: decrease RNG read frequency for C6 and H2
See merge request espressif/esp-idf!23977
2023-05-31 16:30:37 +08:00
Jakob Hasse
d7ce04a5cd
esp_hw_support: decrease RNG read frequency on C6 and H2
...
* The RNG reading frequency of 200 KHz has been too high for
C6 and H2 since on these chips the RNG output is combined
with the RTC slow clock which is only 150KHz. Reduced the max
reading frequency via esp_random() from 200KHz to 62.5KHz,
which show best results in tests.
Also updated the bootloader_fill_random() max frequency to the
same value to be in line, even though it was just 83KHz.
2023-05-30 19:16:53 +08:00
Harshit Malpani
44e88792de
Add ESP32-H2 chip id in esp_chip_id_t
enum in esp_app_format.h header file
2023-05-30 15:19:21 +05:30
Jakob Hasse
d3f77ec352
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available
2023-05-23 18:14:51 +08:00
Cao Sen Miao
1ec55b7d1a
spi_flash: Add GD25LQ255E flash support
2023-05-17 18:28:57 +08:00
Zim Kalinowski
bd1ac6a566
Merge branch 'feature/adds_esp_bootloader_desc_t' into 'master'
...
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
Closes IDFGH-7206 and IDFGH-7573
See merge request espressif/esp-idf!21592
2023-05-15 17:54:43 +08:00
Jakob Hasse
c8791f30c0
compiler: replaced noreturn by __noreturn__ in header files
...
* noreturn may be replaced by third-party macros,
rendering it ineffective
* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-11 16:07:45 +08:00
KonstantinKondrashov
69838403f9
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
...
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
Marius Vikhammer
d17248ecdf
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-08 15:51:48 +08:00
Marek Matej
d1a447f6c0
bootloader_support: fix register backup
...
By storing the 'user2' register during the early init
we fix the flash access issue, which occurs in the
Zephyr/MCUboot ports for ESP32.
Signed-off-by: Marek Matej <marek.matej@espressif.com>
2023-05-03 15:11:10 +02:00
Marius Vikhammer
68088c6371
Merge branch 'ci/fix_overwrite_pytest_configs' into 'master'
...
ci: fixed test apps overriding idf_build_apps configs
See merge request espressif/esp-idf!23387
2023-04-27 14:32:18 +08:00
Almir Okato
8d84a5315a
Merge branch 'fix/bootloader_missing_include' into 'master'
...
bootloader_support: add missing header to bootloader_flash.c
See merge request espressif/esp-idf!23221
2023-04-27 06:26:49 +08:00
Marius Vikhammer
1a5e47bd07
ci: fixed test apps overriding pytest configs
2023-04-26 11:07:35 +08:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
Mahavir Jain
359da9ce63
Merge branch 'bugfix/efuse_hal_api_update' into 'master'
...
efuse: add efuse hal api
Closes IDF-7215
See merge request espressif/esp-idf!23217
2023-04-19 18:45:13 +08:00
Ivan Grokhotkov
274fa56e71
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
...
system: support USB_OTG CDC console on ESP32-S3
Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835
See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Sachin Billore
c3e701588e
efuse: add efuse hal api
...
Closes IDF-7215
2023-04-18 13:47:00 +05:30
Almir Okato
4b910ffa68
bootloader_support: add missing esp_rom_sys.h to bootloader_flash.c bootloader build
...
Missing esp_rom_sys.h header could cause declaration issues.
Signed-off-by: Almir Okato <almir.okato@espressif.com>
2023-04-15 16:49:12 -03:00
Cao Sen Miao
c7053641bc
spi_flash: 32M bits address flash map, (for customer use only)
2023-04-14 11:37:09 +08:00
Ivan Grokhotkov
74fa41f434
esp_rom: add USB_OTG "port" number for S2 and S3
2023-04-12 11:08:42 +02:00
Xiao Xufeng
63089b1f7e
bootloader: enable super WDT and BOD reset on C2
2023-04-11 10:23:21 +08:00
Xiao Xufeng
a2bbbd1c1c
bootloader: cleanup ana reset config code
2023-04-11 10:23:21 +08:00
Xiao Xufeng
d586a8aa13
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-11 10:23:21 +08:00
Xiao Xufeng
8a926c5b37
bootloader: removed unavailable rtc features
2023-04-11 10:23:20 +08:00
Michael (XIAO Xufeng)
c7b852b7c7
bootloader: fix analog reset on C6 and H2
2023-04-11 10:23:20 +08:00
morris
6c19e7b8a7
gdma: avoid manually start/stop when channel is controled by ETM
2023-04-06 10:49:32 +08:00
Song Ruo Jing
5816c47457
spi_flash: Move mspi clock source switch to 64M in 2nd bootloader code from rtc_clk.c to bootloader_flash_config_esp32h2.c
2023-04-04 16:09:47 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
Mahavir Jain
f22daec784
Merge branch 'feature/secure_set_efuses_to_prevent_brick_chip' into 'master'
...
security: write-protect DIS_ICAHE and DIS_DCACHE
Closes IDF-5177
See merge request espressif/esp-idf!22640
2023-03-29 11:51:09 +08:00
KonstantinKondrashov
a3232e4a5b
bootloader: Adds an option to leave DIS_CACHE writeable
2023-03-29 00:02:25 +08:00
KonstantinKondrashov
723b2e86e5
security: write-protect DIS_ICAHE and DIS_DCACHE
...
Closes IDF-5177
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
975c138fad
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-03-28 23:17:16 +08:00