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
Cao Sen Miao
3265bab95f
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together
2023-09-21 12:19:12 +08:00
laokaiyao
dd4072a80c
refactor(hal): use hal utils to calculate clock division
2023-09-20 23:33:25 +08:00
morris
8d17265bb7
Merge branch 'feature/support_rmt_esp32p4' into 'master'
...
RMT driver support on ESP32-P4
Closes IDF-7476 and IDF-7730
See merge request espressif/esp-idf!25680
2023-09-20 23:11:11 +08:00
Song Ruo Jing
2d458a3f93
feat(lp_io): Add support for ESP32P4
2023-09-20 19:39:41 +08:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Planck (Lu Zeyu)
59f8008e22
feat(pcnt): replace periph_module func with new ll func
2023-09-20 15:06:04 +08:00
morris
6bb05cccdd
feat(rmt): add driver support for esp32p4
...
including DMA feature
2023-09-19 12:54:14 +08:00
Chip Weinberger
a7436ac82c
[Usb Serial JTAG] printing to console could sometimes skip bytes
2023-09-18 18:41:15 +08:00
Darian Leung
287bdc5e61
fix(test_apps): Trim builds of component test apps
...
Some component test apps do not use the "set(COMPONENTS main)" command in their
project level "CMakeLists.txt", thus leading to their builds pulling in all
ESP-IDF components.
This commit trims the build of multiple component test apps:
- Add "set(COMPONENTS main ...)" to project level "CMakeLists.txt"
- Add missing "PRIV_REQUIRES" in some "main" component "CMakeLists.txt"
Also removed repeated configuraiton options in legacy_i2c_driver/sdkconfig.ci.defaults
as they are already specified in legacy_i2c_driver/sdkconfig.defaults
2023-09-18 17:16:37 +08:00
morris
3234ee3f9e
refactor(mcpwm): add RCC related LL functions
2023-09-15 13:33:01 +08:00
Planck (Lu Zeyu)
255d499884
fix(ll): fix cpp compile error
...
Merges https://github.com/espressif/esp-idf/pull/12093
fix(ll): remove FLAG_ATTR macro
Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
2023-09-14 14:48:12 +08:00
morris
47e499de52
feat(mcpwm): clean up MCPWM ETM driver
2023-09-11 16:53:34 +08:00
Chen Jichang
7638235311
feat(mcpwm): MCPWM event comparator driver
...
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
morris
3e5906aa1b
Merge branch 'feature/modify_mcpwm_clock_pre_scale' into 'master'
...
feat(mcpwm): Set group clock prescale dynamically
See merge request espressif/esp-idf!25117
2023-09-09 08:30:56 +08:00
Chen Jichang
fc80d3e568
feat(mcpwm): Set group clock prescale dynamically
...
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-08 11:57:29 +08:00
C.S.M
61920d0360
Merge branch 'bugfix/i2c_probe_continue' into 'master'
...
fix(i2c_master): Fix I2C new master cannot continously probe
See merge request espressif/esp-idf!25761
2023-09-06 17:23:48 +08:00
morris
e8847a176f
refactor(intr): add namespace for intr_cpu_id_t
...
previously the intr_types.h doesn't have a namespace,
it has the risk of introduing conflict in user's project.
2023-09-06 09:50:41 +08:00
Cao Sen Miao
c7740b4c2b
fix(i2c_master): Fix I2C new master cannot continously probe
2023-09-05 12:27:18 +08:00
morris
3b0c0ae4d4
Merge branch 'feature/specify_rmt_intr_priority' into 'master'
...
feat(rmt): specify interrupt priority
Closes IDF-7955
See merge request espressif/esp-idf!25596
2023-09-02 11:38:46 +08:00
Planck (Lu Zeyu)
80fa5da9e8
feat(rmt): specify interrupt priority
2023-09-01 11:30:41 +08:00
Cao Sen Miao
6e3e923290
fix(i2c_master): Fix issue that i2c master probe device failed,
...
Closes https://github.com/espressif/esp-idf/issues/12159
2023-09-01 10:00:46 +08:00
Song Ruo Jing
91aab6bda0
Merge branch 'feature/add_uart_iram_safe_check' into 'master'
...
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
See merge request espressif/esp-idf!25618
2023-08-31 12:57:46 +08:00
Song Ruo Jing
767698b90d
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
2023-08-30 11:30:03 +08:00
morris
47bb157cab
refactor(twai): add reset and clock control to twai LL layer
2023-08-29 22:19:57 +08:00
Wan Lei
cff1631ac7
Merge branch 'fix/fixed_polling_api_lock_logic' into 'master'
...
fix(spi_master): fixed polling_start break common resouce when error
See merge request espressif/esp-idf!25593
2023-08-29 15:21:24 +08:00
wanlei
f7068bd937
fix(spi_master): fixed polling_start break common resouce when error
2023-08-28 18:18:38 +08:00
morris
4a45479336
refactor(lp_periph): move enable and reset control to LL driver
2023-08-28 05:17:56 +00:00
Armando (Dou Yiwen)
d4d6241db0
Merge branch 'feature/esp32p4_build_test' into 'master'
...
ci: enable ci build stage on esp32p4
Closes IDF-7524 and IDF-7525
See merge request espressif/esp-idf!25343
2023-08-25 13:35:20 +08:00
C.S.M
0bb8c13acd
Merge branch 'bugfix/usb_serial_jtag_write_return_val' into 'master'
...
bugfix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly
Closes IDFGH-10925 and IDFGH-10069
See merge request espressif/esp-idf!25492
2023-08-25 05:19:40 +08:00
morris
641fdabbf0
Merge branch 'feature/default_clock_source_can_leave_empty' into 'master'
...
feat(mcpwm): default clock source setting can leave empty
See merge request espressif/esp-idf!25478
2023-08-24 20:22:47 +08:00
Armando
6f412393b6
change(ci): add todo to p4 build test enable
2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Cao Sen Miao
c92615308c
fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
...
Closes https://github.com/espressif/esp-idf/issues/12119 ,
Closes https://github.com/espressif/esp-idf/pull/11344 ,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-08-24 11:59:20 +08:00
wanlei
f62b025f93
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
...
Close https://github.com/espressif/esp-idf/issues/11845
2023-08-24 02:09:08 +00:00
Chen Ji Chang
9db2ffd4fb
Merge branch 'fix/pcnt_zero_input_init' into 'master'
...
feat(PCNT): Add new api of clear signal
See merge request espressif/esp-idf!25372
2023-08-23 20:15:59 +08:00
morris
fa58d2c6b0
feat(mcpwm): default clock source setting can leave empty
2023-08-23 18:36:02 +08:00
morris
54febcae0e
fix(adc): invalid assertion on the adc_unit
2023-08-23 18:36:02 +08:00
morris
3b50c716d8
Merge branch 'feature/gptimer_ll_enable_reset' into 'master'
...
HW-Support: Add Atomic Code Block for Reset and Clock Control
See merge request espressif/esp-idf!25401
2023-08-23 15:11:42 +08:00
morris
329bc7e5e9
Merge branch 'feature/mcpwm_interrupt_priority' into 'master'
...
feat(MCPWM): Support set interrupt priority
Closes IDF-7952
See merge request espressif/esp-idf!25364
2023-08-23 13:43:24 +08:00
Chen Jichang
d7d87813ad
fix(PCNT): Add zero input gpio enable flag
...
The default zero input gpio num is 0. Users need to set it additionally
when not use zero input signal. It may become a breaking change.
Add an enable flag to avoid it.
2023-08-23 12:08:15 +08:00
Chen Jichang
713324ff9d
feat(MCPWM): Support set interrupt priority
2023-08-23 10:44:34 +08:00
morris
71cf16ec01
feat(gptimer): use RCC atomic block to enable/reset peripheral
2023-08-22 17:05:35 +08:00
wanlei
1b7430e0a1
fix(ci): add timeout for i2c legacy multi_board test
2023-08-22 02:12:26 +00:00
C.S.M
0ccfb126df
Merge branch 'bugfix/fix_i2c_master_issue' into 'master'
...
fix(i2c_master): Fix some issues on new i2c_master
Closes IDF-8034
See merge request espressif/esp-idf!25320
2023-08-17 10:13:48 +08:00
Kevin (Lao Kaiyao)
f629c4b7e9
Merge branch 'feature/i2s_support_mclk_input' into 'master'
...
feat(i2s): supported external clock source input
Closes IDF-7889
See merge request espressif/esp-idf!24942
2023-08-16 19:07:22 +08:00
Cao Sen Miao
0f8e60368c
fix(i2c_master): Add doc for internal pull-ups
2023-08-16 18:05:10 +08:00
Cao Sen Miao
317da3ffaf
fix(i2c_master): Fix some static issue checked by coverity
2023-08-16 10:43:18 +08:00
Chen Ji Chang
b39fd79cb8
Merge branch 'feature/add_mcpwm_carrier_clk_source' into 'master'
...
feat(MCPWM): Add mcpwm carrier clk source
Closes IDF-8029
See merge request espressif/esp-idf!25342
2023-08-15 18:04:08 +08:00
Chen Jichang
97d5db32ae
feat(MCPWM): Add mcpwm carrier clk source
...
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-15 13:04:11 +08:00
Chen Jichang
eede3796c7
feat(pcnt): support set interrupt priority
2023-08-14 17:52:38 +08:00
laokaiyao
22bb5729a4
ci(i2s): add external clock input multi_dev test cases
2023-08-14 03:25:12 +00:00
laokaiyao
4b6d71447c
feat(i2s): supported external clock source input
2023-08-14 03:25:12 +00:00
morris
26f438cf89
Merge branch 'feature/esp32p4_gpio_support' into 'master'
...
feat(gpio): add support for ESP32P4
Closes IDF-6509
See merge request espressif/esp-idf!24868
2023-08-11 11:49:51 +08:00
morris
84f9e5e8e5
Merge branch 'feature/esp32p4_pcnt_support' into 'master'
...
feat(pcnt): add support for ESP32P4
Closes IDF-7475
See merge request espressif/esp-idf!25149
2023-08-10 18:52:23 +08:00
Song Ruo Jing
be9afeac86
feat(gpio): add support for ESP32P4
2023-08-10 17:58:49 +08:00
C.S.M
96bf37ab78
Merge branch 'feature/i2c_master_new_driver' into 'master'
...
I2C: Add new i2c master impl APIs and i2c eeprom example
See merge request espressif/esp-idf!23592
2023-08-10 16:51:31 +08:00
Cao Sen Miao
4ef94fc0dc
feat(i2c): Add new API and implementation for I2C driver
2023-08-10 11:55:54 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
Chen Jichang
3fed3cf50e
feat(pcnt): add support for ESP32P4
2023-08-09 14:41:22 +08:00
morris
bd8eaf7a38
Merge branch 'feature/esp32p4_mcpwm_support' into 'master'
...
feat(MCPWM): Add support for ESP32P4
Closes IDF-7493
See merge request espressif/esp-idf!25029
2023-08-09 11:00:00 +08:00
morris
3e31826719
Merge branch 'bugfix/gptimer_hal_placement_wrong_condition' into 'master'
...
fix(gptimer): hal function placement under wrong condition
Closes IDFGH-10809
See merge request espressif/esp-idf!25237
2023-08-08 22:15:55 +08:00
Chen Jichang
72f66b6d1d
feat(mcpwm): add support for ESP32P4
2023-08-08 18:12:58 +08:00
Darian Leung
9ed58bf564
feat(driver): updated drivers to use CreateWithCaps() API
...
This commit simplifies various drivers by using the ...CreateWithCaps() API
when creating driver objects in internal RAM.
2023-08-08 04:26:42 +00:00
morris
a662ec0a8d
fix(gptimer): hal function placement under wrong condition
...
timer_hal_capture_and_get_counter_value
should be placed in the IRAM for speed optimization
because the default ISR handler is placed in the IRAM.
Closes https://github.com/espressif/esp-idf/issues/12021
2023-08-08 04:26:02 +00:00
morris
27eec5bb6f
Merge branch 'feature/twai_linker_file' into 'master'
...
feat(twai): Add twai linker.lf to control the placement of driver and hal
Closes IDF-7806
See merge request espressif/esp-idf!25126
2023-08-07 15:21:37 +08:00
Planck (Lu Zeyu)
7469f34948
feat(twai): Add twai linker.lf to control the placement of driver and hal
...
- Replace TWAI_ISR_ATTR flag with linker.lf
- Use the linker.lf to control the placement of the driver functions
2023-08-07 10:21:47 +08:00
Armando
de68029de9
change(header): modify p4 headers issues from check_header_py
2023-08-04 14:13:59 +02:00
morris
a296532715
Merge branch 'bugfix/temperature_get_value_negative' into 'master'
...
bugfix(temperature_sensor): Fix issue that get the value is negative
See merge request espressif/esp-idf!25165
2023-08-04 15:24:11 +08:00
morris
c32cabc7f8
feat(gptimer): support set interrupt priority
...
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-03 19:16:37 +08:00
Cao Sen Miao
4ccbec93e2
bugfix(temperature_sensor): Fix issue that get the value is negative
2023-08-03 11:16:42 +08:00