Chat freely about anything...

User avatar
By kolban
#34657 I have PWM working with the non FreeRTOS version of the ESP8266 SDK but when I try and use the FreeRTOS ESP8266 SDK I can not seem to get an output signal. I have linked with libpwm.a and my PWM code works fine on the non-FreeRTOS building so my confidence is high on the code.

Has anyone else been down the path of using PWM in conjunction with FreeRTOS ESP8266 SDK?
User avatar
By jcard0na
#34939 Hi kolban,

I was also researching this and saw your post. Unfortunately I cannot provide an answer, just a bit of hope: the FreeRTOS SDK also has a libpwm.a library. It is different from the non-FreeRTOS version but still has these functions:

Code: Select all  pwm_start
  pwm_set_duty
  pwm_set_period
  pwm_get_duty
  pwm_get_period
  pwm_init


The implementation of those functions differ (at least from what I can understand from looking at the disassembled code) and these post seems to indicate that the library has been recently modified: http://bbs.espressif.com/viewtopic.php?t=515

So, as said, no solution, just hope that this will be documented soon by Espressif.

Best,
User avatar
By kolban
#34978 @jcard0na,
Thank you for the post. If I get something working I'll follow up here. If you need a partner to run experiments in this area, feel free to contact me as I'm keen to learn how this area works.
User avatar
By Narasing
#55972 Hi,
I am very new and familiar with ESP8266 programming in arduino IDE only.
I seen freeRTOS is supported to ESP 12E. So which IDE i used to write,compile and upload the freeRTOS code into ESP12E.

So please tell me the steps to compile freeRTOS sdk based program and how to upload the program to the ESP8266?And which IDE i use for writing.