Fix picobin inclusion from assembler with NO_PICO_PLATFORM (#1832)

Needs to copy the _u(x) definition from platform_defs.h
This commit is contained in:
will-v-pi 2024-08-20 18:40:52 +01:00 committed by GitHub
parent 789ea75c63
commit 7be79e8abe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,9 +11,13 @@
#include "pico/platform.h"
#else
#ifndef _u
#ifdef __ASSEMBLER__
#define _u(x) x
#else
#define _u(x) x ## u
#endif
#endif
#endif
/** \file picobin.h
* \defgroup boot_picobin_headers boot_picobin_headers