Initial Commit

This commit is contained in:
me-no-dev
2020-05-09 19:11:30 +03:00
parent 93d77859d9
commit 8569b2c893
4322 changed files with 646381 additions and 251667 deletions

View File

@@ -37,7 +37,11 @@ extern "C" {
#include "esp_sleep.h"
#ifndef F_CPU
#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
#define F_CPU (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000U)
#elif CONFIG_IDF_TARGET_ESP32S2
#define F_CPU (CONFIG_ESP32S2_DEFAULT_CPU_FREQ_MHZ * 1000000U)
#endif
#endif
//forward declaration from freertos/portmacro.h