add files for main modules
continuous-integration/drone/push Build is passing Details

This commit is contained in:
j3d1 2021-07-02 18:45:29 +02:00
parent e4df1cb176
commit 26211ea9ed
11 changed files with 113 additions and 1 deletions

View File

@ -2,7 +2,10 @@
#include <esp/uart.h>
#include <stdio.h>
#include "wifi.h"
#include "web.h"
#include "mqtt.h"
#include "lux.h"
void user_init(void)

3
firmware/lux.cpp Normal file
View File

@ -0,0 +1,3 @@
//
// Created by jedi on 25.06.21.
//

16
firmware/lux.h Normal file
View File

@ -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

5
firmware/mqtt.cpp Normal file
View File

@ -0,0 +1,5 @@
//
// Created by jedi on 25.06.21.
//
#include "mqtt.h"

16
firmware/mqtt.h Normal file
View File

@ -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

13
firmware/system.c Normal file
View File

@ -0,0 +1,13 @@
//
// Created by jedi on 25.06.21.
//
#include "system.h"
#include <FreeRTOS.h>
#include <task.h>
#include <sysparam.h>
#include <spiflash.h>
#include <espressif/esp_common.h>
#include <espressif/user_interface.h>

16
firmware/system.h Normal file
View File

@ -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

3
firmware/web.cpp Normal file
View File

@ -0,0 +1,3 @@
//
// Created by jedi on 25.06.21.
//

16
firmware/web.h Normal file
View File

@ -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

5
firmware/wifi.cpp Normal file
View File

@ -0,0 +1,5 @@
//
// Created by jedi on 25.06.21.
//
#include "wifi.h"

16
firmware/wifi.h Normal file
View File

@ -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