Re: Anyone using SAMv7 PWM?

2022-05-18 Thread Petro Karashchenko
Hello Michal, Please participate in the review of https://github.com/apache/incubator-nuttx/pull/6298 I would appreciate it if you can try if changes work for you. Looking forward receiving feedback from you. Best regards, Petro ср, 18 трав. 2022 р. о 16:33 Petro Karashchenko < petro.karashche.

Re: LDFLAGS -nostdlib for arm-nuttx-elf?

2022-05-18 Thread Xiang Xiao
-nostdlib is specific to clang/gcc toolchain, not specific to arm or elf. Only gcc/clang toolchain add this flag, other toolchain(e.g. z80) still keep as before. On Wed, May 18, 2022 at 8:59 PM Nathan Hartman wrote: > I noticed that we are unconditionally using: > > LDFLAGS += -nostdlib > > Is t

Re: Anyone using SAMv7 PWM?

2022-05-18 Thread Petro Karashchenko
Hi, I was able to resolve the issue. Will push patch soon. Best regards, Petro ср, 18 трав. 2022 р. о 16:24 Michal Lenc пише: > Hello > > > > CONFIG_EXAMPLES_PWM=y > > > CONFIG_PWM=y > > > CONFIG_SAMV7_PWM0=y > > CONFIG_SAMV7_PWM0_CH2=y > > > > > I used your configuration options and there ind

Re: Anyone using SAMv7 PWM?

2022-05-18 Thread Michal Lenc
Hello > CONFIG_EXAMPLES_PWM=y > CONFIG_PWM=y > CONFIG_SAMV7_PWM0=y > CONFIG_SAMV7_PWM0_CH2=y I used your configuration options and there indeed seems to be a problem. I also wasn´t able to get any PWM output if the driver was configured as a single channel with CONFIG_PWM_MULTICHAN disabled

LDFLAGS -nostdlib for arm-nuttx-elf?

2022-05-18 Thread Nathan Hartman
I noticed that we are unconditionally using: LDFLAGS += -nostdlib Is that correct when building with arm-nuttx-elf toolchain? Thanks, Nathan