Skip to content
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

Can't Use PWM with Nicla Vision #641

Closed
alwint3r opened this issue Mar 15, 2023 · 2 comments
Closed

Can't Use PWM with Nicla Vision #641

alwint3r opened this issue Mar 15, 2023 · 2 comments
Labels
bug Something isn't working nicla

Comments

@alwint3r
Copy link

alwint3r commented Mar 15, 2023

I needed to send PWM signals, but when I tried using either analogWrite or mbed::PwmOut the linker always yield the following error:

pwmout_api.c:(.text.pwmout_init+0x310): undefined reference to `PinMap_PWM_HRTIM'

The version that I used is 3.5.4.

Update: Also not working with 4.0.2 version.

@facchinm
Copy link
Member

Wow, thanks for spotting! It's indeed an issue on our mbed-os fork, I just pushed arduino/mbed-os@a41dabe to fix it.
The proper core release will be available in the next few weeks, but in the meantime you can just copy the patch content (without WEAK ) in your sketch to get it compiling.

@facchinm facchinm added bug Something isn't working nicla labels Mar 17, 2023
@alwint3r
Copy link
Author

Thank you @facchinm, I'll try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nicla
Projects
None yet
Development

No branches or pull requests

2 participants