From 860f6ee5518179fcd8bfcbaf4aaa2414a7f26d48 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 17 May 2017 20:36:07 -0400 Subject: [PATCH] enabling DMA UART with andreika --- firmware/rusefi.cpp | 4 ++-- firmware/util/loggingcentral.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 73701f3ea4..a9f66e229f 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -242,9 +242,9 @@ void chDbgStackOverflowPanic(thread_t *otp) { chDbgPanic3(panicMessage, __FILE__, __LINE__); } -static char UNUSED_RAM_SIZE[20100]; +static char UNUSED_RAM_SIZE[14100]; -static char UNUSED_CCM_SIZE[9500] CCM_OPTIONAL; +static char UNUSED_CCM_SIZE[16000] CCM_OPTIONAL; int getRusEfiVersion(void) { if (UNUSED_RAM_SIZE[0] != 0) diff --git a/firmware/util/loggingcentral.cpp b/firmware/util/loggingcentral.cpp index 4d920bc460..07f6ca8437 100644 --- a/firmware/util/loggingcentral.cpp +++ b/firmware/util/loggingcentral.cpp @@ -23,7 +23,7 @@ typedef char log_buf_t[DL_OUTPUT_BUFFER]; */ static char *accumulationBuffer; -static log_buf_t pendingBuffers0 CCM_OPTIONAL; +static log_buf_t pendingBuffers0; static log_buf_t pendingBuffers1; /**