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
KonstantinKondrashov
be0444bf54
esp32s2/soc: Fix periph_ll_periph_enabled
...
Logs, before to go the deepsleep, were not completely flushed.
2020-10-01 03:58:23 +08:00
Wu Bo Wen
cb6299200c
doc/adc: modifications in the adc documentation and adc headers
2020-09-28 21:55:42 +08:00
Michael (XIAO Xufeng)
a63bdf782f
Merge branch 'bugfix/fix_dac_dma_driver_and_ut_backport_v4.2' into 'release/v4.2'
...
Driver(dac): fix DAC-DMA driver and unit test (backport v4.2)
See merge request espressif/esp-idf!10216
2020-09-28 21:43:11 +08:00
Michael (XIAO Xufeng)
cf16ae573c
Merge branch 'cherry-pick-7876d7f5' into 'release/v4.2'
...
driver(adc): add adc-dma code for esp32 (backport v4.2)
See merge request espressif/esp-idf!10212
2020-09-28 21:11:11 +08:00
Michael (XIAO Xufeng)
847a697c93
Driver(dac): fix DAC-DMA driver and unit test
2020-09-28 19:35:07 +08:00
Michael (XIAO Xufeng)
f3705832fd
Merge branch 'bugfix/add_adc-dma_for_esp32' into 'master'
...
driver(adc): add adc-dma code for esp32
Closes IDF-1407
See merge request espressif/esp-idf!9139
(cherry picked from commit 7876d7f5a6
)
bd92e951
driver(adc): add adc-dma code for esp32
2020-08-31 16:29:51 +08:00
morris
c54d599d0d
ethernet: set DMA owner after all descriptors have configured
2020-08-20 10:47:08 +08:00
morris
d918e7ad8a
ethernet: handle early rx interrupt
2020-08-20 10:47:08 +08:00
dongyou
0b1ef494a7
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 14:08:46 +08:00
Angus Gratton
9409b2ecb7
Merge branch 'feature/support_for_esp32_pico_v3_02_v4.2' into 'release/v4.2'
...
psram: support for esp32-pico-v3-02 (backport v4.2)
See merge request espressif/esp-idf!9787
2020-08-04 14:30:14 +08:00
Michael (XIAO Xufeng)
9dbff45229
Merge branch 'feature/twai_backport_v4.2' into 'release/v4.2'
...
TWAI: esp32s2 support and multiple bugfixes (backport v4.2)
See merge request espressif/esp-idf!9884
2020-08-03 11:13:20 +08:00
fuzhibo
885f8ce484
driver(adc): esp32s2 support API adc2_vref_to_gpio
2020-07-31 17:52:41 +08:00
Darian Leung
519b8898b3
twai: Fix size of RX msg count field on the esp32
...
This commit fixes the size of the RX message count register field
on the esp32.
2020-07-30 22:17:14 +08:00
Darian Leung
e6db25af9d
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-07-30 22:09:39 +08:00
fuzhibo
f444d4d2dc
driver(adc): fix unit test for ADC-DMA (test_esp32s2.c); fix unit test for ADC-DMA (test_esp32s2.c); fix commit in adc dirver.
2020-07-30 19:38:23 +08:00
fuzhibo
9bc72d5732
driver(touch): fix touch sensor driver redundancy
2020-07-30 11:41:11 +08:00
Michael (XIAO Xufeng)
b284c48854
Merge branch 'bugfix/esp32s2_lightsleep_uart_suspend_v4.2' into 'release/v4.2'
...
esp32s2: suspend UART output using XOFF before entering light sleep (backport v4.2)
See merge request espressif/esp-idf!9293
2020-07-27 15:55:33 +08:00
chenjianqiang
55a1bd0fb6
feat(esp32): support for esp32-pico-v3-02
2020-07-24 21:20:27 +08:00
Ivan Grokhotkov
3a88ac7900
soc: add periph_ll_periph_enabled to clk_gate_ll.h
2020-07-13 09:52:29 +02:00
Angus Gratton
c44a433b8b
driver: Fix some doxygen warnings
2020-07-10 14:53:16 +10:00
fuzhibo
68ed940668
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-07-01 09:29:34 +00:00
xiongyu
27e6e8c485
bugfix(uart): fix esp32 fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-16 14:34:23 +08:00
Angus Gratton
baedfab382
Merge branch 'feature/dis_uart_dl_mode' into 'master'
...
feature: Disable UART download mode
Closes IDF-1386
See merge request espressif/esp-idf!8590
2020-05-29 14:09:54 +08:00
Angus Gratton
59f29cbca8
Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
...
Add RTC Fast Memory to Dynamic Memory Pool
See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
Angus Gratton
f4edc52fa0
efuse: Have support for secure DL mode depend on a soc_caps flag
2020-05-28 18:02:02 +10:00
Michael (XIAO Xufeng)
0d90861984
Merge branch 'bugfix/fix_rmt_driver_breaking_change_issue' into 'master'
...
Bugfix(RMT): Fix the breaking change issue of RMT driver.
Closes IDFGH-2837, IDFGH-2579, and IDFGH-2915
See merge request espressif/esp-idf!8006
2020-05-25 15:27:24 +08:00
Michael (XIAO Xufeng)
b3587ff88c
Merge branch 'bugfix/fix_i2s_comm_format_unclear_description_bug' into 'master'
...
Bugfix(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug
Closes IDFGH-3040, IDFGH-2913, IDFGH-578, IDFGH-2408, and IDFGH-3117
See merge request espressif/esp-idf!8339
2020-05-25 15:00:10 +08:00
Krzysztof Budzynski
56635f22b8
Merge branch 'doc/add_types_api_ref' into 'master'
...
doc: add peripheral_types.h as API reference for peripheral docs
Closes DOC-136 and IDF-1673
See merge request espressif/esp-idf!8528
2020-05-25 03:22:22 +08:00
Ivan Grokhotkov
948580d1a2
Merge branch 'gdb/bt_on_invalid_pc' into 'master'
...
gdb: Modify PC in case of invalid PC
See merge request espressif/esp-idf!8391
2020-05-19 16:44:07 +08:00
houwenxiang
0bf2906bc9
driver(RMT): Fix the breaking change issue of RMT driver introduced by refactoring.
...
After RMT driver refactor, two breaking change are introduced:
1. Users needs to call `rmt_driver_install` before `rmt_config`.
2. Do not support memory block count > 1,
fix this two issues
closes https://github.com/espressif/esp-idf/issues/4664
closes https://github.com/espressif/esp-idf/issues/4959
2020-05-19 11:39:38 +08:00
houwenxiang
b35d9002f3
driver(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug.
...
When I2S `i2s_comm_format_t` is set to `I2S_COMM_FORMAT_I2S_MSB`, the data should launch at first BCK. But not in fact, this MR fixed this issue.
For compatibility, several nwe parameters have been added, and the old parameters will be removed in the future.
closes https://github.com/espressif/esp-idf/issues/5065
closes https://github.com/espressif/esp-idf/issues/4957
closes https://github.com/espressif/esp-idf/issues/2978
closes https://github.com/espressif/esp-idf/issues/5136
Merges https://github.com/espressif/esp-idf/pull/4522
2020-05-18 19:55:30 +08:00
Michael (XIAO Xufeng)
f67044c822
spi: simplify the caps header
...
The mapping logic from register address to instance number is moved into the LL
2020-05-17 22:06:01 +08:00
Jiang Jiang Jian
26ab1c54ec
Merge branch 'bugfix/esp32s2_wifi_skip_light_sleep' into 'master'
...
esp_wifi: When WiFi TSF is active, skip light sleep
Closes WIFI-2305 and WIFI-2306
See merge request espressif/esp-idf!8639
2020-05-15 11:41:45 +08:00
Mahavir Jain
1aac284dda
heap: add rtc fast memory region to dynamic pool
...
- for ESP32 only enabled in case of unicore config
- capability wise this region (8K) is same as DRAM, except non-DMA capable
- also fixed small issue in reserved memory region processing when (start == end)
2020-05-14 13:12:26 +00:00
Xia Xiaotian
526a3e49ed
esp_wifi: When WiFi TSF is active, skip light sleep
...
* Add an API for peripherals to set callbacks to skip light sleep
* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
fuzhibo
8256b5f32b
driver(adc): fix adc io init bug; add unit test to check;
2020-05-12 06:52:26 +00:00