smartknob-ha / firmware

smartknob firmware, esp-idf based instead of tasmota
GNU Affero General Public License v3.0
2 stars 1 forks source link

feat: Implemented display driver component #58

Closed abrondijk closed 1 month ago

abrondijk commented 1 month ago

Lots of non-member variables in the source file, but this is so the header does not have to include the underlying namespaces and classes.

All non-member functions have been copied directly from the example.

sdkconfig has been changed to enable PSRAM.

https://github.com/smartknob-ha/firmware/blob/f900f260106b79126c01854e9caa723cf89a9f39/src/main.cpp#L36 Component initialization is done in a separate thread, and because the initialization of the display driver can take a while, this line was added. This is due to the fact that statically allocated variables on PSRAM are zero-initialized.

abrondijk commented 1 month ago

Also closes https://github.com/smartknob-ha/sdk/issues/1.