-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not compiling with arduino-esp32.git#2.0.1 #102
Comments
Okay, the linker error is
The large (and only) warning message just made me suspect this library, but it’s a big project so I’ll try commenting out this library (and associated code) and see if it compiles. |
It looks like the issue was that arduino framework 2.0.1 is just too new with PlatformIO. following this: espressif/arduino-esp32#5436 Then adding (modifying) the following to my platformio.ini fixed the issue: Feel free to close the issue once you see it. Thanks! |
Final linking fails when using framework arduino-esp32.git#2.0.1
Here are the warnings:
.pio/libdeps/release/FastAccelStepper/src/StepperISR_esp32_espidfv4.4.cpp: In member function 'void StepperQueue::init(uint8_t, uint8_t)': .pio/libdeps/release/FastAccelStepper/src/StepperISR_esp32_espidfv4.4.cpp:298:62: warning: 'esp_err_t mcpwm_isr_register(mcpwm_unit_t, void (*)(void*), void*, int, intr_handle_data_t**)' is deprecated: interrupt events are handled by driver, please use callback [-Wdeprecated-declarations] NULL, ESP_INTR_FLAG_IRAM | ESP_INTR_FLAG_SHARED, NULL); ^ In file included from .pio/libdeps/release/FastAccelStepper/src/StepperISR.h:58, from .pio/libdeps/release/FastAccelStepper/src/StepperISR_esp32_espidfv4.4.cpp:2: C:/Users/Anthony/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/mcpwm.h:926:11: note: declared here esp_err_t mcpwm_isr_register(mcpwm_unit_t mcpwm_num, void (*fn)(void *), void *arg, int intr_alloc_flags, ^~~~~~~~~~~~~~~~~~ .pio/libdeps/release/FastAccelStepper/src/StepperISR_esp32_espidfv4.4.cpp:298:62: warning: 'esp_err_t mcpwm_isr_register(mcpwm_unit_t, void (*)(void*), void*, int, intr_handle_data_t**)' is deprecated: interrupt events are handled by driver, please use callback [-Wdeprecated-declarations] NULL, ESP_INTR_FLAG_IRAM | ESP_INTR_FLAG_SHARED, NULL); ^ In file included from .pio/libdeps/release/FastAccelStepper/src/StepperISR.h:58, from .pio/libdeps/release/FastAccelStepper/src/StepperISR_esp32_espidfv4.4.cpp:2: C:/Users/Anthony/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/mcpwm.h:926:11: note: declared here esp_err_t mcpwm_isr_register(mcpwm_unit_t mcpwm_num, void (*fn)(void *), void *arg, int intr_alloc_flags,
The text was updated successfully, but these errors were encountered: