Remove PICO_FLASH_SIZE_BYTES warning from header as it breaks any build with -Werror; actual uses that care should warn instead (#229)
This commit is contained in:
parent
0a940b8915
commit
7f17a45f0b
@ -1 +1 @@
|
|||||||
Subproject commit 11c23f88bf42f64ce14b8a7b0b2a4e207dc4dd12
|
Subproject commit e0aa405d19e35dbf58cf502b8106455c1a3c2a5c
|
@ -45,9 +45,6 @@
|
|||||||
#define FLASH_UNIQUE_ID_SIZE_BYTES 8
|
#define FLASH_UNIQUE_ID_SIZE_BYTES 8
|
||||||
|
|
||||||
// PICO_CONFIG: PICO_FLASH_SIZE_BYTES, size of primary flash in bytes, type=int, group=hardware_flash
|
// PICO_CONFIG: PICO_FLASH_SIZE_BYTES, size of primary flash in bytes, type=int, group=hardware_flash
|
||||||
#ifndef PICO_FLASH_SIZE_BYTES
|
|
||||||
#warning PICO_FLASH_SIZE_BYTES is not set
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
uint32_t sd_table[SF_TABLE_V2_SIZE / 2];
|
uint32_t sd_table[SF_TABLE_V2_SIZE / 2];
|
||||||
|
|
||||||
#if !PICO_DOUBLE_SUPPORT_ROM_V1
|
#if !PICO_DOUBLE_SUPPORT_ROM_V1
|
||||||
static __attribute__((noreturn)) void missing_double_func_shim() {
|
static __attribute__((noreturn)) void missing_double_func_shim(void) {
|
||||||
panic("missing double function");
|
panic("missing double function");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,7 +14,7 @@ uint32_t sf_table[SF_TABLE_V2_SIZE / 2];
|
|||||||
void *sf_clz_func;
|
void *sf_clz_func;
|
||||||
|
|
||||||
#if !PICO_FLOAT_SUPPORT_ROM_V1
|
#if !PICO_FLOAT_SUPPORT_ROM_V1
|
||||||
static __attribute__((noreturn)) void missing_float_func_shim() {
|
static __attribute__((noreturn)) void missing_float_func_shim(void) {
|
||||||
panic("");
|
panic("");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user