teensy41: pwm sample unable to build #45292
-
I am trying to test pwm on teensy41, but i can't seem to build the sample. The sample code is untouched, I just added a teensy 41 specific overlay to output on teensy41's pin 2, which is EMC_04:
I get the following error during build:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
You need to put the pinmux under
|
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for the help. Sorry i didn't realize that the discussion tab had appeared, I just posted this as an issue out of habit. I had a feeling it was PEBKAC.
Also I'm curious why do the pwm pinctrl->pinmux bits have to be manually added, its not like they are too dynamic. The -pinctrl.dtsi in board folder already has pinmuxes for all other interfaces, even the ones that overlap. |
Beta Was this translation helpful? Give feedback.
-
Hi I'm struggling to get PWM to work on the teensy. I can get my app to build using the below overlay, but can't get any signal to come out of the pin! My code snippet is as below
I've mapped the iomux through from the reference manual and Really can't figure out what to try next! Thanks for any help or pointers. Cheers Dave
|
Beta Was this translation helpful? Give feedback.
You need to put the pinmux under
&pinctrl
: