dword1511 / stm32-freqmeter

A frequency / Hertz meter based on STM32F103 MCUs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails

siorpaes opened this issue · comments

commented

Latest libopencm3 updates causes the build to fail with:

arm-none-eabi-gcc -Os -Wall -g -fno-common -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m3 -msoft-float -mfix-cortex-m3-ldrd -DSTM32F1 -Ilibopencm3/include/ -c freqmeter.c -o freqmeter.o
freqmeter.c:29:3: error: 'RCC_CFGR_MCO_HSICLK' undeclared here (not in a function)
   RCC_CFGR_MCO_HSICLK,
   ^
freqmeter.c:30:3: error: 'RCC_CFGR_MCO_HSECLK' undeclared here (not in a function)
   RCC_CFGR_MCO_HSECLK,
   ^
freqmeter.c:31:3: error: 'RCC_CFGR_MCO_PLLCLK_DIV2' undeclared here (not in a function)
   RCC_CFGR_MCO_PLLCLK_DIV2,
   ^
make: *** [freqmeter.o] Error 1
commented

This PR #3 should fix the issue