Darian Leung
d814a40c1d
TWAI: Fix ESP32-S2 register field name
2020-08-10 17:01:32 +08:00
Darian Leung
6983d1e0bb
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-08-10 17:01:32 +08:00
Michael (XIAO Xufeng)
cda9c595d7
Merge branch 'feature/mcpwm_capture_on_both_edge' into 'master'
...
MCPWM: add an option to do mcpwm capture on both edges
See merge request espressif/esp-idf!9850
2020-08-10 11:48:50 +08:00
morris
edb5ddf63b
soc: placeholder for esp32s3 HAL driver
...
soc rtc
2020-08-07 11:59:00 +08:00
Michael (XIAO Xufeng)
bfd71ae7ec
Merge branch 'feature/dma_memcpy' into 'master'
...
esp32s2: async memcpy
Closes IDF-1573
See merge request espressif/esp-idf!8436
2020-08-06 11:32:43 +08:00
dongyou
97ae87df41
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 11:04:16 +08:00
morris
b30bd7a2ef
esp32s2: add CP_DMA driver
2020-08-04 15:28:32 +08:00
Wu Bo Wen
14a6b1db56
driver/mcpwm: add an option to capture on both edges.
...
However, The functionality of capturing on both edges is alternatively done with passing in the two flags ORed together: MCPWM_NEG_EDGE|MCPWM_POS_EDGE
closes https://github.com/espressif/esp-idf/issues/4446
closes https://github.com/espressif/esp-idf/issues/2943
2020-08-03 14:58:45 +08:00
Ivan Grokhotkov
0ee714e1fa
soc: move RTC initialization out of IRAM
...
Saves approximately 870 bytes of IRAM.
2020-08-01 00:52:43 +02:00
Darian Leung
662864f5bc
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 15:45:58 +08:00
Angus Gratton
75402afcae
Merge branch 'feature/esp32s3_clk_memory_layout' into 'master'
...
esp32s3: memory layout
See merge request espressif/esp-idf!9753
2020-07-29 13:48:25 +08:00
Michael (XIAO Xufeng)
6434c1e2bd
Merge branch 'feat/esp_flash_enable_s2_ut' into 'master'
...
esp_flash: fix several issues and enable unit test for ESP32-S2
Closes IDF-1409
See merge request espressif/esp-idf!8259
2020-07-28 18:15:41 +08:00
Ivan Grokhotkov
16c73edc67
Merge branch 'refactor/add_alias_name_for_ets_common_api' into 'master'
...
esp_rom: extract common ets apis into esp_rom_sys.h
See merge request espressif/esp-idf!9701
2020-07-28 15:04:55 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
morris
19761e3113
esp32s3: clk, memory layout
2020-07-27 13:05:22 +08:00
Michael (XIAO Xufeng)
30fa716376
spi: fix cs num support for different SPI hosts.
...
For esp32, all SPI hosts have 3 CS pins, however, on ESP32, SPIMEM1 has
two CS pins, FSPI has six, while HSPI has three.
2020-07-27 12:27:03 +08:00
Michael (XIAO Xufeng)
4bad988317
esp_flash: fix slow read on ESP32-S2
2020-07-27 12:20:19 +08:00
fuzhibo
1568b6913d
driver(touch): fix touch sensor driver redundancy
2020-07-27 03:37:29 +00:00
Angus Gratton
442736c5d6
Merge branch 'refactor/common_rom_uart_apis' into 'master'
...
esp_rom: extract common uart apis into esp_rom_uart.h
See merge request espressif/esp-idf!9313
2020-07-21 15:24:21 +08:00
Angus Gratton
3755fb6597
Merge branch 'feature/add_esp32s3_bootloader_ld_file' into 'master'
...
move part of esp32-s3 codes to master (bootloader linker, esp32s3 empty componnet)
See merge request espressif/esp-idf!9608
2020-07-21 14:51:04 +08:00
chenjianqiang
e9dd4f283a
feat(esp32): support for esp32-pico-v3-02
2020-07-20 12:21:32 +08:00
morris
6316e6eba2
esp_system: add CONFIG_ESP_SYSTEM_RTC_EXT_CRYS
2020-07-20 11:15:24 +08:00
Angus Gratton
f83a61e2c8
Merge branch 'feature/ulp_riscv' into 'master'
...
feature/components: Initial support for ULP-RISC-V Coprocessor on esp32s2
Closes IDF-521
See merge request espressif/esp-idf!8781
2020-07-20 08:27:20 +08:00
morris
345606e7f3
esp_rom: extract common uart apis into esp_rom_uart.h
2020-07-17 16:00:59 +08:00
Felipe Neves
b6dba84323
ulp: added support to building code for riscv ULP coprocessor
2020-07-15 15:28:49 -03:00
Michael (XIAO Xufeng)
c796bd5e63
esp_flash: refactor to make host driver function a const table
...
This is also part of ESP32-S3 ROM changes
2020-07-13 03:10:00 +08:00
Michael (XIAO Xufeng)
a9c8895bb2
esp_flash: refactor to be compatible with the latest ROM
...
Including:
1. Change the write bytes/read bytes parameter in the host driver into slicers to meet the requirements of complicated cases.
2. Refactor the esp_flash_api code a bit so that we can use the code in the ROM laster
3. Provide get_temp_buffer and release_temp_buffer in the os_functions when the buffer passed by application cannot be used directly.
4. Make timeout of operations configurable in the chip_driver.
5. Make dummy number configurable.
2020-07-12 02:09:45 +08:00
Michael (XIAO Xufeng)
f6dd63d03d
spi_slave_hd: new driver for spi slave in half duplex mode
2020-07-11 00:00:50 +08:00
Angus Gratton
fb192fd313
Merge branch 'bugfix/spinlock_coredump_regressions' into 'master'
...
Bugfix/spinlock coredump regressions
Closes IDF-1901
See merge request espressif/esp-idf!9559
2020-07-10 14:01:08 +08:00
houwenxiang
166d5f17f3
driver(I2S): Fix I2S reset issue
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
closes https://github.com/espressif/esp-idf/issues/5410
2020-07-09 15:42:09 +00:00
Ivan Grokhotkov
4cdc5edb4e
Revert "freertos, soc: don't lower INTLEVEL when entering critical sections"
...
This reverts commit 614a580bbb
.
2020-07-09 17:15:54 +02:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
fuzhibo
8d922847af
driver(adc): esp32s2 support API adc2_vref_to_gpio
2020-07-01 06:21:45 +00:00
Darian Leung
97721d469c
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-06-30 16:56:03 +08:00
Ivan Grokhotkov
84833bf0df
Merge branch 'feature/light_sleep_reject' into 'master'
...
sleep: enable sleep reject when entering light sleep
Closes IDF-1678 and WIFI-1185
See merge request espressif/esp-idf!9242
2020-06-29 15:57:49 +08:00
Ivan Grokhotkov
4e30e8801c
sleep: enable sleep reject when entering light sleep
2020-06-24 15:45:42 +00:00
Ivan Grokhotkov
0620890028
bootloader, rtc: don't disable PLL if it is already enabled
2020-06-24 15:50:51 +02:00
morris
4857dc5e2b
soc: add soc descriptions for esp32s3
2020-06-23 15:10:09 +08:00
Renz Bagaporo
08cbfa6187
esp_system: fix various review issues
2020-06-19 18:40:10 +10:00
Renz Christian Bagaporo
62ef63e835
esp32, esp32s2: move clk init functions to esp_system
2020-06-19 18:40:09 +10:00
Renz Bagaporo
39ef904fba
soc: introduce hal function for cpu delay
2020-06-19 18:40:09 +10:00
Ivan Grokhotkov
194353af07
soc: add periph_ll_periph_enabled to clk_gate_ll.h
2020-06-16 18:13:14 +02:00
Angus Gratton
61ab64439b
Merge branch 'bugfix/spi_flash_yield_coredump' into 'master'
...
fixes for core dump regressions
See merge request espressif/esp-idf!8978
2020-06-16 12:15:50 +08:00
Angus Gratton
8193b188e8
driver: Fix some doxygen warnings
2020-06-12 14:31:37 +10:00
Ivan Grokhotkov
58e1100473
Merge branch 'bugfix/cast_int_to_size_t_in_cpu_ll' into 'master'
...
soc: cast int to size_t in cpu_ll
Closes IDFGH-3352
See merge request espressif/esp-idf!9077
2020-06-08 15:40:42 +08:00
Michael (XIAO Xufeng)
1a6191debe
Merge branch 'bugfix/fix_ledc_unable_to_work_in_light_sleep_mode' into 'master'
...
bugfix (Ledc): fix the bug that ledc low-speed channel can not work when chip in light-sleep mode
See merge request espressif/esp-idf!8392
2020-06-08 14:25:43 +08:00
Michael (XIAO Xufeng)
099f2706aa
Merge branch 'bugfix/fix_adc_dac_conflict' into 'master'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
Closes IDF-1585
See merge request espressif/esp-idf!8364
2020-06-03 12:41:50 +08:00
Michael (XIAO Xufeng)
1a1b0574ac
Merge branch 'bugfix/fix_fifo_cnt_bug' into 'master'
...
bugfix(uart): fix esp32 uart fifo_cnt bug
See merge request espressif/esp-idf!8974
2020-06-03 11:44:39 +08:00
Ivan Grokhotkov
614a580bbb
freertos, soc: don't lower INTLEVEL when entering critical sections
...
This fixes the issue where XTOS_SET_INTLEVEL would lower INTLEVEL from
4 to 3, when eTaskGetState is invoked during the core dump, triggered
from the interrupt watchdog.
2020-06-02 15:42:24 +02:00
xiongyu
eea38d7698
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-02 21:38:31 +08:00