add basic wifi with station and AP modes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
j3d1 2021-07-09 21:42:44 +02:00
parent f3762ff598
commit 2a55d69ac4
3 changed files with 365 additions and 4 deletions

View file

@ -1,13 +1,15 @@
#include <espressif/esp_common.h>
#include <esp/uart.h>
#include <stdio.h>
#include "system.h"
#include "wifi.h"
#include "web.h"
#include "mqtt.h"
#include "lux.h"
#include <stdio.h>
#include <FreeRTOS.h>
#include <task.h>
#include <espressif/esp_common.h>
#include <esp/uart.h>
void user_init(void)
{
@ -17,4 +19,7 @@ void user_init(void)
sdk_wifi_set_sleep_type(WIFI_SLEEP_MODEM);
system_init_config();
xTaskCreate(wifi_task, "wifi_task", 512, NULL, 2, NULL);
}