File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ endif
105
105
106
106
C_DEFS += -DMCU_PACKAGE=$(MCU_PACKAGE )
107
107
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 )
110
109
111
110
# Undo some warnings.
112
111
# 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) {
49
49
void supervisor_flash_flush (void ) {
50
50
}
51
51
52
- static int32_t convert_block_to_flash_addr (uint32_t block ) {
53
- return -1 ;
54
- }
55
-
56
52
mp_uint_t supervisor_flash_read_blocks (uint8_t * dest , uint32_t block , uint32_t num_blocks ) {
57
53
return 0 ; // success
58
54
}
You can’t perform that action at this time.
0 commit comments