Armando
0fb93c3726
spi_master: fix cmd test ci failure
2021-03-15 11:31:38 +08:00
Michael (XIAO Xufeng)
23eff08638
Merge branch 'feature/gpio_esp32c3_add_deprecated_header' into 'master'
...
Added missing ESP32-S3 target for /rom/gpio.h include
Closes IDFGH-4870
See merge request espressif/esp-idf!12648
2021-03-12 07:49:30 +00:00
Seon Rozenblum
dd2a8e330b
Added missing ESP32-S3 target for /rom/gpio.h include
...
I know this is being depreciated in 5, but we need it working for S3 in 4.x :)
Closes https://github.com/espressif/esp-idf/pull/6666
2021-03-08 17:54:16 +08:00
William Ferguson
13bc5feb0a
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6634
2021-03-08 14:11:33 +08:00
Angus Gratton
c68f869411
driver: Remove some stray __FILE__ macros
...
Related to https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
d6f4d99d93
core system: Fix warnings in compilation when assertions are disabled
...
Adds a CI config for hello world that sets this, to catch future regressions
2021-03-03 10:26:57 +11:00
Cao Sen Miao
a8343bc470
esp_system: support gpio wakeup from deep sleep on esp32c3
2021-02-26 12:26:49 +08:00
Marius Vikhammer
06abe3413f
temp_sensor: fix broken include path
2021-02-26 10:25:05 +08:00
Angus Gratton
501af6dfa2
Merge branch 'feature/secure_boot_revoke_check' into 'master'
...
secure_boot: Checks secure boot efuses
Closes IDF-2609
See merge request espressif/esp-idf!12148
2021-02-25 22:38:42 +00:00
morris
efa92cb204
rmt: support invert RMT signal by GPIO matrix
2021-02-25 12:42:23 +08:00
morris
7b37158ede
rmt: distinguish group and channel in HAL layer
2021-02-25 12:42:23 +08:00
Angus Gratton
a0eb455ec3
Merge branch 'refactor/misc_move_from_esp_common' into 'master'
...
Movements from esp_common
Closes IDF-1947
See merge request espressif/esp-idf!9692
2021-02-24 23:16:52 +00:00
Michael (XIAO Xufeng)
2f78b2e46f
Merge branch 'bugfix/fix_spi_slv_hd_dma_reset_issue' into 'master'
...
spi_slave_hd: fix dma reset issue
See merge request espressif/esp-idf!12275
2021-02-24 12:41:33 +00:00
Renz Bagaporo
5e8799bbfe
esp_common: move some headers
2021-02-24 12:16:37 +08:00
Armando
8d90d3072c
spi_slave_hd: refactor the hal append api to remove the spinlock
2021-02-24 12:01:31 +08:00
morris
9f1c82d547
gdma: fix wrong level of {group,pair} ref count
2021-02-24 11:38:57 +08:00
Cao Sen Miao
85855ad8a6
temp_sensor: add calibration for esp32c3
2021-02-23 10:48:17 +08:00
KonstantinKondrashov
90f2d3199a
secure_boot: Checks secure boot efuses
...
ESP32 V1 and V2 - protection bits.
ESP32xx V2: revoke bits, protection bits
- refactor efuse component
- adds some APIs for esp32 chips as well as for esp32xx chips
2021-02-23 03:56:21 +08:00
Omar Chebib
727481d71c
gpio: enable GPIO19 on ESP32C3 boards
2021-02-22 08:44:55 +00:00
Armando
889de9ebd9
spi: add enum for spi dma channels
2021-02-22 07:06:05 +00:00
Armando
d0415bd8f6
spi: remove hard-coded DMA chan in soc_caps.h
2021-02-22 07:06:05 +00:00
Armando
db3bf8b544
spi: refactor spi_common dma allocator
2021-02-22 07:06:05 +00:00
Armando
c8d9ed1f3d
spi: update unit tests to spi gdma allocator
2021-02-22 07:06:05 +00:00
Armando
c438ad5d72
spi: apply gdma allocator to SPI
2021-02-22 07:06:05 +00:00
Armando
2e670bf6af
spi: add dma channel auto-alloc feature on esp32
2021-02-22 07:06:05 +00:00
Armando
5427c18781
adc: apply gdma api to adc on esp32c3
2021-02-08 11:41:21 +08:00
Michael (XIAO Xufeng)
822a40a6cf
Merge branch 'fix/adc_xpd_calibration' into 'master'
...
adc: fixed the issue that ADC power is left on after the calibration is done
See merge request espressif/esp-idf!12207
2021-02-05 16:28:53 +08:00
Michael (XIAO Xufeng)
351ba5ff9e
adc: fixed the issue that ADC power is left on after the calibration is done
...
Also refactor the locks in the adc_common.c file.
2021-02-05 14:17:52 +08:00
Michael (XIAO Xufeng)
09b827b2c8
Merge branch 'feature/spi_slave_double_board_test_for_slave_transaction' into 'master'
...
spi slave: add a double board test for esp32c3 relating to sending/receiving unaligned data
See merge request espressif/esp-idf!11153
2021-02-05 00:51:24 +08:00
Michael (XIAO Xufeng)
67779e8e25
Merge branch 'docs/spi_mode' into 'master'
...
spi: add explaination to the modes
See merge request espressif/esp-idf!12251
2021-02-04 23:00:28 +08:00
Michael (XIAO Xufeng)
52a76867d1
Merge branch 'bugfix/spi_lose_last_3_bytes' into 'master'
...
spi_master: fix an issue where master cannot correctly receive data when using DMA in halfduplex mode.
Closes IDFGH-612
See merge request espressif/esp-idf!11354
2021-02-04 18:35:48 +08:00
Michael (XIAO Xufeng)
586dd7d7cd
spi: add explaination to the modes
2021-02-03 21:56:53 +08:00
Michael (XIAO Xufeng)
a2aa349dcc
adc: fixed the issue adc_gpio_init doesn't support ADC_UNIT_BOTH
2021-02-03 20:55:58 +08:00
Michael (XIAO Xufeng)
c4346abfb7
Merge branch 'feature/i2c_master_cmd_begin_const' into 'master'
...
i2c: modify internal impl to ensure the cmd will not be modified
See merge request espressif/esp-idf!12153
2021-02-01 11:18:02 +08:00
Michael (XIAO Xufeng)
9ff04b2e79
Merge branch 'feature/musical_buzzer' into 'master'
...
RMT example: musical buzzer
See merge request espressif/esp-idf!10346
2021-01-28 01:04:24 +08:00
Martin Vychodil
69096ddce5
Security: ESP32C3 memory protection feature (IRAM0/DRAM0)
...
Software support for PMS module.
Allows controlled memory access to IRAM (R/W/X) and DRAM0 (R/W)
On/locked by default, configurable in Kconfig (esp_system)
Closes https://jira.espressif.com:8443/browse/IDF-2092
2021-01-27 08:44:03 +01:00
Michael (XIAO Xufeng)
baedf7c9bb
Merge branch 'bugfix/potential_cocurrency_issue_in_gdma' into 'master'
...
gdma: fix potential cocurrency issue
Closes IDF-2646
See merge request espressif/esp-idf!12001
2021-01-27 15:07:35 +08:00
Michael (XIAO Xufeng)
da4b4fc565
Merge branch 'bugfix/mcpwm_can_set_two_falut_signal' into 'master'
...
mcpwm: fix second fault line broken issue
Closes IDFGH-4194
See merge request espressif/esp-idf!12119
2021-01-27 11:36:30 +08:00
Michael (XIAO Xufeng)
31955fd7ea
i2c: modify internal impl to ensure the cmd will not be modified
...
related to: https://github.com/espressif/esp-idf/issues/5108
2021-01-27 01:31:49 +08:00
Michael (XIAO Xufeng)
2b83418141
adc: add fallback calibration method
...
Also:
1. Separate static configuration into init phase to improve
performance
2. Add a init code config layer to avoid duplicated configuration
3. Add a HW_CALIBRATION_V1 caps
2021-01-25 20:30:42 +08:00
Michael (XIAO Xufeng)
c257daa950
wifi: run adc2 calibration on C3
2021-01-25 15:08:50 +08:00
Armando
f5f0461264
tmpsensor: add temp_sensor.h for c3
2021-01-25 04:51:40 +00:00
Armando
f9ec7ddda3
adc: add comment for ADC sampling frequency
2021-01-25 04:51:40 +00:00
Armando
d8a4b247b9
adc_digi: update_adc_api_for_5M_freq_limit
...
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
90fc3e7030
adc: update the monitor and filter in the HAL on C3
...
On C3 ADC has no enable bit for monitor and filter. However we can use context variables to implement one
2021-01-25 04:51:40 +00:00
fuzhibo
19fb11549b
driver(adc): update adc ll and hal driver for esp32c3
2021-01-25 04:51:40 +00:00
Armando
271c97149d
rtc_tmpsensor: remove redundant semaphore on c3
2021-01-25 04:51:40 +00:00
Angus Gratton
feb293797f
driver: esp32c3 rtc_tempsensor compile fixes
2021-01-25 04:51:40 +00:00
fuzhibo
33647c7cd4
update temperature Sensor driver for esp32c3
2021-01-25 04:51:40 +00:00
Angus Gratton
a5fb7deda5
driver: Update/cleanup esp32c3 rtc_tempsensor.c
2021-01-25 04:51:40 +00:00