1
0
mirror of https://github.com/rfivet/stm32bringup.git synced 2025-10-22 10:34:01 -04:00

Activate warnings: -pedantic, -Wstrict-prototypes and -Wno-unused-parameter.

This commit is contained in:
2021-03-03 15:17:56 +08:00
parent 55a48fd471
commit c3dc389ff2
10 changed files with 30 additions and 30 deletions

View File

@@ -1,9 +1,9 @@
/* ledon.c -- user LED on
** Copyright (c) 2020 Renaud Fivet
** Copyright (c) 2020-2021 Renaud Fivet
*/
/* Memory locations defined by linker script */
extern long __StackTop ; /* &__StackTop points after end of stack */
void __StackTop( void) ; /* __StackTop points after end of stack */
void Reset_Handler( void) ; /* Entry point for execution */
/* Interrupt vector table:
@@ -13,7 +13,7 @@ void Reset_Handler( void) ; /* Entry point for execution */
*/
typedef void (*isr_p)( void) ;
isr_p const isr_vector[ 2] __attribute__((section(".isr_vector"))) = {
(isr_p) &__StackTop,
__StackTop,
/* System Exceptions */
Reset_Handler
} ;