Simple webserver in go

- Better Makefile
- Added basic dependencies in the Makefile
This commit is contained in:
2025-12-20 18:06:03 +01:00
parent 508669c826
commit 76967d8451
6 changed files with 58 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
idf_component_register(SRCS "station_example_main.c"
PRIV_REQUIRES esp_wifi nvs_flash
PRIV_REQUIRES esp_wifi nvs_flash esp_adc
INCLUDE_DIRS ".")

View File

@@ -18,6 +18,11 @@
#include "lwip/err.h"
#include "lwip/sys.h"
#include <math.h>
#include "esp_adc/adc_continuous.h"
#include "esp_adc/adc_cali.h"
/* The examples use WiFi configuration that you can set via project configuration menu