From 44faa66797df75fe4daca1d37ff005b1a9487e9f Mon Sep 17 00:00:00 2001 From: KLASSENTS Date: Fri, 30 May 2025 11:45:05 +0700 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B5=D1=80=D0=BD=D1=83=D0=BB=D0=B0=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B8=D1=81=D1=85=D0=BE=D0=B4=D0=BD=D1=83=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/arduino/board.h | 5 ----- cores/arduino/main.cpp | 7 ------- 2 files changed, 12 deletions(-) diff --git a/cores/arduino/board.h b/cores/arduino/board.h index d62102f..ac36c47 100644 --- a/cores/arduino/board.h +++ b/cores/arduino/board.h @@ -8,9 +8,4 @@ extern volatile bool use_error_messages; // function for init called after setup() void post_init(void); -void updateCacheLimit(void); -#include "stdint.h" -uint32_t getCLimit(void); - - #endif /* _BOARD_H_ */ diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp index f4fb6a9..0fcf31d 100644 --- a/cores/arduino/main.cpp +++ b/cores/arduino/main.cpp @@ -7,16 +7,9 @@ void initVariant() __attribute__((weak)); void initVariant() { } -#include "xprintf.h" - extern "C" int main(void) __attribute__((weak)); int main() { - Serial.begin(9600); - xprintf("old_climit = 0x%08lX\n", getCLimit()); - updateCacheLimit(); - xprintf("new_climit = 0x%08lX\n", getCLimit()); - initVariant(); // for freeRTOS setup(); post_init();