From 26211ea9ed7eba49dd0a012bacf0a577712ec1f9 Mon Sep 17 00:00:00 2001 From: jedi Date: Fri, 2 Jul 2021 18:45:29 +0200 Subject: [PATCH] add files for main modules --- firmware/fiatlux.c | 5 ++++- firmware/lux.cpp | 3 +++ firmware/lux.h | 16 ++++++++++++++++ firmware/mqtt.cpp | 5 +++++ firmware/mqtt.h | 16 ++++++++++++++++ firmware/system.c | 13 +++++++++++++ firmware/system.h | 16 ++++++++++++++++ firmware/web.cpp | 3 +++ firmware/web.h | 16 ++++++++++++++++ firmware/wifi.cpp | 5 +++++ firmware/wifi.h | 16 ++++++++++++++++ 11 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 firmware/lux.cpp create mode 100644 firmware/lux.h create mode 100644 firmware/mqtt.cpp create mode 100644 firmware/mqtt.h create mode 100644 firmware/system.c create mode 100644 firmware/system.h create mode 100644 firmware/web.cpp create mode 100644 firmware/web.h create mode 100644 firmware/wifi.cpp create mode 100644 firmware/wifi.h diff --git a/firmware/fiatlux.c b/firmware/fiatlux.c index c804798..a0fb5ea 100644 --- a/firmware/fiatlux.c +++ b/firmware/fiatlux.c @@ -2,7 +2,10 @@ #include #include - +#include "wifi.h" +#include "web.h" +#include "mqtt.h" +#include "lux.h" void user_init(void) diff --git a/firmware/lux.cpp b/firmware/lux.cpp new file mode 100644 index 0000000..6fd858b --- /dev/null +++ b/firmware/lux.cpp @@ -0,0 +1,3 @@ +// +// Created by jedi on 25.06.21. +// diff --git a/firmware/lux.h b/firmware/lux.h new file mode 100644 index 0000000..f185111 --- /dev/null +++ b/firmware/lux.h @@ -0,0 +1,16 @@ +// +// Created by jedi on 25.06.21. +// + +#ifndef FIRMWARE_LUX_H +#define FIRMWARE_LUX_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif //FIRMWARE_LUX_H diff --git a/firmware/mqtt.cpp b/firmware/mqtt.cpp new file mode 100644 index 0000000..9622645 --- /dev/null +++ b/firmware/mqtt.cpp @@ -0,0 +1,5 @@ +// +// Created by jedi on 25.06.21. +// + +#include "mqtt.h" diff --git a/firmware/mqtt.h b/firmware/mqtt.h new file mode 100644 index 0000000..a5e03b6 --- /dev/null +++ b/firmware/mqtt.h @@ -0,0 +1,16 @@ +// +// Created by jedi on 25.06.21. +// + +#ifndef FIRMWARE_MQTT_H +#define FIRMWARE_MQTT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif //FIRMWARE_MQTT_H diff --git a/firmware/system.c b/firmware/system.c new file mode 100644 index 0000000..3de7ada --- /dev/null +++ b/firmware/system.c @@ -0,0 +1,13 @@ +// +// Created by jedi on 25.06.21. +// + +#include "system.h" + +#include +#include +#include +#include + +#include +#include \ No newline at end of file diff --git a/firmware/system.h b/firmware/system.h new file mode 100644 index 0000000..42ec187 --- /dev/null +++ b/firmware/system.h @@ -0,0 +1,16 @@ +// +// Created by jedi on 25.06.21. +// + +#ifndef FIRMWARE_SYSTEM_H +#define FIRMWARE_SYSTEM_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif //FIRMWARE_SYSTEM_H diff --git a/firmware/web.cpp b/firmware/web.cpp new file mode 100644 index 0000000..1f26158 --- /dev/null +++ b/firmware/web.cpp @@ -0,0 +1,3 @@ +// +// Created by jedi on 25.06.21. +// \ No newline at end of file diff --git a/firmware/web.h b/firmware/web.h new file mode 100644 index 0000000..c76754b --- /dev/null +++ b/firmware/web.h @@ -0,0 +1,16 @@ +// +// Created by jedi on 25.06.21. +// + +#ifndef FIRMWARE_WEB_H +#define FIRMWARE_WEB_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif //FIRMWARE_WEB_H diff --git a/firmware/wifi.cpp b/firmware/wifi.cpp new file mode 100644 index 0000000..da4c496 --- /dev/null +++ b/firmware/wifi.cpp @@ -0,0 +1,5 @@ +// +// Created by jedi on 25.06.21. +// + +#include "wifi.h" diff --git a/firmware/wifi.h b/firmware/wifi.h new file mode 100644 index 0000000..97c5f85 --- /dev/null +++ b/firmware/wifi.h @@ -0,0 +1,16 @@ +// +// Created by jedi on 25.06.21. +// + +#ifndef FIRMWARE_WIFI_H +#define FIRMWARE_WIFI_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif //FIRMWARE_WIFI_H