esp_alox/main/main.h
simon 55228fff8d Added MultiBoard Support
Support ESP32S3 and ESP32C3 while compiling
2025-07-24 14:15:53 +02:00

24 lines
505 B
C

#ifndef MAIN_H
#define MAIN_H
#include "assert.h"
#include "portmacro.h"
#include <esp_event.h>
#include <esp_now.h>
#include <esp_wifi.h>
#include <freertos/FreeRTOS.h>
#include <freertos/queue.h>
#include <freertos/task.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#ifdef CONFIG_IDF_TARGET_ESP32S3
#define MASTER_MODE_PIN GPIO_NUM_1 // Jumper-Erkennungspin
#elif CONFIG_IDF_TARGET_ESP32C3
#define MASTER_MODE_PIN GPIO_NUM_0 // Jumper-Erkennungspin
#endif
#endif