Skip to content

Commit 017b52c

Browse files
committed
further raspberrypi fixes
1 parent 9e799a7 commit 017b52c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ports/raspberrypi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ SRC_SDK := \
187187
src/rp2_common/pico_unique_id/unique_id.c \
188188

189189
SRC_SDK := $(addprefix sdk/, $(SRC_SDK))
190+
$(patsubst %.c,$(BUILD)/%.o,$(SRC_SDK)): CFLAGS += -Wno-missing-prototypes
190191

191192
SRC_C += \
192193
boards/$(BOARD)/board.c \

ports/raspberrypi/stage2.c.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ static uint8_t read_flash_sreg(uint8_t status_command);
4646

4747
// This must be the first defined function so that it is placed at the start of
4848
// memory where the bootloader jumps to!
49+
extern void _stage2_boot(void);
4950
void __attribute__((section(".entry._stage2_boot"), used)) _stage2_boot(void) {
5051
uint32_t lr;
5152
asm ("MOV %0, LR\n" : "=r" (lr) );

0 commit comments

Comments
 (0)