Open kutu opened 1 month ago
Analysing the IDF shows that soc_periph_ledc_clk_src_legacy_t
in C6 does not contain LEDC_USE_APB_CLK
:
typedef enum {
LEDC_AUTO_CLK = 0, /*!< LEDC source clock will be automatically selected based on the giving resolution and duty parameter when init the timer*/
LEDC_USE_PLL_DIV_CLK = SOC_MOD_CLK_PLL_F80M, /*!< Select PLL_F80M clock as the source clock */
LEDC_USE_RC_FAST_CLK = SOC_MOD_CLK_RC_FAST, /*!< Select RC_FAST as the source clock */
LEDC_USE_XTAL_CLK = SOC_MOD_CLK_XTAL, /*!< Select XTAL as the source clock */
LEDC_USE_RTC8M_CLK __attribute__((deprecated("please use 'LEDC_USE_RC_FAST_CLK' instead"))) = LEDC_USE_RC_FAST_CLK, /*!< Alias of 'LEDC_USE_RC_FAST_CLK' */
} soc_periph_ledc_clk_src_legacy_t;
You can try to use LEDC_AUTO_CLK
to replace the original LEDC_USE_APB_CLK
, we will fix this issue as soon as possible.
Answers checklist.
IDF version.
5.3
Espressif SoC revision.
esp32-c6
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
esp32-c6-devkitc-1
Steps to reproduce.
idf.py create-project stepper-test
cd stepper-test
idf.py set-target esp32c6
idf.py add-dependency "espressif/esp_simplefoc^0.2.0"
idf.py build
Build Logs.
More Information.
No response