On 3/21/23 09:06, Alessandro Di Federico wrote:
On Mon, 20 Mar 2023 10:10:31 +0000 Alex Bennée <alex.ben...@linaro.org> wrote:+#define CPU_INTERRUPT_HARD 0x0002Out of curiosity, do we have a policy when to use `const` globals as opposed to `#define`? In theory, if a constant is never used in any preprocessor directive, we could turn it into a global `const`.
No, this is not c++. r~