Skip to content

Commit

Permalink
Fix picobin inclusion from assembler with NO_PICO_PLATFORM (#1832)
Browse files Browse the repository at this point in the history
Needs to copy the _u(x) definition from platform_defs.h
  • Loading branch information
will-v-pi authored Aug 20, 2024
1 parent 789ea75 commit 7be79e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common/boot_picobin_headers/include/boot/picobin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7be79e8

Please sign in to comment.