morris
30355d3c0c
hal: avoid non-32bit access to registers
2021-10-25 12:05:55 +08:00
Wu Zheng Hui
3a9a2bcfc3
Merge branch 'bugfix/fix_stuck_in_rtc_clk_calibration_backport_v4.2' into 'release/v4.2'
...
[bugfix] Fix stuck in rtc clk calibration (backport v4.2)
See merge request espressif/esp-idf!15525
2021-10-21 13:22:20 +00:00
wuzhenghui
fe1d3401d9
fix stuck in rtc_clk_cal
2021-10-21 19:15:33 +08:00
Michael (XIAO Xufeng)
cb58226c5e
Merge branch 'bugfix/fix_touch_sensor_measure_start_wait_time_backport_v4.2' into 'release/v4.2'
...
Bugfix(Touch): fix the touch sensor wait cycle after wakeup from sleep (backport v4.2)
See merge request espressif/esp-idf!13641
2021-10-18 16:58:30 +00:00
Jiang Jiang Jian
8f8a88d5ec
Merge branch 'bugfix/fix_efuse_err_address_backport4.2' into 'release/v4.2'
...
fix efuse err address in block0 (backport v4.2)
See merge request espressif/esp-idf!14813
2021-10-15 05:44:10 +00:00
suda-morris
db956cdeca
twai: update register struct file
2021-10-12 11:10:40 +08:00
SalimTerryLi
72bb572df1
hal: avoid generate 8/16 bits intruction for register access
2021-10-12 11:06:55 +08:00
Konstantin Kondrashov
f8e2eadc51
esp32c3: Adds support BROWNOUT reset (v4.2)
2021-09-23 23:16:16 +08:00
wuzhenghui
1d63988db2
fix s2 efuse err address in block0
2021-09-16 20:16:52 +08:00
KonstantinKondrashov
6f0ad5662a
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
2021-08-12 18:45:45 +05:00
Omar Chebib
d7687ce6fa
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-07-26 06:46:21 +08:00
Darian Leung
7ca2688378
TWAI: Fix incorrect configuration initializers for low speed bit rates
...
This commit fixes the timing configuration initializers for the
1K, 5K, and 10K bit rates.
2021-07-19 17:33:58 +08:00
fuzhibo
0679862de2
Driver(Touch sensor): fix the touch sensor wait cycle after wakeup from sleep
2021-07-14 14:47:07 +08:00
Michael (XIAO Xufeng)
1fe9b428f5
Merge branch 'bugfix/fix_bit_error_in_ledc_struct_backport_v4.2' into 'release/v4.2'
...
LEDC: fix bit error in ledc_struct.h(backport v4.2)
See merge request espressif/esp-idf!14163
2021-07-04 07:49:23 +00:00
Angus Gratton
bd9a6f32dd
Merge branch 'bugfix/esp32s2_rom_address_range_backport_v4.2' into 'release/v4.2'
...
soc: Fix SOC_IROM_MASK_HIGH address (backport v4.2)
See merge request espressif/esp-idf!13662
2021-06-28 05:57:32 +00:00
Chen Yi Qun
23c7a2c628
LEDC: fix bit error in ledc_struct.h(backport v4.2)
2021-06-25 20:51:04 +08:00
Angus Gratton
54ac548cd4
Merge branch 'bugfix/esp32_u4wdh_quad_io_v4.2' into 'release/v4.2'
...
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip (v4.2)
See merge request espressif/esp-idf!13877
2021-06-23 05:37:51 +00:00
Angus Gratton
0b45e84e2a
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj_v4.2' into 'release/v4.2'
...
ldgen: Check mappings (v4.2)
See merge request espressif/esp-idf!13994
2021-06-21 23:20:59 +00:00
Renz Bagaporo
eed6eed909
components: fix ldgen check errors
2021-06-17 12:36:34 +10:00
Cao Sen Miao
8c16b4bcb3
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-15 15:24:35 +08:00
Angus Gratton
f23c9d94ae
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
...
Closes https://github.com/espressif/esp-idf/issues/6191
2021-06-09 05:10:21 +00:00
Angus Gratton
71cf821659
Merge branch 'bugfix/calc_8m_freq_test_v4.2' into 'release/v4.2'
...
rtc: increase CI acceptance range for calc 8M test (v4.2)
See merge request espressif/esp-idf!13086
2021-05-30 23:46:14 +00:00
Jiang Jiang Jian
ca77bdddbf
Merge branch 'bugfix/fix_uart_handler_call_inline_func_v42' into 'release/v4.2'
...
Bugfix/fix uart handler call inline func (backport v4.2)
See merge request espressif/esp-idf!13005
2021-05-26 03:45:29 +00:00
Darian Leung
f837b298e6
soc: Fix SOC_IROM_MASK_HIGH address
...
The high address limit IROM on the esp32s2 is incorrect, thus
causing backtrace printing to think valid function PCs are invalid.
2021-05-24 15:22:16 +08:00
Kang Zuoling
2515cd72c1
touch_sensor: fix esp32s2 touch sensor default power source
2021-05-15 13:52:37 +08:00
Jiang Jiang Jian
abe7a9d020
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.2' into 'release/v4.2'
...
backport v4.2: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13393
2021-05-10 03:44:29 +00:00
chaijie
e349f1b484
esp32s2: Decrease boot up time by delete useless slow clock calibration
2021-05-05 06:57:05 +00:00
Li Shuai
f16e8cb48e
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 10:51:42 +08:00
Marius Vikhammer
d20b442af2
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:20 +08:00
aleks
df079d4ca9
soc/uart: update uart low level functions used in isr with force inline attribute
2021-03-31 17:46:17 +02:00
fuzhibo
2f5eba9263
driver(touch): fix touch sensor false trigger in sleep mode
2021-03-26 10:57:50 +08:00
Michael (XIAO Xufeng)
f4e11dce34
Merge branch 'bugfix/clear_interrupt_in_touch_sensor_initialization_backport_v4.2' into 'release/v4.2'
...
Bugfix/clear interrupt in touch sensor initialization (backport v4.2)
See merge request espressif/esp-idf!12883
2021-03-25 11:04:44 +00:00
fuzhibo
a866f0d8f6
fix: clear interrupt in touch sensor initialization
2021-03-25 11:14:24 +08:00
Michael (XIAO Xufeng)
a607e0651c
Merge branch 'bugfix/uart_read_o2_v4.2' into 'release/v4.2'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization (backport v4.2)
See merge request espressif/esp-idf!12658
2021-03-25 01:17:14 +00:00
Michael (XIAO Xufeng)
b06b8273ee
Merge branch 'bugfix/fix_rtc_wdt_in_light_sleep_process_backport_v4.2' into 'release/v4.2'
...
bugfix: rtc: compile the regi2c_ctrl.c code to iram (backport v4.2)
See merge request espressif/esp-idf!12881
2021-03-24 16:06:50 +00:00
fuzhibo
60b604ae6d
rtc: compile the regi2c_ctrl.c code to iram
2021-03-24 15:43:47 +08:00
Ivan Grokhotkov
1c6ab10a70
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2021-03-24 04:12:42 +00:00
Hou Wen Xiang
c8ef66abad
driver(uart): fix uart module reset issue (release V4.2)
2021-03-24 04:10:39 +00:00
Jiang Jiang Jian
caa7dc187d
Merge branch 'bugfix/fix_i2s_pdm_config_4.2' into 'release/v4.2'
...
fix PDM Fp and Fs config error (4.2)
See merge request espressif/esp-idf!10687
2021-03-18 04:13:36 +00:00
Jiang Jiang Jian
b517b64a30
Merge branch 'bugfix/fix_deepsleep_x32k_wakeup_bug_v4.2' into 'release/v4.2'
...
Fix esp_hw_support bug (backport v4.2)
See merge request espressif/esp-idf!11835
2021-03-18 04:11:18 +00:00
Angus Gratton
6514009b8a
soc esp32: Removes parentheses from RTC_MEM_xyz macros that expand directly to single numbers
...
Not necessary in these cases, and prevents parens from expanding into the
assembly code added in the parent commit - a pattern which is accepted
by GCC assembler but illegal syntax for LLVM assembler.
2021-02-08 09:59:22 +11:00
Angus Gratton
7c5afa262d
deep sleep: Calculate RTC CRC immediately before deep sleep, without using RAM
...
Fix for issues where RTC FAST memory is updated as part of going into deep
sleep. Very high risk if heaps are in RTC memory - in particular task stacks
may be in RTC memory, but also other variables.
Also fixes potential concurrency problems as RTC FAST memory is not accessible
by CPU during the CRC calculation itself.
Method:
- Disable interrupts (currently for single core only, will need update for S3)
- Load all registers before calculating CRC or going to sleep
2021-02-08 09:59:22 +11:00
morris
87b051c87a
mcpwm: fix wrong capture edge
2021-01-27 14:56:33 +08:00
Marius Vikhammer
5e9783f4a6
hal: include pcnt_caps.h
...
Some HAL files depend on x_caps.h, but didnt explicitly include it
Fixes issue where only 4 PCNT (out of 8) could be used on ESP32
Closes https://github.com/espressif/esp-idf/issues/6366
2021-01-07 03:01:55 +00:00
chaijie
6d6fbc3860
1. Optimize 32k xtal configure param to get optimal startup time for ESP32S2;
...
2. Solve bug of wakeup fail when pd peripheral for ESP32S2;
3. clear rtc force pu configuration when goto deepsleep after lightsleep.
2020-12-30 16:47:41 +08:00
Angus Gratton
774fb48f9e
Merge branch 'bugfix/spiram_reserve_size_pr5373_v4.2' into 'release/v4.2'
...
SPIRAM reserved memory size fixes (v4.2)
See merge request espressif/esp-idf!11516
2020-12-24 13:55:35 +08:00
Marius Vikhammer
d9cea5dfdb
Docs: fix doxygen warnings
2020-12-18 14:27:17 +08:00
negativekelvin
d1a9f9ec74
Fix reserved psram region
...
Closes https://github.com/espressif/esp-idf/pull/5373
Closes https://github.com/espressif/esp-idf/issues/5821
2020-12-08 17:42:36 +11:00
Angus Gratton
49dde3ca91
Merge branch 'bugfix/cast_int_to_size_t_in_cpu_ll_v4.2' into 'release/v4.2'
...
soc: cast int to size_t in cpu_ll (v4.2)
See merge request espressif/esp-idf!11135
2020-12-08 09:10:19 +08:00
Darian Leung
a0bb9b2f57
TWAI: ISR runs when cache is disabled
...
This commit adds the feature where the TWAI ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_TWAI_ISR_IN_IRAM option.
2020-12-03 19:41:59 +08:00