title: Multiple definitions error in STM32CubeIDE?
body: <p>I have been following along with this documentation for interfacing a digital camera module with an stm32f746g-disco board:</p>
  <p><a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=&amp;ved=2ahUKEwje5dDc0cD0AhUxknIEHTWlDaEQFnoECA0QAQ&amp;url=https%3A%2F%2Fwww.st.com%2Fresource%2Fen%2Fapplication_note%2Fdm00373474-digital-camera-interface-dcmi-on-stm32-mcus-stmicroelectronics.pdf&amp;usg=AOvVaw01W99UJlvFxSH20qVcY0ZT" rel="nofollow noreferrer">Link to documentation</a></p>
  <p>The part I am following specifically is pgs 60-74.</p>
  <p>Everything ran fine up until page 68, after completing the steps shown on 68-74 when I compiled I got the following errors:</p>
  <pre><code>c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./Core/Src/main.o:C:/Users/Garrett/STM32CubeIDE/workspace_1.6.2/DCMI_Project/Debug/../Core/Src/font24.c:85: multiple definition of `Font24_Table'; ./Core/Src/font24.o:C:/Users/Garrett/STM32CubeIDE/workspace_1.6.2/DCMI_Project/Debug/../Core/Src/font24.c:85: first defined here
  </code></pre>
  <p>and</p>
  <pre><code>c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./Core/Src/main.o:(.data.Font24+0x0): multiple definition of `Font24'; ./Core/Src/font24.o:(.data.Font24+0x0): first defined here
  </code></pre>
  <p>and</p>
  <pre><code>collect2.exe: error: ld returned 1 exit status
  make: *** [makefile:74: DCMI_Project.elf] Error 1
  &quot;make -j16 all&quot; terminated with exit code 2. Build might be incomplete.
  </code></pre>
  <p>I am not sure that this is a linker error, as the Font24_Table and Font24 are declared in the header file and defined in the c file.</p>
  <p><a href="https://i.stack.imgur.com/ajuWw.png" rel="nofollow noreferrer">Here are the only mentions of the table and font24 in the header</a></p>
  <p><a href="https://i.stack.imgur.com/4i2wb.png" rel="nofollow noreferrer">This is the definition of the table in the c file</a>
  and
  <a href="https://i.stack.imgur.com/eQW52.png" rel="nofollow noreferrer">This is the definition of the font24 in the c file</a></p>
  <p>So I tried to debug as a makefile error, and navigated to the makefile. Multiple sources online said that in the C_SRCS I would probably see the same thing twice, and deleting that would solve my problem. However, I do not see anything repeated.</p>
  <p><a href="https://i.stack.imgur.com/26CbZ.png" rel="nofollow noreferrer">The makefile I am looking at</a></p>
  <p>Lastly, I thought I would show the project directory, since there are no visible indicators as to where the error is in the project.</p>
  <p><a href="https://i.stack.imgur.com/Z7QMB.png" rel="nofollow noreferrer">Project directory</a></p>
  <p>Sorry if this question was really dense, I have been troubleshooting this problem for a while now, but I am no expert at C or stm32CubeIDE. I would appreciate any help/input, thanks!</p>