Files
lobbs/core/LoBBSStackGuard.h
Ben Allfree 1243b2bc1b refactor(core): split pal from kernel
Move the BBS kernel under core/ and host I/O under platforms/.
2026-10-07 15:54:38 -07:00

8 lines
373 B
C

#pragma once
// Include after the other includes in every LoBBS .cpp. Commands run on the nRF52 loop task, whose 4 KB stack
// is shared with the router and has no overflow trap, so each LoBBS function is capped at compile time.
#include "LoBBSArch.h"
#if LOBBS_ARCH_NRF52 && defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic error "-Wstack-usage=512"
#endif