morris
e4c8ec6174
timergroup: move interrupt index into peripheral description file
...
1. Added timer_group_periph.c file, describing module global signals
(e.g. interrupt index)
2. Added more caps in soc_caps.h
2020-11-03 18:16:50 +08:00
Jiang Jiang Jian
5ad2ec79fd
Merge branch 'bugfix/fix_reject_using_rtc_gpio' into 'master'
...
fix reject lightsleep when using rtc gpio to wakeup
See merge request espressif/esp-idf!11027
2020-11-02 16:13:33 +08:00
Michael (XIAO Xufeng)
35faecea1d
Merge branch 'feature/support_sigma_delta_on_s3' into 'master'
...
sigma_delta: add periph signal list and support esp32-s3
See merge request espressif/esp-idf!10945
2020-10-30 17:22:02 +08:00
Michael (XIAO Xufeng)
8337f0afa2
spi_flash: fix LL of esp32s3 and add 32-bit support
2020-10-29 18:21:42 +08:00
Michael (XIAO Xufeng)
3bacf35310
esp_flash: support high capacity flash chips (32-bit address)
2020-10-29 18:20:11 +08:00
morris
17808b3ff8
sigma_delta: add periph signal list and support esp32-s3
2020-10-29 11:06:28 +08:00
ninh
19fd0f5634
fix reject lightsleep when using rtc gpio to wakeup
2020-10-29 02:47:58 +00:00
Renz Bagaporo
79887fdc6c
soc: descriptive part occupy whole component
2020-10-28 07:21:29 +08:00
morris
d084ef4473
gdma: fix wrong m2m mode wrong config
2020-10-27 16:53:19 +08:00
Michael (XIAO Xufeng)
9a394e1aa0
Merge branch 'feature/spi_bringup_esp32s3' into 'master'
...
spi: bringup on esp32s3
See merge request espressif/esp-idf!10107
2020-10-27 00:51:42 +08:00
Angus Gratton
f806261964
Merge branch 'bugfix/fix_rtc_io_hal_desc' into 'master'
...
Sleep related minor description fixes
Closes IDFGH-3868
See merge request espressif/esp-idf!10725
2020-10-26 18:48:03 +08:00
Michael (XIAO Xufeng)
bcb5c3506d
Merge branch 'feature/dedicated_gpio' into 'master'
...
Dedicated GPIO driver on ESP32-S2 and ESP32-S3
Closes IDF-1672
See merge request espressif/esp-idf!8716
2020-10-26 15:33:33 +08:00
Michael (XIAO Xufeng)
8926216723
Merge branch 'bugfix/esp32s2_adc_rng_registers' into 'master'
...
esp32s2: Use regi2c registers to enable bootloader RNG
See merge request espressif/esp-idf!10941
2020-10-26 13:55:05 +08:00
Armando
f7e91ef6c1
spi: esp32s3 bringup for spi
2020-10-26 11:28:34 +08:00
Renz Bagaporo
e7460c1f00
soc: remove unecessary headers in dport_access.h
2020-10-22 19:42:34 +08:00
Renz Bagaporo
0aa9ee5b24
esp32s3: delete duplicate esp32s3
2020-10-22 20:01:59 +11:00
Renz Bagaporo
e19f5d8955
hal: fix wrong description on rtc io hal
...
Closes https://github.com/espressif/esp-idf/issues/5770
2020-10-22 20:01:41 +11:00
Angus Gratton
639e97437f
esp32s2: Use regi2c registers to enable bootloader RNG
2020-10-22 14:39:59 +11:00
morris
bb1369b922
dedicated gpio: add driver
2020-10-20 21:06:09 +08:00
morris
153e819e8a
pcnt: add rotary encoder example
2020-10-19 11:56:18 +08:00
morris
74d78148bc
pcnt: add pcnt peripheral signal connections
...
pcnt: fix bug in clear interrupt status
2020-10-19 11:56:18 +08:00
Angus Gratton
4504318a28
Merge branch 'feature/esp32s2_bootloader_random' into 'master'
...
bootloader_support: Enable RNG entropy source for ESP32-S2
Closes IDF-1347
See merge request espressif/esp-idf!8965
2020-10-19 07:12:59 +08:00
Michael (XIAO Xufeng)
1966f00f0b
soc: updates caps usage
...
We should define caps as 1 if true. When use the caps macros, #if and
#if ! should be used instead of #ifdef/#ifndef.
2020-10-17 16:10:17 +08:00
Michael (XIAO Xufeng)
647dea9395
soc: combine xxx_caps.h into one soc_caps.h
...
During HAL layer refactoring and new chip bringup, we have several
caps.h for each part, to reduce the conflicts to minimum. But this is
The capabilities headers will be relataive stable once completely
written (maybe after the featues are supported by drivers).
Now ESP32 and ESP32-S2 drivers are relative stable, making it a good
time to combine all these caps.h into one soc_caps.h
This cleanup also move HAL config and pin config into separated files,
to make the responsibilities of these headers more clear. This is
helpful for the stabilities of soc_caps.h because we want to make it
public some day.
2020-10-17 16:10:15 +08:00
Michael (XIAO Xufeng)
ecca44df93
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32' into 'master'
...
bugfix(adc): missing ranges of ADC-DMA codes in ESP32
Closes DIG-53
See merge request espressif/esp-idf!10521
2020-10-16 23:02:35 +08:00
Angus Gratton
699742acc6
esp32s2: Support bootloader_random_enable()
2020-10-16 18:48:26 +11:00
fuzhibo
6773df88f2
feature(rtc): rename i2c_xxx to regi2c_xxx
2020-10-14 21:15:24 +08:00
Michael (XIAO Xufeng)
fc7433d610
Merge branch 'feature/twai_isr_runs_with_cache_disabled' into 'master'
...
TWAI: ISR runs when cache is disabled
See merge request espressif/esp-idf!9920
2020-10-12 20:18:36 +08:00
fuzhibo
9cd5e6f8c9
bugfix(adc): missing ranges of ADC codes in ESP32
2020-10-12 07:41:03 +00:00
Darian Leung
4c57f50fe4
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-10-10 14:19:32 +08:00
Marius Vikhammer
949fb8e63a
SHA: add HAL layer and refactor driver
...
Add a LL and HAL layer for SHA.
2020-10-09 08:24:08 +00:00
Martin Vychodil
497b730e8f
* memprot support for RTC_SLOW
...
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Michael (XIAO Xufeng)
fe37db3271
esp_flash: fix the incorrect check_idle logic in LL and chip_driver
2020-10-02 05:34:36 +00:00
Angus Gratton
83a7891f84
Merge branch 'feature/intr_alloc' into 'master'
...
feature/intr_alloc: moved interrupt allocator to the esp-system and refactored it moving all platform specific code to its place
Closes IDF-1913
See merge request espressif/esp-idf!10267
2020-09-30 07:44:12 +08:00
Felipe Neves
2e826b7a8f
intr_alloc: split interrupt allocator into common-code and platform-code
...
esp_system: removed repeated interrupt allocator code and moved common code to esp_system
xtens: moved xtensa specific code from freertos to the xtensa component
hal/interrupt_controller: added interrupt controller hal and ll files
docs: update the doxyfile with new location of esp_itr_alloc.h file
xtensa: fixed dangerous relocation problem after moving xtensa interrupt files out of freertos
docs: removed Xtensa reference from intr_allocator api-reference
xtensa: pushed the interrupt function that manages non iram interrupts to the xtensa layer
esp_system/test: fixed platform dependent setting for intr_allocator tests
hal: rename the functions used to manage non iram interrupt mask.
2020-09-30 07:44:12 +08:00
Michael (XIAO Xufeng)
f4aacbef9b
Merge branch 'feature/support_access_internal_i2c_register' into 'master'
...
feature(rtc): add new APIs support access internal i2c register
See merge request espressif/esp-idf!10039
2020-09-29 08:08:51 +08:00
Michael (XIAO Xufeng)
c449a0efe2
Merge branch 'bugfix/gdma_ll_tx_fifo' into 'master'
...
gdma: fix incorrect calculation of tx fifo size
See merge request espressif/esp-idf!10610
2020-09-28 15:51:25 +08:00
Michael (XIAO Xufeng)
c7264f04c6
Merge branch 'bugfix/fix_incorrect_i2s_pdm_clk_issue' into 'master'
...
Bugfix(I2S): Fix I2S PDM clock incorrect issue when using APLL.
Closes IDFGH-3423 and IDFGH-3106
See merge request espressif/esp-idf!9101
2020-09-28 11:35:31 +08:00
Michael (XIAO Xufeng)
60fb1a6ef3
Merge branch 'bugfix/spi_add_flash' into 'master'
...
spi_flash: fix a logic bug in checking ex_flash and psram
Closes IDFGH-2230
See merge request espressif/esp-idf!10009
2020-09-28 10:47:07 +08:00
fuzhibo
247789bb2e
rtc: support access internal i2c register
2020-09-27 12:12:17 +08:00
Marius Vikhammer
4d57a5c2c7
gdma: fix incorrect calculation of tx fifo size
2020-09-25 16:15:56 +08:00
Cao Sen Miao
4ce8b59016
spi_flash: fix initialization failure when ex_flash with psram on
...
non-SPI1 bus.
Close https://github.com/espressif/esp-idf/issues/4379
2020-09-25 10:22:24 +08:00
Armando
1e1beb69aa
spi: fix build fail issue when target is esp32s3
2020-09-24 10:51:23 +08:00
Michael (XIAO Xufeng)
4b95f7efa8
Merge branch 'feature/spi_dma_hal_ll_refactor' into 'master'
...
spi: refactor DMA ll layer functions
Closes IDFGH-3538 and IDFGH-2555
See merge request espressif/esp-idf!9929
2020-09-23 15:32:41 +08:00
Michael (XIAO Xufeng)
3c2f2aaffe
Merge branch 'docs/spi_flash_readme_update' into 'master'
...
hal: Update readme aftering extracting hal document from soc document
See merge request espressif/esp-idf!10453
2020-09-23 13:33:08 +08:00
Cao Sen Miao
5baf124219
docs: update readme aftering extracting hal document from soc document
2020-09-23 11:47:23 +08:00
Renz Bagaporo
7f5893d53c
soc: move dac_hal to hal
2020-09-23 02:53:03 +00:00
Renz Bagaporo
01d9aa8070
soc: move mpu_hal test to hal component
2020-09-23 02:53:03 +00:00
Renz Bagaporo
2bcf99527c
soc: move out rtc_hal to hal component
2020-09-23 02:53:03 +00:00
Marius Vikhammer
bff0016eb8
crypto accelerator support on esp32s3
...
SHA: passing unit tests
RSA: pass tests
AES: tests passing
2020-09-22 15:15:03 +08:00
morris
cc66334014
esp_timer: initial support on esp32-s3
2020-09-22 15:15:03 +08:00
morris
75a372a9f0
unit_test: support reference clock, test delay function
2020-09-22 15:15:03 +08:00
morris
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
Cao Sen Miao
d7e50c6457
spi_flash:bringup some flash supports for esp32s3
2020-09-22 15:15:03 +08:00
Armando
59e350b195
spi: seperate the pointer for the TX and RX DMA
2020-09-21 20:33:56 +08:00
Armando
27a6f2666a
spi_master: refactor hal context structures
...
This commit seperates the hal context into different configuration
structures based on their members' definitions. Through refactoring
spi_master.c, the device related configuration should be passed in and
set each time before a new transaction. The transaction related
configuration now is a local variable in case of the fact that error
occurs without any notice when user forgets to pass new transaction
configuration in (which means the old driver will use the trans_config
that is saved from last transaction).
Besides, via above refactor, this commit fixs a bug which leads to
wrong cs polarity setting.
Closes https://github.com/espressif/esp-idf/pull/5490
Moreover, via above refactor, this commit also fixs a bug about duplex
mode switching when multiple devices are added to the bus.
Closes https://github.com/espressif/esp-idf/issues/4641
2020-09-21 20:32:41 +08:00
Wielebny666
db6fbba73e
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
Partly solve this problem: https://github.com/espressif/esp-idf/pull/5490
2020-09-17 12:05:57 +00:00
morris
a3cc43485f
async memcpy: support async memcopy on esp32s2/s3
...
Added async memory copy API:
on esp32-s2, the implementation is based on CP_DMA
on esp32-s3, the implementation is based on GDMA
2020-09-16 21:30:54 +08:00
Marius Vikhammer
b2f390df01
hal: update link to HAL readme.md
...
The HAL readme was moved during refactoring, but links were not updated.
2020-09-11 15:48:08 +08:00
Ivan Grokhotkov
fa8e0438b4
Merge branch 'bugfix/deepsleep_flush_uarts_correct' into 'master'
...
esp32s2/soc: Fix periph_ll_periph_enabled
See merge request espressif/esp-idf!10083
2020-09-08 23:21:43 +08:00
Ivan Grokhotkov
3a51584fbb
Merge branch 'bugfix/uart_read_o2' into 'master'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
Closes IDFCI-97
See merge request espressif/esp-idf!10263
2020-09-08 00:01:48 +08:00
KonstantinKondrashov
0319eb5984
esp32s2/soc: Fix periph_ll_periph_enabled
...
Logs, before to go the deepsleep, were not completely flushed.
2020-09-07 08:32:18 +00:00
Zhang Hu
6a5faa0fd7
Driver(I2S): Fix I2S PDM clock incorrect issue when using APLL.
...
closes https://github.com/espressif/esp-idf/issues/5127
closes https://github.com/espressif/esp-idf/issues/5386
2020-09-07 08:08:22 +00:00
Michael (XIAO Xufeng)
91af5eaf4f
Merge branch 'refactor/twai_hal_state' into 'master'
...
Refactor TWAI HAL to store state information
Closes IDF-1633
See merge request espressif/esp-idf!9789
2020-09-03 23:22:30 +08:00
Ivan Grokhotkov
c3008e8ae1
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2020-09-03 12:13:11 +02:00
Wu Bo Wen
658b56a690
doc/adc: modifications in the adc documentation and adc headers
2020-09-02 11:30:48 +00:00
Darian Leung
7398390049
TWAI: Track HW state in HAL
...
This commit refactors the TWAI HAL such that it
now tracks harwdare state instead of the driver
layer. Some HAL and LL cleanup was also done.
2020-09-02 13:03:41 +08:00
Michael (XIAO Xufeng)
ea63bd3de4
Merge branch 'feat/extract_hal_from_soc' into 'master'
...
hal: extract hal component from soc component
See merge request espressif/esp-idf!9992
2020-09-01 23:56:15 +08:00
Michael (XIAO Xufeng)
5425ef4ee4
hal: extract hal component from soc component
2020-09-01 13:25:32 +08:00