1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/plat/freertos
Andy Green 15ce46d971 drivers: initial generic gpio and i2c plus bitbang
Make a start on generic peripheral and bus drivers to provide
meta-functionality regardless of platform.

On the one hand this simply provides...

 - bitbang i2c on top of esp-idf gpio apis
 - ssd1306 oled chip driver as found on Heltec WB32
 - modifications to the minimal example test for esp32 to use that

... on the other hand, those capabilities are provided by creating:

 - an abstract i2c class object
 - an abstract gpio class object
 - i2c class implementation using the abstract gpio for bitbang
 - an abstract display class object
 - an abstract display state (brightness, animated change,
    on/off/init tracking, autodim after inactive, auto-off /
    blanking after inactive)

... with the intention, eg, you only have to add a platform
implementation for the gpio to be able to use the i2c-based
display drivers and state handling, and i2c bitbang, without
any other modifications.
2020-06-10 19:17:08 +01:00
..
esp32 drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
CMakeLists.txt cmakelist: Augean Stables refactor 2020-05-27 08:40:12 +01:00
freertos-fds.c freertos: rename esp32 plat to freertos 2019-08-26 09:58:57 +01:00
freertos-file.c esp32: shift to support latest esp-idf 2020-05-27 08:40:12 +01:00
freertos-init.c drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
freertos-misc.c esp32: shift to support latest esp-idf 2020-05-27 08:40:12 +01:00
freertos-pipe.c freertos: lws_cancel_service udp as pipe 2020-01-15 19:52:41 +00:00
freertos-resolv.c ntpclient: add plat-specific init with env var LWS_NTP_SERVER able to set it on unix and windows 2020-04-25 15:11:21 +01:00
freertos-service.c sul: multiple timer domains 2020-06-02 08:37:10 +01:00
freertos-sockets.c esp32: shift to support latest esp-idf 2020-05-27 08:40:12 +01:00
private-lib-plat-freertos.h esp32: shift to support latest esp-idf 2020-05-27 08:40:12 +01:00