Hi Greg,
Here is our tool for calibrating the delay loop for a new board. I thought we have sent this to you in past, but I guess not... sharing now in case this is useful to others as well.
Patch also fixes one undeclared variable in buttons example.
Best Regards,
Juha
Here is our tool for calibrating the delay loop for a new board. I thought we have sent this to you in past, but I guess not... sharing now in case this is useful to others as well.
Hi Greg,
I did not notice CONFIG_ARCH_CALIBRATION exists. Perhaps apps/ is indeed a better place for rarely used features than duplicating calibration loop code for each chip architecture inside RTOS itself.
One problem with calib_udelay is that it currently needs CONFIG_LIBM and CONFIG_LIBC_FLOATINGPOINT. Maybe it should select those in its Kconfig - I forgot this from my patch - or be converted to use fixedmath.h?
Best Regards,
Juha
I did not notice CONFIG_ARCH_CALIBRATION exists. Perhaps apps/ is indeed a better place for rarely used features than duplicating calibration loop code for each chip architecture inside RTOS itself.
One problem with calib_udelay is that it currently needs CONFIG_LIBM and CONFIG_LIBC_FLOATINGPOINT. Maybe it should select those in its Kconfig - I forgot this from my patch - or be converted to use fixedmath.h?