Hello Everyone, I'm trying to run the sample code given to me by the provider of our board and I'm having a problem when I try to build the project.
- September 19, 2022
- 3 replies
- 1680 views
This is the sample error that pops up. How can I fix this? I'm very new to this so I'm not very familiar with this error. Hope that someone could help me with this. Tell me what else I need to provide so you can help me better.
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:96: undefined reference to `HAL_GPIO_Init'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:98: undefined reference to `HAL_GPIO_WritePin'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:99: undefined reference to `HAL_Delay'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:100: undefined reference to `HAL_GPIO_WritePin'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:102: undefined reference to `HAL_GPIO_WritePin'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:104: undefined reference to `HAL_GPIO_WritePin'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:129: undefined reference to `HAL_GPIO_WritePin'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.macos64_1.0.0.202111181127/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /Users/nyo/STM32CubeIDE/workspace_1.10.1/0_testagain/Debug/../Src/gpio.c:131: undefined reference to `HAL_GPIO_WritePin'
