File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ endif
105105
106106C_DEFS += -DMCU_PACKAGE=$(MCU_PACKAGE )
107107
108- # TODO: Add ASM Flags? -Werror
109- CFLAGS += $(INC ) -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS ) $(C_DEFS ) $(CFLAGS_MOD ) $(COPT )
108+ CFLAGS += $(INC ) -Werror -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS ) $(C_DEFS ) $(CFLAGS_MOD ) $(COPT )
110109
111110# Undo some warnings.
112111# STM32 apparently also uses undefined preprocessor variables quite casually,
Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ uint32_t supervisor_flash_get_block_count(void) {
4949void supervisor_flash_flush (void ) {
5050}
5151
52- static int32_t convert_block_to_flash_addr (uint32_t block ) {
53- return -1 ;
54- }
55-
5652mp_uint_t supervisor_flash_read_blocks (uint8_t * dest , uint32_t block , uint32_t num_blocks ) {
5753 return 0 ; // success
5854}
You can’t perform that action at this time.
0 commit comments