Signed-off-by: myperworld <myperworld@126.com>
This commit is contained in:
1 parent
0986832fd1
commit
aacd052c06
3403 files changed
+597376
-12
No files matched your search
@@ -0,0 +1,25 @@
|
||||
|
||||
#include "fl/has_include.h"
|
||||
|
||||
|
||||
// Platform must be esp32.
|
||||
#if !defined(ESP32) || !FL_HAS_INCLUDE("sdkconfig.h")
|
||||
#define IS_ESP32_DEV 0
|
||||
#else
|
||||
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
#define IS_ESP32_DEV 1
|
||||
#else
|
||||
#define IS_ESP32_DEV 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if IS_ESP32_DEV
|
||||
#include "EspI2SDemo.h"
|
||||
#else
|
||||
#include "platforms/sketch_fake.hpp"
|
||||
#endif
|
||||
Reference in new issue
Block a user