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:
		 Submodule lib/tinyusb updated: 11c23f88bf...e0aa405d19
									
								
							@ -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
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user