mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
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:
parent
789ea75c63
commit
7be79e8abe
1 changed files with 4 additions and 0 deletions
|
|
@ -11,9 +11,13 @@
|
||||||
#include "pico/platform.h"
|
#include "pico/platform.h"
|
||||||
#else
|
#else
|
||||||
#ifndef _u
|
#ifndef _u
|
||||||
|
#ifdef __ASSEMBLER__
|
||||||
|
#define _u(x) x
|
||||||
|
#else
|
||||||
#define _u(x) x ## u
|
#define _u(x) x ## u
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/** \file picobin.h
|
/** \file picobin.h
|
||||||
* \defgroup boot_picobin_headers boot_picobin_headers
|
* \defgroup boot_picobin_headers boot_picobin_headers
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue