23:00:18 **** Incremental Build of configuration Debug for project Schwarze Platine - Thermoelement_23062023 **** make -j8 all arm-none-eabi-gcc "../Core/Src/LM235Z.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/LM235Z.d" -MT"Core/Src/LM235Z.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/LM235Z.o" arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o" ../Core/Src/main.c: In function 'main': ../Core/Src/main.c:71:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 71 | sprintf(MSG, "%.3f C", Temp); | ^~~ | | | uint8_t * {aka unsigned char *} In file included from ../USB_DEVICE/Target/usbd_conf.h:30, from ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h:28, from ../USB_DEVICE/App/usb_device.h:32, from ../Core/Src/main.c:21: /home/reinicke/.eclipse/com.st.stm32cube.ide.mcu.rcp.product_1.11.0_139060369_linux_gtk_x86_64/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.linux64_1.0.200.202301161003/tools/arm-none-eabi/include/stdio.h:244:14: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 244 | int sprintf (char *__restrict, const char *__restrict, ...) | ^ ../Core/Src/LM235Z.c: In function 'LM235Z_Init': ../Core/Src/LM235Z.c:43:17: error: 'ADC_REGULAR_RANK_1' undeclared (first use in this function); did you mean 'IS_ADC_REGULAR_RANK'? 43 | sConfig.Rank = ADC_REGULAR_RANK_1; | ^~~~~~~~~~~~~~~~~~ | IS_ADC_REGULAR_RANK ../Core/Src/LM235Z.c:43:17: note: each undeclared identifier is reported only once for each function it appears in ../Core/Src/main.c: In function 'MX_ADC1_Init': ../Core/Src/main.c:142:3: error: 'hadc1' undeclared (first use in this function) 142 | hadc1.Instance = ADC1; | ^~~~~ ../Core/Src/main.c:142:3: note: each undeclared identifier is reported only once for each function it appears in At top level: ../Core/Src/main.c:127:13: warning: 'MX_ADC1_Init' defined but not used [-Wunused-function] 127 | static void MX_ADC1_Init(void) | ^~~~~~~~~~~~ ../Core/Src/LM235Z.c:44:25: error: 'ADC_SAMPLETIME_28CYCLES_5' undeclared (first use in this function); did you mean 'ADC_SAMPLETIME_2CYCLE_5'? 44 | sConfig.SamplingTime = ADC_SAMPLETIME_28CYCLES_5; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ADC_SAMPLETIME_2CYCLE_5 make: *** [Core/Src/subdir.mk:43: Core/Src/main.o] Error 1 make: *** Waiting for unfinished jobs.... ../Core/Src/LM235Z.c:49:3: warning: implicit declaration of function 'HAL_ADCEx_Calibration_Start' [-Wimplicit-function-declaration] 49 | HAL_ADCEx_Calibration_Start(&hadc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Core/Src/subdir.mk:43: Core/Src/LM235Z.o] Error 1 "make -j8 all" terminated with exit code 2. Build might be incomplete. 23:00:19 Build Failed. 6 errors, 3 warnings. (took 229ms)