add files for main modules
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									e4df1cb176
								
							
						
					
					
						commit
						26211ea9ed
					
				
					 11 changed files with 113 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
									
								
							
							
						
						
									
										3
									
								
								firmware/lux.cpp
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
//
 | 
			
		||||
// Created by jedi on 25.06.21.
 | 
			
		||||
//
 | 
			
		||||
							
								
								
									
										16
									
								
								firmware/lux.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								firmware/lux.h
									
										
									
									
									
										Normal 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
									
								
							
							
						
						
									
										5
									
								
								firmware/mqtt.cpp
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,5 @@
 | 
			
		|||
//
 | 
			
		||||
// Created by jedi on 25.06.21.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "mqtt.h"
 | 
			
		||||
							
								
								
									
										16
									
								
								firmware/mqtt.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								firmware/mqtt.h
									
										
									
									
									
										Normal 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
									
								
							
							
						
						
									
										13
									
								
								firmware/system.c
									
										
									
									
									
										Normal 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
									
								
							
							
						
						
									
										16
									
								
								firmware/system.h
									
										
									
									
									
										Normal 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
									
								
							
							
						
						
									
										3
									
								
								firmware/web.cpp
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
//
 | 
			
		||||
// Created by jedi on 25.06.21.
 | 
			
		||||
//
 | 
			
		||||
							
								
								
									
										16
									
								
								firmware/web.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								firmware/web.h
									
										
									
									
									
										Normal 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
									
								
							
							
						
						
									
										5
									
								
								firmware/wifi.cpp
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,5 @@
 | 
			
		|||
//
 | 
			
		||||
// Created by jedi on 25.06.21.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "wifi.h"
 | 
			
		||||
							
								
								
									
										16
									
								
								firmware/wifi.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								firmware/wifi.h
									
										
									
									
									
										Normal 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
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue