Darian Leung
f0219b73f9
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-19 15:45:02 +08:00
Darian Leung
f2ede42191
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-19 15:45:01 +08:00
gaoxu
7ab43c0fbd
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy)
2024-02-19 15:02:30 +08:00
morris
df558f4f39
Merge branch 'feature/bytes_encoder_config_update_v5.2' into 'release/v5.2'
...
feat(rmt): support update bytes encoder configurations at runtime (v5.2)
See merge request espressif/esp-idf!28381
2024-02-18 10:54:54 +08:00
morris
9961629d58
Merge branch 'feature/rmt_encoder_memory_allocator_v5.2' into 'release/v5.2'
...
feat(rmt): added a help function for allocating encoder memory (v5.2)
See merge request espressif/esp-idf!28790
2024-02-18 10:52:39 +08:00
morris
48e3103c8c
Merge branch 'bugfix/mcpwm_reset_generator_gpio_v5.2' into 'release/v5.2'
...
fix(mcpwm): reset GPIO used by generator after delete (v5.2)
See merge request espressif/esp-idf!28831
2024-02-18 10:51:52 +08:00
morris
cc649ea869
Merge branch 'contrib/github_pr_12998_v5.2' into 'release/v5.2'
...
fix(twai): TWAI_GENERAL_CONFIG_DEFAULT initialize controller_id (GitHub PR) (v5.2)
See merge request espressif/esp-idf!28572
2024-02-06 21:30:26 +08:00
morris
d4db16058d
fix(mcpwm): reset GPIO used by generator after delete
...
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:47:55 +08:00
morris
5ad9e6b87f
feat(rmt): added a help function for allocating encoder memory
...
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE
Closes https://github.com/espressif/esp-idf/issues/13032
2024-01-30 17:03:41 +08:00
wanlei
59d25c4d62
fix(i2s): multi_dev test update to use non_boot_ctrl gpio
2024-01-25 16:44:58 +08:00
Nebojša Cvetković
24b3a4ee45
fix(twai): TWAI_GENERAL_CONFIG_DEFAULT initialize controller_id
...
Fix for C++ warning `-Wmissing-field-initializers`
Closes https://github.com/espressif/esp-idf/pull/12998
2024-01-18 20:06:30 +08:00
morris
414306bd37
feat(rmt): support update bytes encoder configurations at runtime
...
Closes https://github.com/espressif/esp-idf/issues/12775
2024-01-16 15:59:11 +08:00
wanlei
af966596d4
fix(i2c): test app change gpio
2024-01-16 11:10:36 +08:00
Jiang Jiang Jian
c3b7aa76d9
Merge branch 'change/add_scl_check_v5.2' into 'release/v5.2'
...
change(i2c): Add check for scl frequency for master_bus_add_device(backport v5.2)
See merge request espressif/esp-idf!27662
2023-12-26 10:34:00 +08:00
Vikram Dattu
504c6a09e1
fix(docs): fixed doxygen warnings in few headers
...
- non-matching arguments in `i2c_types.h` and `esp_wifi_crypto_types.h`
- Fixed unended `@cond` macro in `esp_err.h`
2023-12-19 13:12:28 +05:30
Marius Vikhammer
8005821b09
Merge branch 'change/deprecate_legacy_xtensa_include_path_v5.2' into 'release/v5.2'
...
change(xtensa): Deprecate legacy include paths (v5.2)
See merge request espressif/esp-idf!27673
2023-12-07 17:27:38 +08:00
Song Ruo Jing
be27966ce9
change(uart): improved the internal logic of uart_read_bytes
...
Ringbuffer usage becomes more efficient with the use of xRingbufferReceiveUpTo
Closes https://github.com/espressif/esp-idf/issues/12386
2023-12-06 11:39:31 +08:00
Darian Leung
c2e134b775
change(xtensa): Deprecate ".../xtensa_api.h" include path
...
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
Cao Sen Miao
1625943486
change(i2c): Add check for scl frequency for master_bus_add_device
...
Closes https://github.com/espressif/esp-idf/issues/12598
2023-12-05 13:36:39 +08:00
Song Ruo Jing
55ed548cc6
fix(console): enable to select UART1 port for console output
...
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-30 11:26:09 +08:00
sonika.rathi
45d801d815
fix(vfs/uart): add UART VFS select callback in IRAM
...
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-21 10:26:25 +01:00
morris
40093b34eb
fix(rmt): enable dma owner check
...
Closes https://github.com/espressif/esp-idf/issues/12564
2023-11-20 14:55:34 +08:00
morris
8abcc07d1f
fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-17 16:34:40 +08:00
wuzhenghui
b7f1aa5292
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 17:18:43 +08:00
morris
621acc4d75
Merge branch 'feature/rmt_receive_in_isr_v5.2' into 'release/v5.2'
...
feat(rmt): support calling rmt_receive in ISR callback (v5.2)
See merge request espressif/esp-idf!26996
2023-11-13 12:22:33 +08:00
Jiang Jiang Jian
4331ae783a
Merge branch 'feature/support_adc_calibration_on_h2_v5.2' into 'release/v5.2'
...
adc_cali: supported adc calibration v1 on ESP32H2 (v5.2)
See merge request espressif/esp-idf!26962
2023-11-09 12:14:40 +08:00
morris
02cacc6e05
Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.2' into 'release/v5.2'
...
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.2)
See merge request espressif/esp-idf!26966
2023-11-08 14:50:30 +08:00
morris
2e8cc61af7
feat(rmt): support calling rmt_receive in ISR callback
2023-11-08 14:32:26 +08:00
Cao Sen Miao
9d3d9d16f0
docs(i2c): Modify some variables in I2C driver for good docs
2023-11-08 10:48:48 +08:00
Armando
f01a40afe2
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
...
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:11:10 +08:00
gaoxu
7f3221aa09
feat(adc_cali): Add ADC calibration support for ESP32H2
2023-11-06 10:57:36 +08:00
morris
85ba4189f8
Merge branch 'bugfix/fix_pdm_rx_high_pass_cut_off_coeff_v5.2' into 'release/v5.2'
...
bugfix(i2s): fix pdm rx high pass filter cut off coeff (v5.2)
See merge request espressif/esp-idf!26836
2023-11-03 13:46:12 +08:00
morris
8dda17e3a3
fix(rmt): a disabled channel may pick up a pending transaction
...
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-11-02 11:30:42 +08:00
laokaiyao
f03448ca94
fix(i2s): fix pdm rx high pass filter cut off coeff
2023-11-02 10:10:14 +08:00
Cao Sen Miao
c9f85d8d1b
feat(i2c_test): Add multi board test for I2C master and I2C slave
2023-10-24 18:46:27 +08:00
Cao Sen Miao
8d639492f2
feat(i2c_slave): Add new implementation and API for I2C slave
2023-10-24 18:44:49 +08:00
morris
767595a22f
Merge branch 'feature/mcpwm_timer_change_freq' into 'master'
...
feat(mcpwm): support update timer period dynamically
Closes IDFGH-11145
See merge request espressif/esp-idf!26419
2023-10-23 15:51:14 +08:00
morris
78937173cd
Merge branch 'bugfix/wrong_dma_bus_use' into 'master'
...
bugfix(driver): fix wrong DMA bus usage
See merge request espressif/esp-idf!26569
2023-10-23 12:16:34 +08:00
Jiang Jiang Jian
0049cc663a
Merge branch 'feature/support_output_internal_clock' into 'master'
...
feature(gpio): Add api to support output internal clock
Closes IDF-8016 and IDF-4935
See merge request espressif/esp-idf!25753
2023-10-22 22:06:13 +08:00
morris
df2c62d270
bugfix(driver): fix wrong DMA bus usage
...
in SPI, RMT, parlio
2023-10-20 09:08:54 +00:00
morris
0cbcb9f5ea
feat(mcpwm): support update timer period dynamically
...
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-20 16:57:25 +08:00
laokaiyao
e2c182ab4b
refactor(i2s): stop to output mclk after uninstalled on esp32
2023-10-20 14:55:10 +08:00
Armando (Dou Yiwen)
1bce665e73
Merge branch 'feat/sdspi_esp32p4' into 'master'
...
sdspi: supported sdspi on esp32p4
Closes IDF-7501
See merge request espressif/esp-idf!26458
2023-10-20 10:41:44 +08:00
morris
565b9fd117
Merge branch 'refactor/hal_util_bitwise_reverse8' into 'master'
...
hal: add util function to reverse a 8bit byte
See merge request espressif/esp-idf!26532
2023-10-20 09:43:15 +08:00
wuzhenghui
1f10c84a4f
change(hal): rewrite gpio_ll_set_iomux_pin_ctrl api
2023-10-19 22:24:08 +08:00
Armando (Dou Yiwen)
471f1f61ae
Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'
...
sdmmc: esp32p4 support
Closes IDF-6502
See merge request espressif/esp-idf!25405
2023-10-19 22:00:40 +08:00
Wan Lei
a9b6c98489
Merge branch 'refactor/spi_using_rcc_automic_lock' into 'master'
...
refac(spi): update periph_module_xxx with rcc_atomic_lock for periph bus
Closes IDF-8159
See merge request espressif/esp-idf!26394
2023-10-18 20:36:51 +08:00
Zim Kalinowski
fa1a3ce0b5
Merge branch 'refactor/components_linux_compatible' into 'master'
...
Exclude all currently incompatible components from Linux build
Closes IDF-8318 and IDF-5996
See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Armando
4eaf233bb8
change(sdmmc): replace periph_module_x with rcc
2023-10-18 11:57:55 +00:00
Armando
70314b56d5
feat(sdmmc): supported sd2.0 on esp32p4
2023-10-18 11:57:55 +00:00
Wan Lei
9f413d5d8d
Merge branch 'feature/esp32p4_hp_ledc_support' into 'master'
...
feat(ledc): support ledc on esp32p4
Closes IDF-6510
See merge request espressif/esp-idf!25356
2023-10-18 15:27:54 +08:00
morris
e92a1515be
feat(hal): add util function to reverse a 8bit byte
2023-10-18 09:48:14 +08:00
wanlei
57614bbad2
feat(ledc): support ledc on esp32p4
2023-10-17 16:40:04 +08:00
Kevin (Lao Kaiyao)
fcc4827e88
Merge branch 'contrib/github_pr_12384' into 'master'
...
docs: fix i2s section formatting (GitHub PR)
Closes IDFGH-11218
See merge request espressif/esp-idf!26408
2023-10-17 12:34:18 +08:00
wanlei
b81cafe42e
refac(spi): update periph_module_xxx with rcc_automic_lock for periph bus
2023-10-17 11:32:23 +08:00
Armando
d08518e310
feat(sdspi): supported sdspi on esp32p4
2023-10-16 19:29:07 +08:00
Jakob Hasse
548022fbe6
refactor(linux): excluded all non-Linux components from build
...
* All components which won't build (yet) on Linux are excluded.
This enables switching to Linux in an application without
explicitly setting COMPONENTS to main in the main
CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available
doc(linux): brought section
"Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Armando
cb90ed263d
fix(spi): fixed spi master polling mode not mem sync issue on esp32p4
2023-10-16 15:35:08 +08:00
laokaiyao
10ab993f25
ci(pre-check): revert the check list accident change in PR
2023-10-16 11:20:57 +08:00
Song Ruo Jing
d73bf72885
Merge branch 'feature/gpio_dump_io_info' into 'master'
...
feat(gpio): add a dump API to dump IO configurations
Closes IDFGH-10987
See merge request espressif/esp-idf!26158
2023-10-13 22:35:59 +08:00
Song Ruo Jing
321f628ff5
feat(gpio): add a dump API to dump IO configurations
...
Closes https://github.com/espressif/esp-idf/issues/12176
2023-10-12 17:34:20 +08:00
morris
2ae3d4d7c4
feat(twai): support multiple twai controllers
...
Closes https://github.com/espressif/esp-idf/issues/11383
2023-10-12 09:59:27 +08:00
Bryan Melanson
48b0d3dfd5
docs: fix i2s section formatting
2023-10-10 23:08:28 -02:30
Song Ruo Jing
814159448b
Merge branch 'feature/ledc_cal_duty_resolution' into 'master'
...
feat(ledc): add ledc_find_suitable_duty_resolution function
Closes IDFGH-10569
See merge request espressif/esp-idf!25208
2023-10-10 20:34:09 +08:00
C.S.M
b2d7f4d0cd
Merge branch 'bugfix/compile_usj_fail_c6' into 'master'
...
ci(usb_serial_jtag): Add a pytest for usb_serial_jtag print.
Closes IDF-3201
See merge request espressif/esp-idf!26231
2023-10-10 13:47:19 +08:00
Cao Sen Miao
403f237825
feat(usb_serial_jtag): Add pytest for usb_serial_jtag
2023-10-10 10:05:46 +08:00
Wan Lei
f92b18053a
Merge branch 'feature/esp32p4_hp_spi_support' into 'master'
...
Feature/esp32p4 hp spi master driver support
Closes IDF-7502
See merge request espressif/esp-idf!24963
2023-10-09 18:37:35 +08:00
Gao Xu
d52040a86d
Merge branch 'esp32p4/add_uart_support' into 'master'
...
UART: Add uart support for ESP32P4
Closes IDF-6511 and IDF-7506
See merge request espressif/esp-idf!25388
2023-10-09 18:11:10 +08:00
IhorNehrutsa
9ced54699e
feat(ledc): add ledc_find_suitable_duty_resolution helper function
...
Helper function to find the maximum possible duty resolution in bits
for ledc_timer_config()
Merges https://github.com/espressif/esp-idf/pull/11810
2023-10-09 12:46:46 +08:00
wanlei
eb75aa462e
feat(spi_master): p4 enable test and examples
2023-10-08 14:45:52 +08:00
wanlei
00fcdce725
feat(spi_master): p4 add master driver supported
2023-10-08 14:45:12 +08:00
gaoxu
bc2a6bd730
feat(uart): spilt LP and HP uart set_baudrate function
2023-10-08 10:10:02 +08:00
gaoxu
4f24f805cc
feat(uart): add LP-UART GPIO support
2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d
feat(uart): add RCC atomic block to uart/lp-uart peripheral
2023-10-08 10:10:02 +08:00
gaoxu
c7afa0dcef
feat(uart): uart(hp,lp) support on esp32p4
2023-10-08 10:10:00 +08:00
laokaiyao
c018dc9d77
refactor(hal): avoid float type in hal
2023-10-07 19:01:04 +08:00
Song Ruo Jing
66821f699c
refactor(ledc): move related kconfig and linker.lf to its own folder
2023-10-02 07:32:16 +00:00
Song Ruo Jing
f5f44e2ce5
fix(ledc): always allocate memory from internal ram
2023-10-02 07:32:16 +00:00
Song Ruo Jing
821f7b0498
fix(ledc): fix ledc driver 100% duty cycle configuration
...
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.
Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12083
2023-10-02 07:32:16 +00:00
laokaiyao
e1039f9ce2
fix(i2s_platform): merge the i2s platform acquire API
2023-09-28 15:03:27 +08:00
laokaiyao
72a0746e62
refactor(apll): move the apll soc caps to clk_tree_ll
2023-09-28 15:03:27 +08:00
laokaiyao
0b0f25c30d
feat(i2s): supported getting the tx sync count and specify interrupt flags
2023-09-28 15:03:27 +08:00
laokaiyao
cf889f3c6d
feat(i2s): support i2s on esp32p4
2023-09-28 15:03:27 +08:00
morris
9e9eb0bf9d
Merge branch 'bugfix/rmt_pm_lock_type' into 'master'
...
fix(rmt): use ESP_PM_CPU_FREQ_MAX for RMT for non-dma channel
Closes IDFGH-11122
See merge request espressif/esp-idf!26220
2023-09-27 16:52:42 +08:00
Kevin (Lao Kaiyao)
cf54ebc9c1
Merge branch 'feature/support_parlio_tx_on_p4' into 'master'
...
feat(parlio_tx): supported parlio tx on p4
Closes IDF-7472
See merge request espressif/esp-idf!25365
2023-09-27 12:33:34 +08:00
morris
985b8ca948
fix(rmt): fixed unstable transfer during DFS
...
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-26 17:01:06 +08:00
laokaiyao
ff7a11e539
feat(ana_cmpr): supported etm in analog comparator example
2023-09-25 19:57:34 +08:00
laokaiyao
bf2a5653a9
feat(ana_cmpr): supported analog comparator etm function on p4
2023-09-25 19:57:34 +08:00
laokaiyao
a989ce4ab1
feat(ana_cmpr): supported analog comparator on esp32p4
2023-09-25 19:57:34 +08:00
morris
0fe1114673
Merge branch 'bugfix/shared_intr_memory_location' into 'master'
...
fix(intr): always allocate memory from internal ram
Closes IDFGH-11099
See merge request espressif/esp-idf!26090
2023-09-25 15:36:36 +08:00
Armando (Dou Yiwen)
b58a2ea6a6
Merge branch 'feature/support_cache_p4' into 'master'
...
cache: support cache driver on esp32p4
Closes IDF-7516
See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
C.S.M
923fcc25b6
Merge branch 'contrib/github_pr_11344' into 'master'
...
[Usb Serial JTAG] printing to console could sometimes skip bytes (GitHub PR)
Closes IDFGH-10069
See merge request espressif/esp-idf!23964
2023-09-25 10:50:32 +08:00
laokaiyao
28a45e20b8
feat(parlio_tx): supported parlio tx on p4
2023-09-25 10:42:30 +08:00
Cao Sen Miao
467a28f791
fix(usb_serial_jtag): Clean-up usb_serial_jtag lose byte fix, Closes https://github.com/espressif/esp-idf/pull/11344
2023-09-24 17:45:22 +08:00
C.S.M
c16b76f949
Merge branch 'bugfix/temp_clk_gate' into 'master'
...
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together
Closes WIFIBUG-110
See merge request espressif/esp-idf!25992
2023-09-22 16:32:40 +08:00
morris
3dc13d58a1
fix(intr): always allocate memory from internal ram
...
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-22 15:13:35 +08:00
Armando
32db81a6d6
change(rmt): update cache_hal_get_cache_line_size accordingly
2023-09-22 14:19:41 +08:00
Chen Yu Dong
ac17132bb4
Merge branch 'ci/move_build_test_rules_files_folder' into 'master'
...
fix(ci): change build-test-rules files folder
See merge request espressif/esp-idf!26076
2023-09-22 11:28:48 +08:00
morris
3093384045
Merge branch 'feature/pcnt_replace_periph_func_with_new_ll' into 'master'
...
feat(pcnt): replace periph_module func with new ll func
Closes IDF-8225
See merge request espressif/esp-idf!25935
2023-09-21 21:57:14 +08:00
Song Ruo Jing
98abcbabea
Merge branch 'feature/esp32p4_lp_io_support' into 'master'
...
feat(lp_io): Add support for ESP32P4
Closes IDF-7815
See merge request espressif/esp-idf!25991
2023-09-21 15:20:13 +08:00