00:10:51 **** Build of configuration Debug for project OSZI_UB **** make -j2 all arm-none-eabi-gcc "../Startup/cmsis_boot/startup/startup_stm32f4xx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32 -DSTM32F429ZITx -DSTM32F4 -DDEBUG -c -I../Inc -I../cmsis -I../cmsis_boot -I../cmsis_lib/include -I../cmsis_lib/source -I../uboszi_lib -I../ub_lib -I../fft_lib -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Startup/cmsis_boot/startup/startup_stm32f4xx.d" -MT"Startup/cmsis_boot/startup/startup_stm32f4xx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/cmsis_boot/startup/startup_stm32f4xx.o" arm-none-eabi-gcc "../Startup/cmsis_boot/system_stm32f4xx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32 -DSTM32F429ZITx -DSTM32F4 -DDEBUG -c -I../Inc -I../cmsis -I../cmsis_boot -I../cmsis_lib/include -I../cmsis_lib/source -I../uboszi_lib -I../ub_lib -I../fft_lib -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Startup/cmsis_boot/system_stm32f4xx.d" -MT"Startup/cmsis_boot/system_stm32f4xx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/cmsis_boot/system_stm32f4xx.o" ../Startup/cmsis_boot/system_stm32f4xx.c: In function 'SetSysClock': ../Startup/cmsis_boot/system_stm32f4xx.c:562:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ((RCC->CFGR & (uint32_t)RCC_CFGR_SWS ) != RCC_CFGR_SWS_PLL); ^~~~~ ../Startup/cmsis_boot/system_stm32f4xx.c:563:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' { ^ arm-none-eabi-gcc "../Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32 -DSTM32F429ZITx -DSTM32F4 -DDEBUG -c -I../Inc -I../cmsis -I../cmsis_boot -I../cmsis_lib/include -I../cmsis_lib/source -I../uboszi_lib -I../ub_lib -I../fft_lib -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Src/main.d" -MT"Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/main.o" In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:46:14: error: nested redefinition of 'enum IRQn' typedef enum IRQn ^~~~ ../fft_lib/ARMCM4.h:46:14: error: redeclaration of 'enum IRQn' In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:170:14: note: originally defined here typedef enum IRQn ^~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:49:3: error: redeclaration of enumerator 'NonMaskableInt_IRQn' NonMaskableInt_IRQn = -14, /* 2 Non Maskable Interrupt */ ^~~~~~~~~~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:173:3: note: previous definition of 'NonMaskableInt_IRQn' was here NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */ ^~~~~~~~~~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:51:3: error: redeclaration of enumerator 'MemoryManagement_IRQn' MemoryManagement_IRQn = -12, /* 4 Memory Management Interrupt */ ^~~~~~~~~~~~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:174:3: note: previous definition of 'MemoryManagement_IRQn' was here MemoryManagement_IRQn = -12, /*!< 4 Cortex-M4 Memory Management Interrupt */ ^~~~~~~~~~~~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:52:3: error: redeclaration of enumerator 'BusFault_IRQn' BusFault_IRQn = -11, /* 5 Bus Fault Interrupt */ ^~~~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:175:3: note: previous definition of 'BusFault_IRQn' was here BusFault_IRQn = -11, /*!< 5 Cortex-M4 Bus Fault Interrupt */ ^~~~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:53:3: error: redeclaration of enumerator 'UsageFault_IRQn' UsageFault_IRQn = -10, /* 6 Usage Fault Interrupt */ ^~~~~~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:176:3: note: previous definition of 'UsageFault_IRQn' was here UsageFault_IRQn = -10, /*!< 6 Cortex-M4 Usage Fault Interrupt */ ^~~~~~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:54:3: error: redeclaration of enumerator 'SVCall_IRQn' SVCall_IRQn = -5, /* 11 SV Call Interrupt */ ^~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:177:3: note: previous definition of 'SVCall_IRQn' was here SVCall_IRQn = -5, /*!< 11 Cortex-M4 SV Call Interrupt */ ^~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:55:3: error: redeclaration of enumerator 'DebugMonitor_IRQn' DebugMonitor_IRQn = -4, /* 12 Debug Monitor Interrupt */ ^~~~~~~~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:178:3: note: previous definition of 'DebugMonitor_IRQn' was here DebugMonitor_IRQn = -4, /*!< 12 Cortex-M4 Debug Monitor Interrupt */ ^~~~~~~~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:56:3: error: redeclaration of enumerator 'PendSV_IRQn' PendSV_IRQn = -2, /* 14 Pend SV Interrupt */ ^~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:179:3: note: previous definition of 'PendSV_IRQn' was here PendSV_IRQn = -2, /*!< 14 Cortex-M4 Pend SV Interrupt */ ^~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:57:3: error: redeclaration of enumerator 'SysTick_IRQn' SysTick_IRQn = -1, /* 15 System Tick Interrupt */ ^~~~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:180:3: note: previous definition of 'SysTick_IRQn' was here SysTick_IRQn = -1, /*!< 15 Cortex-M4 System Tick Interrupt */ ^~~~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:63:3: error: redeclaration of enumerator 'TIM2_IRQn' TIM2_IRQn = 3, /* Timer2 / Timer3 Interrupt */ ^~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:351:3: note: previous definition of 'TIM2_IRQn' was here TIM2_IRQn = 28, /*!< TIM2 global Interrupt */ ^~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:69:3: error: redeclaration of enumerator 'UART4_IRQn' UART4_IRQn = 9, /* UART4 Interrupt */ ^~~~~~~~~~ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:375:3: note: previous definition of 'UART4_IRQn' was here UART4_IRQn = 52, /*!< UART4 global Interrupt */ ^~~~~~~~~~ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:114:0: warning: "__CM4_REV" redefined #define __CM4_REV 0x0001U /* Core revision r0p1 */ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:160:0: note: this is the location of the previous definition #define __CM4_REV 0x0001 /*!< Core revision r0p1 */ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:117:0: warning: "__NVIC_PRIO_BITS" redefined #define __NVIC_PRIO_BITS 3 /* Number of Bits used for Priority Levels */ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:162:0: note: this is the location of the previous definition #define __NVIC_PRIO_BITS 4 /*!< STM32F4XX uses 4 Bits for the Priority Levels */ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:119:0: warning: "__FPU_PRESENT" redefined #define __FPU_PRESENT 0 /* no FPU present */ In file included from ../Inc/main.h:13:0, from ../Src/main.c:20: ../cmsis_boot/stm32f4xx.h:164:0: note: this is the location of the previous definition #define __FPU_PRESENT 1 /*!< FPU present */ In file included from ../fft_lib/arm_math.h:263:0, from ../uboszi_lib/fft.h:15, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/ARMCM4.h:135:3: error: unknown type name '__IM' __IM uint32_t ID; /* Offset: 0x000 (R/ ) Board and FPGA Identifier */ ^~~~ ../fft_lib/ARMCM4.h:135:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'ID' __IM uint32_t ID; /* Offset: 0x000 (R/ ) Board and FPGA Identifier */ ^~ ../fft_lib/ARMCM4.h:156:3: error: unknown type name '__IM' __IM uint32_t ID; /* Offset: 0x000 (R/ ) Board and FPGA Identifier */ ^~~~ ../fft_lib/ARMCM4.h:156:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'ID' __IM uint32_t ID; /* Offset: 0x000 (R/ ) Board and FPGA Identifier */ ^~ ../fft_lib/ARMCM4.h:171:3: error: unknown type name '__IOM' __IOM uint32_t Timer1Load; /* Offset: 0x000 (R/W) Timer 1 Load */ ^~~~~ ../fft_lib/ARMCM4.h:171:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'Timer1Load' __IOM uint32_t Timer1Load; /* Offset: 0x000 (R/W) Timer 1 Load */ ^~~~~~~~~~ ../fft_lib/ARMCM4.h:194:3: error: unknown type name '__IOM' __IOM uint32_t DR; /* Offset: 0x000 (R/W) Data */ ^~~~~ ../fft_lib/ARMCM4.h:194:18: error: expected ':', ',', ';', '}' or '__attribute__' before 'DR' __IOM uint32_t DR; /* Offset: 0x000 (R/W) Data */ ^~ In file included from ../uboszi_lib/fft.h:15:0, from ../uboszi_lib/oszi.h:24, from ../Src/main.c:21: ../fft_lib/arm_math.h:264:2: warning: #warning "Define either ARM_MATH_CM4 OR ARM_MATH_CM3...By Default building on ARM_MATH_CM4....." [-Wcpp] #warning "Define either ARM_MATH_CM4 OR ARM_MATH_CM3...By Default building on ARM_MATH_CM4....." ^~~~~~~ make: *** [Src/subdir.mk:18: Src/main.o] Error 1 make: *** Waiting for unfinished jobs.... "make -j2 all" terminated with exit code 2. Build might be incomplete. 00:10:54 Build Failed. 22 errors, 5 warnings. (took 3s.56ms)