mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-21 13:02:52 +00:00
Free up some ram
This commit is contained in:
@@ -77,7 +77,7 @@ set_property(CACHE USART_RXMODE PROPERTY STRINGS
|
||||
set(RTC_STATUS_PERIOD_MS 1000 CACHE STRING "Measured ms per nominal RTC status period (1000 = no correction)")
|
||||
|
||||
# --- Firmware configuration options ----------------------------------------
|
||||
set(AVCLAN_FRAME_POOL_N 24 CACHE STRING "Pool allocator capacity for avclan::Frame (must be <= incoming/outgoing queue size)")
|
||||
set(AVCLAN_FRAME_POOL_N 14 CACHE STRING "Pool allocator capacity for avclan::Frame (must be <= incoming/outgoing queue size)")
|
||||
|
||||
try_compile(LIBC_VERSION_TEST
|
||||
SOURCES "${CMAKE_SOURCE_DIR}/cmake/libc-version-test.cpp"
|
||||
|
||||
+3
-1
@@ -20,7 +20,9 @@
|
||||
|
||||
const char *const offon[] = {"OFF", "ON"};
|
||||
|
||||
constexpr uint8_t CACHE_SIZE = 32;
|
||||
constexpr uint8_t CACHE_SIZE = 16;
|
||||
static_assert(CACHE_SIZE >= AVCLAN_FRAME_POOL_N,
|
||||
"CACHE_SIZE must be >= avclan::Frame allocator pool capacity");
|
||||
|
||||
using namespace avclan;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user