We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e799a7 commit 017b52cCopy full SHA for 017b52c
ports/raspberrypi/Makefile
@@ -187,6 +187,7 @@ SRC_SDK := \
187
src/rp2_common/pico_unique_id/unique_id.c \
188
189
SRC_SDK := $(addprefix sdk/, $(SRC_SDK))
190
+$(patsubst %.c,$(BUILD)/%.o,$(SRC_SDK)): CFLAGS += -Wno-missing-prototypes
191
192
SRC_C += \
193
boards/$(BOARD)/board.c \
ports/raspberrypi/stage2.c.jinja
@@ -46,6 +46,7 @@ static uint8_t read_flash_sreg(uint8_t status_command);
46
47
// This must be the first defined function so that it is placed at the start of
48
// memory where the bootloader jumps to!
49
+extern void _stage2_boot(void);
50
void __attribute__((section(".entry._stage2_boot"), used)) _stage2_boot(void) {
51
uint32_t lr;
52
asm ("MOV %0, LR\n" : "=r" (lr) );
0 commit comments