From dffb61eeffcb0014c611176a9b2d65d622cd5373 Mon Sep 17 00:00:00 2001 From: adamecki Date: Sat, 5 Sep 2026 14:11:53 +0200 Subject: [PATCH] Added a compatibility line to platformio.ini --- README.md | 2 +- platformio.ini | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 59813dc..56f016a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ It started as an idea to solve the problem of the meticulous process of logging - Clone the repository ```bash -git clone https://github.com/adamecki/PWDer +git clone --recursive https://github.com/adamecki/PWDer cd PWDer git submodule init ``` diff --git a/platformio.ini b/platformio.ini index 27b0266..2f0c144 100644 --- a/platformio.ini +++ b/platformio.ini @@ -16,6 +16,9 @@ monitor_speed = 115200 build_flags = -DARDUINO_USB_CDC_ON_BOOT=0 -D USE_NIMBLE + ; fallback esp_cpu_get_cycle_count definition for compatibility + ; with arduino framework + -D "esp_cpu_get_cycle_count=esp_cpu_get_ccount" lib_deps = m5stack/M5Unified@^0.2.17 m5stack/M5Cardputer@^1.1.1