summaryrefslogtreecommitdiff
path: root/code/esp32/main
diff options
context:
space:
mode:
Diffstat (limited to 'code/esp32/main')
-rw-r--r--code/esp32/main/app_main.c38
-rw-r--r--code/esp32/main/component.mk8
2 files changed, 0 insertions, 46 deletions
diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c
deleted file mode 100644
index 4babcdc..0000000
--- a/code/esp32/main/app_main.c
+++ /dev/null
@@ -1,38 +0,0 @@
-#include <freertos/FreeRTOS.h>
-#include <freertos/task.h>
-
-#include <tcpip_adapter.h>
-#include <driver/gpio.h>
-#include <esp_sleep.h>
-
-#include "i2c.h"
-#include "cell.h"
-#include "_net.h"
-#include "wifi.h"
-#include "sock.h"
-#include "power.h"
-#include "bq25895.h"
-
-#define ESP_INTR_FLAG_DEFAULT 0
-
-// Main application
-void app_main() {
- tcpip_adapter_init();
-
- eos_net_init();
-
- eos_cell_pcm_init();
- gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
- eos_modem_init();
-
- eos_cell_init();
- eos_wifi_init();
- eos_sock_init();
-
- eos_power_init();
-
- eos_i2c_init();
- eos_bq25895_set_ilim();
-}
-
-
diff --git a/code/esp32/main/component.mk b/code/esp32/main/component.mk
deleted file mode 100644
index 61f8990..0000000
--- a/code/esp32/main/component.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# Main component makefile.
-#
-# This Makefile can be left empty. By default, it will take the sources in the
-# src/ directory, compile them and link them into lib(subdirectory_name).a
-# in the build directory. This behaviour is entirely configurable,
-# please read the ESP-IDF documents if you need to do this.
-#