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
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
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
Darian Leung
fa7c5fcd42
TWAI: Fix BRP field initialization onf ESP32 ECO3
...
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2020-12-02 21:27:12 +08:00
Darian Leung
1160da7fdf
TWAI: Fix ESP32-S2 register field name
2020-12-02 21:27:12 +08:00
Darian Leung
e1b7a02786
TWAI: Simplify caps header
...
This commit simplifies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2020-12-02 21:26:33 +08:00
Armando
3c2367d158
i2s: fix i2s ll layer pdm config
2020-11-19 11:42:53 +00:00
FredrikFornstad
57571ae908
Bugfix: Casting int to size_t
2020-11-05 20:32:43 +05:30
Angus Gratton
b336cb954c
esp32s2: Disable ADC calibration routine if running on FPGA
2020-11-05 15:06:33 +08:00
ninh
62aade0671
set clk_gate_en when enable rtc gpio wake up
2020-10-28 11:55:49 +08:00
Michael (XIAO Xufeng)
489c0b9aac
Merge branch 'feature/esp32s2_bootloader_random_v4.2' into 'release/v4.2'
...
bootloader_support: Enable RNG entropy source for ESP32-S2 (v4.2)
See merge request espressif/esp-idf!10882
2020-10-22 23:08:11 +08:00
Angus Gratton
b34c658554
esp32s2: Use regi2c registers to enable bootloader RNG
2020-10-21 15:09:22 +11:00
Michael (XIAO Xufeng)
9f0f753a48
Merge branch 'bugfix/fix_i2s_reset_issue_v4.2' into 'release/v4.2'
...
driver(I2S): Fix I2S reset issue for release/v4.2
See merge request espressif/esp-idf!9582
2020-10-19 15:40:03 +08:00
Angus Gratton
0c320bfb0e
esp32s2: Support bootloader_random_enable()
2020-10-19 10:24:37 +11:00
Michael (XIAO Xufeng)
33443d80af
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_4.2' into 'release/v4.2'
...
spi_master: correctly set cs polarity (4.2)
See merge request espressif/esp-idf!10391
2020-10-17 09:27:24 +08:00
Michael (XIAO Xufeng)
ae0bec8de0
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32_backport_v4.2' into 'release/v4.2'
...
bugfix(adc): missing ranges of ADC-DMA codes in ESP32 (backport v4.2)
See merge request espressif/esp-idf!10670
2020-10-17 09:21:38 +08:00
Michael (XIAO Xufeng)
189a2991b7
Merge branch 'doc/adc_grammar_stuff_backport_v4.2' into 'release/v4.2'
...
Bugfix(doc): minor modifications in the adc section (backport v4.2)
See merge request espressif/esp-idf!10657
2020-10-16 14:42:36 +08:00
fuzhibo
95f353949a
bugfix(adc): missing ranges of ADC codes in ESP32
2020-10-16 06:34:46 +00:00
houwenxiang
3fa779b463
driver(I2S): Fix I2S reset issue for release/v4.2
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-10-16 06:32:13 +00:00
Wielebny666
3dd5b574ee
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-10-16 05:53:24 +00:00
fuzhibo
bbef823a20
feature(rtc): rename i2c_xxx to regi2c_xxx
2020-10-15 03:34:59 +00:00
fuzhibo
d337559a17
rtc: support access internal i2c register
2020-10-15 03:34:59 +00:00