arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m4 -mthumb -mlittle-endian -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F4XX_Lib/CMSIS/Include/ -I./STM32F4XX_Lib/Device/ -I./STM32F4XX_Lib/STM32F4xx_StdPeriph_Driver/include/ -DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F446xx -DSTM32F4_NUCLEO -DHSE_VALUE=8000000 -DMADEBYMAKEFILE IOSTM.cpp -o obj_f4/IOSTM.o
In file included from ./STM32F4XX_Lib/CMSIS/Include/core_cm4.h:189,
from ./STM32F4XX_Lib/Device/stm32f4xx.h:734,
from Globals.h:23,
from IOSTM.cpp:23:
./STM32F4XX_Lib/CMSIS/Include/core_cmFunc.h: In function 'uint32_t __get_PSP()':
./STM32F4XX_Lib/CMSIS/Include/core_cmFunc.h:428:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
428 | register uint32_t result;
| ^~
./STM32F4XX_Lib/CMSIS/Include/core_cmFunc.h: In function 'uint32_t __get_MSP()':
./STM32F4XX_Lib/CMSIS/Include/core_cmFunc.h:455:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
455 | register uint32_t result;
| ^~
In file included from FM.h:33,
from Globals.h:107:
FMDirectForm1.h: In member function 'q15_t CFMDirectFormI::filter(q15_t)':
FMDirectForm1.h:86:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
86 | register q31_t out_upscaled = c_b0 * in
| ^~~~
IOSTM.cpp: In member function 'void CIO::initInt()':
IOSTM.cpp:111:27: error: 'RCC_Per_M17' was not declared in this scope; did you mean 'RCC_Per_LED'?
111 | RCC_AHB1PeriphClockCmd(RCC_Per_M17, ENABLE);
| ^~~
| RCC_Per_LED
IOSTM.cpp:112:33: error: 'PIN_M17' was not declared in this scope
112 | GPIO_InitStruct.GPIO_Pin = PIN_M17;
| ^~~
IOSTM.cpp:114:14: error: 'PORT_M17' was not declared in this scope
114 | GPIO_Init(PORT_M17, &GPIO_InitStruct);
| ^~~~
IOSTM.cpp: In member function 'void CIO::setM17Int(bool)':
IOSTM.cpp:466:18: error: 'PORT_M17' was not declared in this scope
466 | GPIO_WriteBit(PORT_M17, PIN_M17, on ? Bit_SET : Bit_RESET);
| ^~~~
IOSTM.cpp:466:28: error: 'PIN_M17' was not declared in this scope
466 | GPIO_WriteBit(PORT_M17, PIN_M17, on ? Bit_SET : Bit_RESET);
| ^~~
make: *** [Makefile:308: obj_f4/IOSTM.o] Error 1
My Config.c is as follows.
if !defined(CONFIG_H)
define CONFIG_H
define MODE_DMR
define MODE_POCSAG
define MODE_FM
define EXTERNAL_OSC 12000000
define SERIAL_SPEED 460800 // Only works on newer boards like fast M4, M7, Teensy 3.x. External FM should work with this
Hey, I am trying to flash my MMDVM F446 RE with the latest MMDVM firmware following the instructions at https://github.com/juribeparada/MMDVM_man/blob/master/F446_linux_en.md. However, I am encountering this error while compiling using (make clean / make nucleo).
My Config.c is as follows.
System
Am i missing some lib??
Best Tim