Future plans #151
Replies: 1 comment
-
So, to comment on your suggestions, @vortigont
The library was created for early microcontrollers, like Uno and Nano with very little RAM, so every byte counted. Not as much a problem now, but I like to have a lean code compiled exactly with the functionality you need and nothing else. Maybe a bit more difficult to maintain. The object-oriented approach would generate a long list of classes with various permutations of available functionality. Think it would be just confusing. Instead you uncomment whatever defines you need and all set. In Platformio, just add -D to the main config file as in the example
I am staying deliberately away from RTOS. TS philosophy is different as this is a cooperative multitasking library. There is no need in 99% of cases to use mutexes, thread safety is only a concern if you are running TS under RTOS and the same tasks could be accessed via separate threads, for which I have _TASK_THREAD_SAFE option. In a way this is an alternative to RTOS, however, I have successfully used both approaches in the past here.
Agree. I wish I had the time.
Yes, but a lot of people use it and there is a very simple workaround for PlatformIO (which is my preferred dev env now). I really do not want to drop Arduino support. |
Beta Was this translation helpful? Give feedback.
-
Moved here from #148 (comment) by @vortigont
Beta Was this translation helpful? Give feedback.
All reactions