-
Notifications
You must be signed in to change notification settings - Fork 6
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
easygpio issue on freertos sdk #3
Comments
I've made some #ifdef conditions removing the easygpio_attachInterrupt and easygpio_detachInterrupt functions if XT_RTOS_NAME is defined. |
no it doesnt work. |
rtos sdk does not contain osapi.h, os_type.h and user_interface.h. I'm working on a workaround.. os_timer_t is defined in os_type.h in esp_iot_sdk_v0.9.5. os_event_t is not defined in rtos, at all. |
Have you any progress for rtos sdk? |
Sorry, no - not yet. Have you figured out a way for the compiler to "know" if it's running in rtos? (a standard #define or something) |
i am using user_config.h for this operation. i define RTOS in user_config.h and include user_main first line.i quick looked rtos brunch and i saw something. rtos sdk has not ets_sys.h,osapi.h. so you must to change that lines in usermain.c |
The compilation process does not quite work that way. Not every .c file that needs to know about rtos includes user_config.h (and they should not), so RTOS much be defined in the Makefile:
But your right, something has to be done with user_main.c. |
xtask usefull more than timers. |
can we use pcd8544 library without easygpio driver? because freertos sdk has different interrupt for gpio pins. i tried your library with freertos and i didnt make it compile.
here is sdk link on github
https://github.com/espressif/esp_iot_rtos_sdk
The text was updated successfully, but these errors were encountered: