Commit Graph

82 Commits

Author SHA1 Message Date
Chen Chen c6ab28f336 feat(mcpwm): support mcpwm on esp32h21 2025-11-17 19:01:16 +08:00
Chen Chen 4a22e36ab4 feat(mcpwm): support mcpwm on esp32h4 2025-11-07 09:28:31 +08:00
morris b76254895c refactor(mcpwm): remove varg action setting functions for timer, compare, and brake events 2025-10-09 16:38:39 +08:00
Chen Chen a4710cc206 refactor(driver): remove redundant driver dependencies
now the driver component only contains legacy code for i2c, twai and
touch sensor
2025-09-30 15:47:45 +08:00
Chen Chen 7ea6b7ea52 feat: Update driver dependency for new version outside components 2025-09-19 10:35:11 +08:00
Wan Lei 9f43c02e89 Merge branch 'fix/mcpwm_foc_example_fix_angle_calc' into 'master'
fix(driver_mcpwm): in foc example correct the angle calcutation

Closes IDFGH-16074

See merge request espressif/esp-idf!41384
2025-08-20 12:06:15 +08:00
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
wanckl fdb292798e fix(driver_mcpwm): in foc example correct the angle calcutation
Closes https://github.com/espressif/esp-idf/issues/17015
2025-08-19 19:40:37 +08:00
morris c63f51dcb3 refactor(drivers)!: remove unnecessary io_loop_back and pull up/down config option 2025-05-23 18:09:53 +08:00
morris 603ebbbc99 test(mcpwm): reenable sync example test 2025-03-05 16:51:34 +08:00
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
Frantisek Hrbata 1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Ivan Grokhotkov 68e9bcbf1e fix(build): clean up dependencies on driver component 2024-11-07 13:09:23 +01:00
Chen Jichang 9e27d464eb refactor(mcpwm): remove io_loop_back in example 2024-10-18 10:35:45 +08:00
laokaiyao cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
laokaiyao c731b099ee remove(c5beta3): remove c5 beta3 doxy files 2024-06-17 12:02:15 +08:00
morris de5fb9f070 feat(mcpwm): driver support on esp32-c5 2024-05-26 22:55:03 +08:00
morris 213a599d8b fix(mcpwm): enable mcpwm group clock before hal init 2024-01-15 18:13:56 +08:00
morris 845e6c3ccb docs: update EC11 datasheet link
Closes https://github.com/espressif/esp-idf/issues/12442
2023-10-23 10:12:23 +08:00
wanlei 776b92803d fix(mcpwm): foc example enable build on all supported target 2023-10-09 12:28:08 +08:00
morris b12e250b2c refactor(examples): reformat peripheral examples with astyle_py 2023-09-28 10:08:04 +08:00
Armando 7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
wanlei b7a901951e mcpwm: add foc svpwm generation open loop example 2023-08-01 16:18:19 +08:00
morris 5680d28b0e mcpwm: fix bldc example force output level inverted
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
morris 15b9352f60 mcpwm: support esp32h2 2023-02-02 19:05:31 +08:00
morris 592673b052 mcpwm: support non-varg version of generator functions
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-03 14:42:49 +08:00
Song Ruo Jing 7466ddfa8c ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py) 2022-11-28 11:58:30 +08:00
morris 5bd99deb48 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00
Song Ruo Jing 2557e24a28 ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2022-11-01 11:23:21 +08:00
morris 2c5a866ea3 mcpwm: don't use keyword operator
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
morris 6261eae50c bdc_motor: component moved to registry 2022-08-15 14:46:56 +08:00
morris 1d4c08cef4 mcpwm: added enable/disable functions
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-15 14:46:56 +08:00
morris d91c8759c0 driver: remove -Wno-format flag 2022-08-08 08:30:09 +00:00
Ivan Grokhotkov e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
morris 169a43b8eb example: update MCPWM sync example with new driver API 2022-07-27 15:22:24 +08:00
morris 1557a533fe example: update servo example with new driver API 2022-07-27 15:22:24 +08:00
morris 6751b229f1 example: update capture example with new driver API 2022-07-27 15:22:24 +08:00
morris b77446b5c8 example: update bldc example with new driver API 2022-07-27 15:22:24 +08:00
morris 938b3d717f example: update bdc speed control example with new driver API 2022-07-27 15:22:24 +08:00
morris 9e532696f4 pcnt: add const qualifier to event data 2022-07-20 14:59:50 +08:00
Pieter Vandaele 856ab38681 Fix out of range in mcpwm example
hall_sensor_value 7 must not be allowed (s_hall_actions  array has length 7, index 0 to 6)
2022-06-23 10:57:54 +02:00
morris 3247335770 mcpwm: don't support disable carrier first pulse
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.

Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Tomas Rezucha 4dde197cca examples: Use components from idf-extra-components repository 2022-05-12 08:37:44 +00:00
morris d67888b92b pcnt: added enable/disable functions 2022-05-06 18:18:39 +08:00
morris e7295c3577 gptimer: added enable/disable functions 2022-05-06 18:18:39 +08:00
morris f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
songruo 60bb5c913d clk_tree: prework of introducing clk subsystem control
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
   upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
   Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
morris d234f2f769 example: migrate to use pulse_cnt driver 2022-03-03 22:38:32 +08:00