Michael (XIAO Xufeng)
214cc69fc1
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_4.1' into 'release/v4.1'
...
spi_master: correctly set cs polarity (4.1)
See merge request espressif/esp-idf!10392
2020-09-21 10:19:33 +08:00
Michael (XIAO Xufeng)
edb19cd748
Merge branch 'bugfix/fix_rtcio_adc_driver_for_esp32' into 'release/v4.1'
...
rtc(adc/rtcio): fix adc rtcio driver for esp32
See merge request espressif/esp-idf!8347
2020-09-14 10:57:26 +08:00
Wielebny666
67d7fad764
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-09-10 14:48:37 +08:00
David Čermák
b72ab0b1f8
Merge branch 'bugfix/ethernet_handle_early_rx_interrupt_v4.1' into 'release/v4.1'
...
Bugfix/ethernet handle early rx interrupt (v4.1)
See merge request espressif/esp-idf!10099
2020-08-31 14:34:36 +08:00
fuzhibo
72f43489a5
rtc(adc/rtcio): fix adc rtcio driver for esp32
2020-08-31 03:19:58 +00:00
Michael (XIAO Xufeng)
c9ca1fbe78
Merge branch 'bugfix/fix_touch_sensor_api_backport_v4.1' into 'release/v4.1'
...
(High priority) driver(touch): fix touch sensor driver redundancy (backport v4.1)
See merge request espressif/esp-idf!9872
2020-08-23 16:08:49 +08:00
Michael (XIAO Xufeng)
fc1f1902a8
Merge branch 'bugfix/gpio_hold_function_for_esp32' into 'release/v4.1'
...
Bugfix/gpio hold function for esp32 (backport v4.1)
See merge request espressif/esp-idf!9175
2020-08-21 18:50:23 +08:00
Michael (XIAO Xufeng)
c83a8c4cc7
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.1' into 'release/v4.1'
...
bugfix(uart): fix esp32 fifo_cnt bug(backport v4.1)
See merge request espressif/esp-idf!9040
2020-08-20 19:13:57 +08:00
Michael (XIAO Xufeng)
000c0b4b8a
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.1' into 'release/v4.1'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.1)
See merge request espressif/esp-idf!9361
2020-08-20 19:12:35 +08:00
Michael (XIAO Xufeng)
6e148c0051
Merge branch 'bugfix/esp_flash_write_performance_regression_4.1' into 'release/v4.1'
...
esp_flash: fix the write performance regression (Backport v4.1)
See merge request espressif/esp-idf!8800
2020-08-20 19:09:59 +08:00
morris
221e89cf59
ethernet: set DMA owner after all descriptors have configured
2020-08-20 10:54:50 +08:00
morris
f5dde8b17e
ethernet: handle early rx interrupt
2020-08-20 10:54:49 +08:00
fuzhibo
4fc12259dd
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-08-14 06:49:35 +00:00
Darian Leung
550ed39ea3
CAN: 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 23:59:42 +08:00
fuzhibo
67a48580fa
driver(touch): fix touch sensor driver redundancy
2020-07-30 16:42:48 +08:00
fuzhibo
c711a048bb
driver(gpio): Solve gpio hold problems caused by code refactoring.
...
Closes https://github.com/espressif/esp-idf/issues/4600
2020-06-28 14:12:29 +00:00
xiongyu
cf3b2df4a4
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:48:02 +08:00
Michael (XIAO Xufeng)
d2666545d1
spi: simplify the caps header
2020-05-27 15:09:50 +08:00
Marius Vikhammer
7d3d56ff9a
doc: add peripheral_types.h as API reference for peripheral docs
...
Closes DOC-136
Closes IDF-1673
2020-05-27 12:38:38 +08:00
morris
5b516b107a
timer_group: update hal api && fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-29 12:19:25 +08:00
espressif
7d934dafb8
mcpwm: fix the issue of wrong period (backport v4.1)
2020-04-24 21:10:14 +08:00
Angus Gratton
4414e829de
Merge branch 'backport/feat/secure_boot_v2_v41' into 'release/v4.1'
...
Backport/feat/secure boot v2 v41
See merge request espressif/esp-idf!7854
2020-03-18 15:35:53 +08:00
Alexander Borsuk
ba43902fb8
Fixes compilation error on verbose level (IDFGH-2439)
...
Closes #4552
Merges https://github.com/espressif/esp-idf/pull/4786
2020-03-09 11:25:54 +01:00
Angus Gratton
32756b165e
bootloader: Add fault injection resistance to Secure Boot bootloader verification
...
Goal is that multiple faults would be required to bypass a boot-time signature check.
- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32
Add some additional checks for invalid sections:
- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-03-06 01:16:04 +05:30
morris
077d68c752
driver: clean pcnt.h i2s.h
2020-03-03 18:12:11 +08:00
morris
bd8baba0dc
rmt: fix missing 0x in rmt_ll.h
...
Closes https://github.com/espressif/esp-idf/issues/4760
2020-02-18 10:54:03 +08:00
Xia Xiaotian
317f0d496a
soc: clear PHY status when cpu start
2020-02-13 14:25:32 +08:00
Angus Gratton
c7738f24fc
Merge branch 'bugfix/ledc_driver_enums' into 'master'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
See merge request espressif/esp-idf!7021
2020-01-10 15:34:43 +08:00
Angus Gratton
782fc0df5f
Merge branch 'refactor/can_driver' into 'master'
...
Refactor CAN to use HAL and LowLevel layers
Closes IDF-617
See merge request espressif/esp-idf!7019
2020-01-10 14:22:02 +08:00
Darian Leung
a049e02d96
can: Refactor CAN to use HAL and LowLevel layers
...
The following commit refactors the CAN driver such that
it is split into HAL and Lowlevel layers. The following
changes have also been made:
- Added bit field members to can_message_t as alternative
to message flags. Updated examples and docs accordingly
- Register field names and fields of can_dev_t updated
2020-01-09 16:13:51 +08:00
suda-morris
1ffb546135
esp32s2:remove unsupported xtal choice
...
ESP32-S2 only supports 40MHz XTAL and doesn't have XTAL autodetection.
2020-01-09 13:09:21 +08:00
michael
f676a3b190
driver, soc: update multichip support headers
2020-01-06 17:13:54 +08:00
Ivan Grokhotkov
52f8aa2adb
Merge branch 'feature/heap_non_os_build' into 'master'
...
heap: make compatible with non-OS builds, remove target dependence
Closes IDF-1236
See merge request espressif/esp-idf!7051
2020-01-03 17:12:51 +08:00
Angus Gratton
7dc7557aa9
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-03 17:31:40 +11:00
Ivan Grokhotkov
d9534b3d6a
soc: fix backtraces containing ROM functions
...
esp_ptr_executable would return false for pointers to ROM, which would
interrupt the backtrace. This makes ROM ranges recognized as
executable.
2020-01-02 18:42:46 +01:00
Ivan Grokhotkov
4bbfa6e494
Merge branch 'feature/soc_ledc_caps' into 'master'
...
soc: add ledc_caps.h, replace target-based ifdefs with caps-based
See merge request espressif/esp-idf!6858
2019-12-30 18:47:11 +08:00
Angus Gratton
bc02b128be
Merge branch 'feature/add_eth_download_test' into 'master'
...
ethernet: test download blob && phy addr auto detect
Closes IDF-1238
See merge request espressif/esp-idf!6957
2019-12-30 11:52:40 +08:00
Ivan Grokhotkov
e4d45608d3
soc: add ledc_caps.h, replace target-based ifdefs with caps-based
2019-12-28 20:33:21 +00:00
Ivan Grokhotkov
3285ed116d
heap: make compatible with non-OS builds, remove target dependence
2019-12-27 12:40:06 +01:00
Michael (XIAO Xufeng)
72cf67cba3
sdio_slave_hal: fix the TAG non-static issue
...
(MINOR CHANGE)
2019-12-24 16:50:09 +08:00
morris
7baf7ce273
ethernet: optimise tx and rx
2019-12-24 11:18:31 +08:00
Ivan Grokhotkov
c029888bf1
Merge branch 'fix/spi_ut_esp32s2beta' into 'master'
...
spi: re-enable the unit tests for esp32s2beta
Closes IDF-1020
See merge request espressif/esp-idf!6327
2019-12-23 15:10:31 +08:00
morris
888316fc64
bootloader_support: refactor to better support multi target
2019-12-23 05:45:17 +00:00
michael
262ba6f825
spi: fix iomux, timing and address phase issues for esp32s2beta
2019-12-23 10:23:00 +08:00
michael
11fa11000f
spi: re-enable the unit tests for esp32s2beta
2019-12-23 10:22:59 +08:00
Mahavir Jain
e8db1c4da0
Merge branch 'feature/enable_i2s_tests_on_esp32s2beta' into 'master'
...
Enable i2s and freertos test/s on esp32s2beta
See merge request espressif/esp-idf!6790
2019-12-18 17:51:54 +08:00
kewal shah
eec8212237
add simplified API to set UART threshold values for RX FIFO full and TX FIFO empty
2019-12-16 20:26:04 +00:00
Angus Gratton
435dd546cc
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
...
ledc_types.h includes two similar enums, ledc_clk_src_t & ledc_clk_cfg_t. Latter was added in
ESP-IDF v4.0.
The two enums do different things but there are two similar names: LEDC_REF_TICK / LEDC_USE_REF_TICK
and LEDC_APB_CLK / LEDC_USE_APB_CLK.
Because C will accept any enum or integer value for an enum argument, there's no easy way to check
the correct enum is passed without using static analysis.
To avoid accidental errors, make the numeric values for the two similarly named enums the same.,
Noticed when looking into https://github.com/espressif/esp-idf/issues/4476
2019-12-16 19:43:11 +11:00
Mahavir Jain
8b05cf41ad
i2s: enable tests for esp32s2beta
2019-12-16 11:53:33 +05:30
Michael (XIAO Xufeng)
0ec08ca21b
sdio_slave: support HAL layer
2019-12-13 18:33:15 +08:00