further raspberrypi fixes
This commit is contained in:
parent
9e799a7c74
commit
017b52c455
|
@ -187,6 +187,7 @@ SRC_SDK := \
|
|||
src/rp2_common/pico_unique_id/unique_id.c \
|
||||
|
||||
SRC_SDK := $(addprefix sdk/, $(SRC_SDK))
|
||||
$(patsubst %.c,$(BUILD)/%.o,$(SRC_SDK)): CFLAGS += -Wno-missing-prototypes
|
||||
|
||||
SRC_C += \
|
||||
boards/$(BOARD)/board.c \
|
||||
|
|
|
@ -46,6 +46,7 @@ static uint8_t read_flash_sreg(uint8_t status_command);
|
|||
|
||||
// This must be the first defined function so that it is placed at the start of
|
||||
// memory where the bootloader jumps to!
|
||||
extern void _stage2_boot(void);
|
||||
void __attribute__((section(".entry._stage2_boot"), used)) _stage2_boot(void) {
|
||||
uint32_t lr;
|
||||
asm ("MOV %0, LR\n" : "=r" (lr) );
|
||||
|
|
Loading…
Reference in New Issue