Перейти к содержанию
    

На новом homepage проекта GNU ARM Embedded Toolchain с 21 декабря выложена версия 6-2016-q4-major https://developer.arm.com/open-source/gnu-t...nu-rm/downloads

 

Мои проекты работают.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

сборка из релизного кода 6.3.0

 

www.klen.org/Files/DevTools/x86_64-kgp-linux-gnu/arm-kgp-eabi_@_x86_64-kgp-linux-gnu_6.3.0_BOTRYCHIUM.7z

 

2_Genadi Zawidowski

usb.i перемалывает с lto.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

сборка из релизного кода 6.3.0

 

www.klen.org/Files/DevTools/x86_64-kgp-linux-gnu/arm-kgp-eabi_@_x86_64-kgp-linux-gnu_6.3.0_BOTRYCHIUM.7z

 

2_Genadi Zawidowski

usb.i перемалывает с lto.

 

Здорово, но у меня винды рабочим инструментом.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

сборка из релизного кода 6.3.0

 

www.klen.org/Files/DevTools/x86_64-kgp-linux-gnu/arm-kgp-eabi_@_x86_64-kgp-linux-gnu_6.3.0_BOTRYCHIUM.7z

Попробовал собрать свой загрузчик. Без lto собирает, но не влазит (и результат заметно толще чем от "свежака" 20151209), а с lto не хочет:

/tmp/ccnVfbCz.ltrans2.ltrans.o: In function `realloc':
<artificial>:(.text+0xcae): undefined reference to `memcpy'
/tmp/ccnVfbCz.ltrans2.ltrans.o: In function `prvCopyDataFromQueue.lto_priv.178':
<artificial>:(.text+0x548): undefined reference to `memcpy'
/tmp/ccnVfbCz.ltrans4.ltrans.o: In function `ResetISR':
<artificial>:(.isr_vector.ResetISR+0xea): undefined reference to `memset'
/tmp/ccnVfbCz.ltrans3.ltrans.o: In function `prvCopyDataToQueue.constprop.106':
<artificial>:(.text+0x88): undefined reference to `memcpy'
/tmp/ccnVfbCz.ltrans3.ltrans.o: In function `Lpc1768FlashUpdate::FrmCompare(unsigned int, void*, unsigned int)':
<artificial>:(.text+0x1e0): undefined reference to `memcmp'
/tmp/ccnVfbCz.ltrans6.ltrans.o: In function `MemoryUpdate::FrmCompare(unsigned int, void*, unsigned int)':
<artificial>:(.text+0x164): undefined reference to `memcmp'
/opt/arm-kgp-linux-6.3.0/bin/../lib/gcc/arm-kgp-eabi/6.3.0/thumb/cortex-m3/libgcc.a(_aeabi_uldivmod.o): In function `__aeabi_uldivmod':
(.text+0x20): undefined reference to `__udivmoddi4'
collect2: error: ld returned 1 exit status

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

сборка 6.3.0 для масдая64

www.klen.org/Files/DevTools/x86_64-kgp-mingw32/arm-kgp-eabi_@_x86_64-kgp-mingw32_20170110_BOTRYCHIUM.7z

 

2_Terminator

забавно...

__udivmoddi4 лежит в libgcc.a

 

LTO оптимизатор действительно чудит. и много где.

пилят его непрерывно...

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Все проекты с LTO, старые каталоги прочищены.

 

Cortex-A9 (грабли старого типа):

--------------------Configuration: tc1msvc - Win32 r7s721020--------------------

Microsoft ® Program Maintenance Utility Version 6.00.8168.0

Copyright © Microsoft Corp 1988-1998. All rights reserved.

cd .\r7s721020

make.exe -f .\Makefile all

The system cannot find the path specified.

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-a9 -march=armv7-a -mfloat-abi=hard -mfpu=neon -ftree-vectorize -funsafe-math-optimizations -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto

-gdwarf-2 -fomit-frame-pointer -Wall -Wstrict-prototypes -DNDEBUG=1 -DCPUSTYLE_R7S721=1 -DCPUSTYLE_R7S721020=1 -MD -MP -MF ./dep/hardware.o.d -I../ -I../rza1x_inc ../hardware.c -o hardware.o

../hardware.c: In function 'hardware_get_random':

../hardware.c:4446:3: warning: #warning RNG not exist [-Wcpp]

#warning RNG not exist

^~~~~~~

../hardware.c: In function 'cpu_initialize':

../hardware.c:7734:90: warning: unused variable '__stack' [-Wunused-variable]

extern unsigned long __etext, __bss_start__, __bss_end__, __data_end__, __data_start__, __stack;

^~~~~~~

../hardware.c:7734:23: warning: unused variable '__etext' [-Wunused-variable]

extern unsigned long __etext, __bss_start__, __bss_end__, __data_end__, __data_start__, __stack;

^~~~~~~

At top level:

../hardware.c:6804:13: warning: 'CP15_disableMMU' defined but not used [-Wunused-function]

static void CP15_disableMMU(void)

^~~~~~~~~~~~~~~

../hardware.c:1947:22: warning: 'ulmax' defined but not used [-Wunused-function]

static unsigned long ulmax(

^~~~~

../hardware.c:1940:22: warning: 'ulmin' defined but not used [-Wunused-function]

static unsigned long ulmin(

^~~~~

../hardware.c:1378:17: warning: 'hw_get_cpsr' defined but not used [-Wunused-function]

static unsigned hw_get_cpsr(void)

^~~~~~~~~~~

../hardware.c:933:13: warning: 'spool_elkeyinputsbundle' defined but not used [-Wunused-function]

static void spool_elkeyinputsbundle(void)

^~~~~~~~~~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc crt_r7s721.o bandfilters.o board.o usbd.o usbd_desc.o sequen.o elkey.o encoder.o serial.o hardware.o hardware_r7s721.o hd44780.o display.o display2.o keyboard.o keymaps.o nvram.o spifuncs.o formats.o synthcalcs.o fi

lters.o pcf8535.o uc1608.o uc1601s.o lph88.o ls020.o l2f50.o s1d13781.o ILI9320.o ili9225.o st7735.o st7565s.o graphltdc.o sdram.o ili8961.o twi.o pio.o tlv320aic23.o cs4272.o nau8822.o wm8994.o hardwarecodecs.o buffers.o audio.o spislave.o modems.o

sdcard.o ff.o ccsbcs.o tc1.o tests.o -mcpu=cortex-a9 -march=armv7-a -mfloat-abi=hard -mfpu=neon -ftree-vectorize -funsafe-math-optimizations -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -flto -Ofas

t -nostartfiles -T./r7s721020_spi.ld -Wl,-Map=tc1_r7s721020_rom.map,--cref,--no-warn-mismatch -lm -o tc1_r7s721020_rom.elf

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans1.ltrans.o: In function `hamradio_initialize.lto_priv.355':

<artificial>:(.text.hamradio_initialize.lto_priv.355+0xddc): undefined reference to `logf'

<artificial>:(.text.hamradio_initialize.lto_priv.355+0xeac): undefined reference to `logf'

<artificial>:(.text.hamradio_initialize.lto_priv.355+0xf98): undefined reference to `logf'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans2.ltrans.o: In function `updateboard.isra.37.lto_priv.357':

<artificial>:(.text.updateboard.isra.37.lto_priv.357+0xc28): undefined reference to `memcmp'

<artificial>:(.text.updateboard.isra.37.lto_priv.357+0x18b0): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans4.ltrans.o: In function `dsp_extbuffer32rx':

<artificial>:(.text.dsp_extbuffer32rx+0x708): undefined reference to `atan2'

<artificial>:(.text.dsp_extbuffer32rx+0x17d0): undefined reference to `log'

<artificial>:(.text.dsp_extbuffer32rx+0x186c): undefined reference to `pow'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans6.ltrans.o: In function `wave_startrecording.lto_priv.230':

<artificial>:(.text.wave_startrecording.lto_priv.230+0xa98): undefined reference to `memset'

<artificial>:(.text.wave_startrecording.lto_priv.230+0x15c8): undefined reference to `memset'

<artificial>:(.text.wave_startrecording.lto_priv.230+0x1bbc): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans7.ltrans.o: In function `r7s721_usbi0.lto_priv.436':

<artificial>:(.text.r7s721_usbi0.lto_priv.436+0xcd4): undefined reference to `usbd_cdc_tx'

<artificial>:(.text.r7s721_usbi0.lto_priv.436+0xd2c): undefined reference to `usbd_cdc_tx'

<artificial>:(.text.r7s721_usbi0.lto_priv.436+0xf50): undefined reference to `usbd_cdc_tx'

<artificial>:(.text.r7s721_usbi0.lto_priv.436+0xf70): undefined reference to `usbd_cdc_tx'

<artificial>:(.text.r7s721_usbi0.lto_priv.436+0xf90): undefined reference to `usbd_cdc_tx'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans7.ltrans.o:<artificial>:(.text.r7s721_usbi0.lto_priv.436+0xfb0): more undefined references to `usbd_cdc_tx' follow

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans7.ltrans.o: In function `r7s721_usbi0.lto_priv.436':

<artificial>:(.text.r7s721_usbi0.lto_priv.436+0x1174): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans8.ltrans.o: In function `single_rate_out_write_mcv.constprop.174':

<artificial>:(.text.single_rate_out_write_mcv.constprop.174+0x30): undefined reference to `memcpy'

<artificial>:(.text.single_rate_out_write_mcv.constprop.174+0x40): undefined reference to `memcpy'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans8.ltrans.o: In function `fir_design_adjust_rx.constprop.159':

<artificial>:(.text.fir_design_adjust_rx.constprop.159+0x44): undefined reference to `pow'

<artificial>:(.text.fir_design_adjust_rx.constprop.159+0xad8): undefined reference to `cos'

<artificial>:(.text.fir_design_adjust_rx.constprop.159+0xae4): undefined reference to `cos'

<artificial>:(.text.fir_design_adjust_rx.constprop.159+0xaf0): undefined reference to `cos'

<artificial>:(.text.fir_design_adjust_rx.constprop.159+0xb28): undefined reference to `cos'

<artificial>:(.text.fir_design_adjust_rx.constprop.159+0xb34): undefined reference to `cos'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans8.ltrans.o:<artificial>:(.text.fir_design_adjust_rx.constprop.159+0xb40): more undefined references to `cos' follow

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans8.ltrans.o: In function `fir_design_bandpass_freq.constprop.157':

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0x68): undefined reference to `sin'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0x74): undefined reference to `cos'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0x98): undefined reference to `sin'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0xa4): undefined reference to `cos'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0xc8): undefined reference to `sin'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0xd4): undefined reference to `cos'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0xfc): undefined reference to `sin'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0x108): undefined reference to `cos'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0x13c): undefined reference to `sin'

<artificial>:(.text.fir_design_bandpass_freq.constprop.157+0x148): undefined reference to `cos'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o: In function `audio_setup_rx':

<artificial>:(.text.audio_setup_rx+0xb8): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o: In function `audio_update.lto_priv.412':

<artificial>:(.text.audio_update.lto_priv.412+0x114): undefined reference to `sin'

<artificial>:(.text.audio_update.lto_priv.412+0x134): undefined reference to `sin'

<artificial>:(.text.audio_update.lto_priv.412+0x148): undefined reference to `sin'

<artificial>:(.text.audio_update.lto_priv.412+0x15c): undefined reference to `sin'

<artificial>:(.text.audio_update.lto_priv.412+0x19c): undefined reference to `sin'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o:<artificial>:(.text.audio_update.lto_priv.412+0x1b8): more undefined references to `sin' follow

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o: In function `audio_update.lto_priv.412':

<artificial>:(.text.audio_update.lto_priv.412+0x518): undefined reference to `memset'

<artificial>:(.text.audio_update.lto_priv.412+0x5b0): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x5c4): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x5d4): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x600): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x60c): undefined reference to `cos'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o:<artificial>:(.text.audio_update.lto_priv.412+0x618): more undefined references to `cos' follow

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o: In function `audio_update.lto_priv.412':

<artificial>:(.text.audio_update.lto_priv.412+0xf7c): undefined reference to `pow'

<artificial>:(.text.audio_update.lto_priv.412+0x159c): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x15a8): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x15b4): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x15ec): undefined reference to `cos'

<artificial>:(.text.audio_update.lto_priv.412+0x15f8): undefined reference to `cos'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o:<artificial>:(.text.audio_update.lto_priv.412+0x1604): more undefined references to `cos' follow

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans9.ltrans.o: In function `audio_update.lto_priv.412':

<artificial>:(.text.audio_update.lto_priv.412+0x21bc): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans17.ltrans.o: In function `r7s721_ssif0_txdma.lto_priv.383':

<artificial>:(.text.r7s721_ssif0_txdma.lto_priv.383+0xf8): undefined reference to `memset'

<artificial>:(.text.r7s721_ssif0_txdma.lto_priv.383+0x110): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans24.ltrans.o: In function `sync_fs.lto_priv.218':

<artificial>:(.text.sync_fs.lto_priv.218+0x5c): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans24.ltrans.o: In function `dir_next.lto_priv.489':

<artificial>:(.text.dir_next.lto_priv.489+0x144): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans25.ltrans.o: In function `agc_forvard_float.isra.7.lto_priv.550':

<artificial>:(.text.agc_forvard_float.isra.7.lto_priv.550+0x88): undefined reference to `log'

<artificial>:(.text.agc_forvard_float.isra.7.lto_priv.550+0x144): undefined reference to `pow'

C:\Users\gena\AppData\Local\Temp\ccODI9HJ.ltrans25.ltrans.o: In function `rxparam_update.lto_priv.414':

<artificial>:(.text.rxparam_update.lto_priv.414+0x94): undefined reference to `pow'

<artificial>:(.text.rxparam_update.lto_priv.414+0x174): undefined reference to `pow'

<artificial>:(.text.rxparam_update.lto_priv.414+0x1a0): undefined reference to `pow'

<artificial>:(.text.rxparam_update.lto_priv.414+0x1cc): undefined reference to `pow'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0x44): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0x68): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0x94): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0xb8): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0\libgcc.a(_aeabi_uldivmod.o): In function `__aeabi_uldivmod':

(.text+0x28): undefined reference to `__udivmoddi4'

collect2.exe: error: ld returned 1 exit status

make.exe: *** [tc1_r7s721020_rom.elf] Error 1

NMAKE : fatal error U1077: 'make.exe' : return code '0x2'

Stop.

Error executing NMAKE.

 

tc1msvc.exe - 3 error(s), 8 warning(s)

 

Cortex-M7 - грабли того же типа, что и у предидушего оратора:

--------------------Configuration: tc1msvc - Win32 stm32f746zg--------------------

Microsoft ® Program Maintenance Utility Version 6.00.8168.0

Copyright © Microsoft Corp 1988-1998. All rights reserved.

cd .\stm32f746zg

make.exe -f .\Makefile all

The system cannot find the path specified.

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/bandfilters.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../bandfilters.c -o bandfilters.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/board.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../board.c -o board.o

In file included from ../board.c:246:0:

../chip/rtcstm32f4xx.c:247:13: warning: 'stm32f4xx_rtc_lsistart' defined but not used [-Wunused-function]

static void stm32f4xx_rtc_lsistart(void)

^~~~~~~~~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/usbd.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../usbd.c -o usbd.o

../usbd.c: In function 'usbd_handler_brdy8_dcp_out':

../usbd.c:2223:11: warning: unused variable 'count' [-Wunused-variable]

unsigned count = usbd_read_data(Instance, pipe, ep0databuffout, sizeof ep0databuffout / sizeof ep0databuffout [0]);

^~~~~

../usbd.c: In function 'usbdFunctionReq_seq3':

../usbd.c:2731:23: warning: unused variable 'terminalID' [-Wunused-variable]

const uint_fast8_t terminalID = HI_BYTE(ReqIndex);

^~~~~~~~~~

../usbd.c: In function 'USBD_UACCDC_Setup':

../usbd.c:7977:25: warning: unused variable 'terminalID' [-Wunused-variable]

const uint_fast8_t terminalID = HI_BYTE(req->wIndex);

^~~~~~~~~~

../usbd.c: In function 'usbd_cdc_tx':

../usbd.c:8724:29: warning: unused variable 'pdev' [-Wunused-variable]

USBD_HandleTypeDef * const pdev = ctx;

^~~~

../usbd.c: At top level:

../usbd.c:572:14: warning: 'configure_device' declared 'static' but never defined [-Wunused-function]

static void configure_device(void);

^~~~~~~~~~~~~~~~

../usbd.c:573:14: warning: 'unconfigure_device' declared 'static' but never defined [-Wunused-function]

static void unconfigure_device(void);

^~~~~~~~~~~~~~~~~~

../usbd.c:574:14: warning: 'single_transmit' declared 'static' but never defined [-Wunused-function]

static void single_transmit(uint8_t * buf, uint8_t len);

^~~~~~~~~~~~~~~

../usbd.c:577:14: warning: 'toLittleEndian' declared 'static' but never defined [-Wunused-function]

static void toLittleEndian( uint32_t value, uint8_t * pDestin );

^~~~~~~~~~~~~~

../usbd.c:9316:21: warning: 'USBD_RegisterClass' defined but not used [-Wunused-function]

USBD_StatusTypeDef USBD_RegisterClass(USBD_HandleTypeDef *pdev, const USBD_ClassTypeDef *pclass)

^~~~~~~~~~~~~~~~~~

../usbd.c:7370:27: warning: 'USBD_DeInit' defined but not used [-Wunused-function]

static USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev)

^~~~~~~~~~~

../usbd.c:6068:25: warning: 'HAL_PCD_GetState' defined but not used [-Wunused-function]

static PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd)

^~~~~~~~~~~~~~~~

../usbd.c:3090:13: warning: 'usb0_function_save_request' defined but not used [-Wunused-function]

static void usb0_function_save_request(PCD_TypeDef * const Instance)

^~~~~~~~~~~~~~~~~~~~~~~~~~

../usbd.c:2968:13: warning: 'actions_seq5' defined but not used [-Wunused-function]

static void actions_seq5(

^~~~~~~~~~~~

../usbd.c:2928:13: warning: 'actions_seq3' defined but not used [-Wunused-function]

static void actions_seq3(

^~~~~~~~~~~~

../usbd.c:2888:13: warning: 'actions_seq1' defined but not used [-Wunused-function]

static void actions_seq1(

^~~~~~~~~~~~

../usbd.c:2221:1: warning: 'usbd_handler_brdy8_dcp_out' defined but not used [-Wunused-function]

usbd_handler_brdy8_dcp_out(PCD_TypeDef * const Instance, uint_fast8_t pipe)

^~~~~~~~~~~~~~~~~~~~~~~~~~

../usbd.c:1960:13: warning: 'nak_ep0' defined but not used [-Wunused-function]

static void nak_ep0(PCD_TypeDef * const Instance)

^~~~~~~

../usbd.c:1828:13: warning: 'control_transmit2' defined but not used [-Wunused-function]

static void control_transmit2(PCD_TypeDef * const Instance)

^~~~~~~~~~~~~~~~~

../usbd.c:1825:17: warning: 'ep0size' defined but not used [-Wunused-variable]

static unsigned ep0size = 0;

^~~~~~~

../usbd.c:1824:24: warning: 'ep0data' defined but not used [-Wunused-variable]

static const uint8_t * ep0data = NULL;

^~~~~~~

../usbd.c:1809:1: warning: 'control_transmit0single' defined but not used [-Wunused-function]

control_transmit0single(PCD_TypeDef * const Instance, const uint8_t * data, unsigned size)

^~~~~~~~~~~~~~~~~~~~~~~

../usbd.c:1739:1: warning: 'usbd_write_data' defined but not used [-Wunused-function]

usbd_write_data(PCD_TypeDef * const Instance, uint_fast8_t pipe, const uint8_t * data, unsigned size)

^~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/usbd_desc.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../usbd_desc.c -o usbd_desc.o

../usbd_desc.c:1669:17: warning: 'fill_pattern_descriptor' defined but not used [-Wunused-function]

static unsigned fill_pattern_descriptor(uint8_t * buff, unsigned maxsize, const void * pattern, unsigned length)

^~~~~~~~~~~~~~~~~~~~~~~

../usbd_desc.c:340:17: warning: 'UAC_AudioSelectorUnit_IN' defined but not used [-Wunused-function]

static unsigned UAC_AudioSelectorUnit_IN(

^~~~~~~~~~~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/sequen.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../sequen.c -o sequen.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/elkey.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../elkey.c -o elkey.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/encoder.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../encoder.c -o encoder.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/serial.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../serial.c -o serial.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/hardware.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../hardware.c -o hardware.o

../hardware.c:1947:22: warning: 'ulmax' defined but not used [-Wunused-function]

static unsigned long ulmax(

^~~~~

../hardware.c:933:13: warning: 'spool_elkeyinputsbundle' defined but not used [-Wunused-function]

static void spool_elkeyinputsbundle(void)

^~~~~~~~~~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/hd44780.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../hd44780.c -o hd44780.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/display.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../display.c -o display.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/display2.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../display2.c -o display2.o

../display2.c:3403:13: warning: 'display_graduate' defined but not used [-Wunused-function]

static void display_graduate(

^~~~~~~~~~~~~~~~

../display2.c:1094:13: warning: 'display_amfmhighcut3' defined but not used [-Wunused-function]

static void display_amfmhighcut3(

^~~~~~~~~~~~~~~~~~~~

../display2.c:1073:13: warning: 'display_freqdelta8' defined but not used [-Wunused-function]

static void display_freqdelta8(

^~~~~~~~~~~~~~~~~~

../display2.c:1054:13: warning: 'display_siglevel7' defined but not used [-Wunused-function]

static void display_siglevel7(

^~~~~~~~~~~~~~~~~

../display2.c:1032:13: warning: 'display_currlevel5' defined but not used [-Wunused-function]

static void display_currlevel5(

^~~~~~~~~~~~~~~~~~

../display2.c:988:13: warning: 'display_voltlevel4' defined but not used [-Wunused-function]

static void display_voltlevel4(

^~~~~~~~~~~~~~~~~~

../display2.c:953:13: warning: 'display_mode3_b' defined but not used [-Wunused-function]

static void display_mode3_b(

^~~~~~~~~~~~~~~

../display2.c:919:13: warning: 'display_vfomode1' defined but not used [-Wunused-function]

static void display_vfomode1(

^~~~~~~~~~~~~~~~

../display2.c:905:13: warning: 'display_vfomode5' defined but not used [-Wunused-function]

static void display_vfomode5(

^~~~~~~~~~~~~~~~

../display2.c:877:13: warning: 'display_agc4' defined but not used [-Wunused-function]

static void display_agc4(

^~~~~~~~~~~~

../display2.c:863:13: warning: 'display_agc3' defined but not used [-Wunused-function]

static void display_agc3(

^~~~~~~~~~~~

../display2.c:834:13: warning: 'display_hplp2' defined but not used [-Wunused-function]

static void display_hplp2(

^~~~~~~~~~~~~

../display2.c:822:13: warning: 'display_att4' defined but not used [-Wunused-function]

static void display_att4(

^~~~~~~~~~~~

../display2.c:808:13: warning: 'display_ant4' defined but not used [-Wunused-function]

static void display_ant4(

^~~~~~~~~~~~

../display2.c:766:13: warning: 'display_ovf3' defined but not used [-Wunused-function]

static void display_ovf3(

^~~~~~~~~~~~

../display2.c:754:13: warning: 'display_pre3' defined but not used [-Wunused-function]

static void display_pre3(

^~~~~~~~~~~~

../display2.c:739:13: warning: 'display_mainsubrxmode3' defined but not used [-Wunused-function]

static void display_mainsubrxmode3(

^~~~~~~~~~~~~~~~~~~~~~

../display2.c:692:13: warning: 'display_pbt' defined but not used [-Wunused-function]

static void display_pbt(

^~~~~~~~~~~

../display2.c:680:13: warning: 'display_lockstate4' defined but not used [-Wunused-function]

static void display_lockstate4(

^~~~~~~~~~~~~~~~~~

../display2.c:636:13: warning: 'display_voxtune1' defined but not used [-Wunused-function]

static void display_voxtune1(

^~~~~~~~~~~~~~~~

../display2.c:591:13: warning: 'display_voxtune4' defined but not used [-Wunused-function]

static void display_voxtune4(

^~~~~~~~~~~~~~~~

../display2.c:545:13: warning: 'display_voxtune3' defined but not used [-Wunused-function]

static void display_voxtune3(

^~~~~~~~~~~~~~~~

../display2.c:523:13: warning: 'display_byp3' defined but not used [-Wunused-function]

static void display_byp3(

^~~~~~~~~~~~

../display2.c:502:13: warning: 'display_atu3' defined but not used [-Wunused-function]

static void display_atu3(

^~~~~~~~~~~~

../display2.c:457:13: warning: 'display_recstatus' defined but not used [-Wunused-function]

static void display_recstatus(

^~~~~~~~~~~~~~~~~

../display2.c:444:13: warning: 'display_txrxstate2' defined but not used [-Wunused-function]

static void display_txrxstate2(

^~~~~~~~~~~~~~~~~~

../display2.c:430:13: warning: 'display_txrxstatecompact' defined but not used [-Wunused-function]

static void display_txrxstatecompact(

^~~~~~~~~~~~~~~~~~~~~~~~

../display2.c:407:13: warning: 'display_freq8_b' defined but not used [-Wunused-function]

static void display_freq8_b(

^~~~~~~~~~~~~~~

../display2.c:385:13: warning: 'display_freq7_b' defined but not used [-Wunused-function]

static void display_freq7_b(

^~~~~~~~~~~~~~~

../display2.c:343:13: warning: 'display_freqchr_b' defined but not used [-Wunused-function]

static void display_freqchr_b(

^~~~~~~~~~~~~~~~~

../display2.c:258:13: warning: 'display_freq7_a' defined but not used [-Wunused-function]

static void display_freq7_a(

^~~~~~~~~~~~~~~

../display2.c:218:13: warning: 'display_freq8_a' defined but not used [-Wunused-function]

static void display_freq8_a(

^~~~~~~~~~~~~~~

../display2.c:177:13: warning: 'display_freq8big_a' defined but not used [-Wunused-function]

static void display_freq8big_a(

^~~~~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/keyboard.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../keyboard.c -o keyboard.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/keymaps.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../keymaps.c -o keymaps.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/nvram.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../nvram.c -o nvram.o

../nvram.c:346:14: warning: 'stm32f4xx_bddisable' defined but not used [-Wunused-function]

static void stm32f4xx_bddisable(void)

^~~~~~~~~~~~~~~~~~~

../nvram.c:328:14: warning: 'stm32f4xx_bdenable' defined but not used [-Wunused-function]

static void stm32f4xx_bdenable(void)

^~~~~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/spifuncs.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../spifuncs.c -o spifuncs.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/formats.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../formats.c -o formats.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/synthcalcs.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../synthcalcs.c -o synthcalcs.o

../synthcalcs.c:43:28: warning: 'dds2refdiv' defined but not used [-Wunused-const-variable=]

static const uint_fast8_t dds2refdiv = 1;

^~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/filters.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../filters.c -o filters.o

../filters.c:40:2: warning: 'strFlash120p0' defined but not used [-Wunused-const-variable=]

strFlash120p0 [] = "120";

^~~~~~~~~~~~~

../filters.c:39:2: warning: 'strFlash15p0' defined but not used [-Wunused-const-variable=]

strFlash15p0 [] = "15.",

^~~~~~~~~~~~

../filters.c:38:2: warning: 'strFlash17p0' defined but not used [-Wunused-const-variable=]

strFlash17p0 [] = "17.",

^~~~~~~~~~~~

../filters.c:37:2: warning: 'strFlash18p0' defined but not used [-Wunused-const-variable=]

strFlash18p0 [] = "18.",

^~~~~~~~~~~~

../filters.c:36:2: warning: 'strFlash10p0' defined but not used [-Wunused-const-variable=]

strFlash10p0 [] = "10.",

^~~~~~~~~~~~

../filters.c:35:2: warning: 'strFlash9p0' defined but not used [-Wunused-const-variable=]

strFlash9p0 [] = "9.0",

^~~~~~~~~~~

../filters.c:34:2: warning: 'strFlash8p0' defined but not used [-Wunused-const-variable=]

strFlash8p0 [] = "8.0",

^~~~~~~~~~~

../filters.c:33:2: warning: 'strFlash7p8' defined but not used [-Wunused-const-variable=]

strFlash7p8 [] = "7.8",

^~~~~~~~~~~

../filters.c:32:2: warning: 'strFlash6p0' defined but not used [-Wunused-const-variable=]

strFlash6p0 [] = "6.0",

^~~~~~~~~~~

../filters.c:31:2: warning: 'strFlash3p1' defined but not used [-Wunused-const-variable=]

strFlash3p1 [] = "3.1",

^~~~~~~~~~~

../filters.c:30:2: warning: 'strFlash3p0' defined but not used [-Wunused-const-variable=]

strFlash3p0 [] = "3.0",

^~~~~~~~~~~

../filters.c:29:2: warning: 'strFlash2p7' defined but not used [-Wunused-const-variable=]

strFlash2p7 [] = "2.7",

^~~~~~~~~~~

../filters.c:28:2: warning: 'strFlash2p4' defined but not used [-Wunused-const-variable=]

strFlash2p4 [] = "2.4",

^~~~~~~~~~~

../filters.c:27:2: warning: 'strFlash2p1' defined but not used [-Wunused-const-variable=]

strFlash2p1 [] = "2.1",

^~~~~~~~~~~

../filters.c:26:2: warning: 'strFlash2p0' defined but not used [-Wunused-const-variable=]

strFlash2p0 [] = "2.0",

^~~~~~~~~~~

../filters.c:25:2: warning: 'strFlash1p8' defined but not used [-Wunused-const-variable=]

strFlash1p8 [] = "1.8",

^~~~~~~~~~~

../filters.c:24:2: warning: 'strFlash1p5' defined but not used [-Wunused-const-variable=]

strFlash1p5 [] = "1.5",

^~~~~~~~~~~

../filters.c:23:2: warning: 'strFlash1p0' defined but not used [-Wunused-const-variable=]

strFlash1p0 [] = "1.0",

^~~~~~~~~~~

../filters.c:22:2: warning: 'strFlash0p5' defined but not used [-Wunused-const-variable=]

strFlash0p5 [] = "0.5",

^~~~~~~~~~~

../filters.c:21:2: warning: 'strFlash0p3' defined but not used [-Wunused-const-variable=]

strFlash0p3 [] = "0.3",

^~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/pcf8535.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../pcf8535.c -o pcf8535.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/uc1608.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../uc1608.c -o uc1608.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/uc1601s.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../uc1601s.c -o uc1601s.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/lph88.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../lph88.c -o lph88.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/ls020.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../ls020.c -o ls020.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/l2f50.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../l2f50.c -o l2f50.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/s1d13781.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../s1d13781.c -o s1d13781.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/ILI9320.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../ILI9320.c -o ILI9320.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/ili9225.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../ili9225.c -o ili9225.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/st7735.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../st7735.c -o st7735.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/st7565s.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../st7565s.c -o st7565s.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/graphltdc.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../graphltdc.c -o graphltdc.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/sdram.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../sdram.c -o sdram.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/ili8961.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../ili8961.c -o ili8961.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/twi.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../twi.c -o twi.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/pio.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../pio.c -o pio.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/tlv320aic23.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../tlv320aic23.c -o tlv320aic23.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/cs4272.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../cs4272.c -o cs4272.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/nau8822.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../nau8822.c -o nau8822.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/wm8994.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../wm8994.c -o wm8994.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/hardwarecodecs.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../hardwarecodecs.c -o hardwarecodecs.o

../hardwarecodecs.c: In function 'hardware_sai_clock_selection':

../hardwarecodecs.c:771:4: warning: #warning TODO: implement for CPUSTYLE_STM32F7XX [-Wcpp]

#warning TODO: implement for CPUSTYLE_STM32F7XX

^~~~~~~

At top level:

../hardwarecodecs.c:1007:13: warning: 'hardware_sai1_master_fullduplex_initialize' defined but not used [-Wunused-function]

static void hardware_sai1_master_fullduplex_initialize(void) /* инициализация SAI1 на STM32F4xx */

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../hardwarecodecs.c:179:2: warning: 'calcdivround_exti2s' defined but not used [-Wunused-function]

calcdivround_exti2s(

^~~~~~~~~~~~~~~~~~~

../hardwarecodecs.c:61:22: warning: 'dma_invalidate192rts' defined but not used [-Wunused-function]

static unsigned long dma_invalidate192rts(unsigned long addr)

^~~~~~~~~~~~~~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/buffers.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../buffers.c -o buffers.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/audio.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../audio.c -o audio.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/spislave.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../spislave.c -o spislave.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/modems.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../modems.c -o modems.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/sdcard.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../sdcard.c -o sdcard.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/ff.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../ff.c -o ff.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/ccsbcs.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../ccsbcs.c -o ccsbcs.o

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/tc1.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../tc1.c -o tc1.o

../tc1.c:12202:1: warning: 'uif_key_click_menubyname' defined but not used [-Wunused-function]

uif_key_click_menubyname(uint_fast8_t tx, const char * name)

^~~~~~~~~~~~~~~~~~~~~~~~

../tc1.c:5845:1: warning: 'flagne16' defined but not used [-Wunused-function]

flagne16(uint_fast16_t * oldval, uint_fast16_t v)

^~~~~~~~

../tc1.c:2947:29: warning: 'swrmode' defined but not used [-Wunused-const-variable=]

static const uint_fast8_t swrmode = 0;

^~~~~~~

../tc1.c:531:4: warning: 'pwrmodes' defined but not used [-Wunused-const-variable=]

} pwrmodes [] =

^~~~~~~~

../tc1.c:518:4: warning: 'antmodes' defined but not used [-Wunused-const-variable=]

} antmodes [] =

^~~~~~~~

C:\user\klen\bin\arm-kgp-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstri

ct-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/tests.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../tests.c -o tests.o

C:\user\klen\bin\arm-kgp-eabi-gcc bandfilters.o board.o usbd.o usbd_desc.o sequen.o elkey.o encoder.o serial.o hardware.o hd44780.o display.o display2.o keyboard.o keymaps.o nvram.o spifuncs.o formats.o synthcalcs.o filters.o pcf8535.o uc1608.o uc1

601s.o lph88.o ls020.o l2f50.o s1d13781.o ILI9320.o ili9225.o st7735.o st7565s.o graphltdc.o sdram.o ili8961.o twi.o pio.o tlv320aic23.o cs4272.o nau8822.o wm8994.o hardwarecodecs.o buffers.o audio.o spislave.o modems.o sdcard.o ff.o ccsbcs.o tc1.o

tests.o -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -flto -Ofast -nostartfiles -T./STM32F746ZG_rom.ld -Wl,-Map=tc1_stm32f746zg_rom.map,--

cref,--no-warn-mismatch -L../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Lib/GCC -lm -larm_cortexM7lfsp_math -o tc1_stm32f746zg_rom.elf

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans27.ltrans.o: In function `rxparam_update.lto_priv.343':

<artificial>:(.text.rxparam_update.lto_priv.343+0x4a): undefined reference to `powf'

<artificial>:(.text.rxparam_update.lto_priv.343+0xe4): undefined reference to `powf'

<artificial>:(.text.rxparam_update.lto_priv.343+0x116): undefined reference to `powf'

<artificial>:(.text.rxparam_update.lto_priv.343+0x142): undefined reference to `powf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans0.ltrans.o: In function `ResetException.lto_priv.513':

<artificial>:(.text.ResetException.lto_priv.513+0x322): undefined reference to `memcpy'

<artificial>:(.text.ResetException.lto_priv.513+0x32c): undefined reference to `memset'

<artificial>:(.text.ResetException.lto_priv.513+0xdb8): undefined reference to `logf'

<artificial>:(.text.ResetException.lto_priv.513+0xe38): undefined reference to `logf'

<artificial>:(.text.ResetException.lto_priv.513+0xea8): undefined reference to `logf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans3.ltrans.o: In function `OTG_FS_IRQHandler':

<artificial>:(.text.OTG_FS_IRQHandler+0xeb4): undefined reference to `memcpy'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans4.ltrans.o: In function `updateboard.isra.37.lto_priv.303':

<artificial>:(.text.updateboard.isra.37.lto_priv.303+0x8ce): undefined reference to `memcmp'

<artificial>:(.text.updateboard.isra.37.lto_priv.303+0x1208): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans9.ltrans.o: In function `wave_startrecording.lto_priv.235':

<artificial>:(.text.wave_startrecording.lto_priv.235+0x806): undefined reference to `memset'

<artificial>:(.text.wave_startrecording.lto_priv.235+0x1242): undefined reference to `memset'

<artificial>:(.text.wave_startrecording.lto_priv.235+0x16f0): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans11.ltrans.o: In function `DMA1_Stream4_IRQHandler':

<artificial>:(.text.DMA1_Stream4_IRQHandler+0x10a): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans11.ltrans.o:<artificial>:(.text.DMA1_Stream4_IRQHandler+0x11c): more undefined references to `memset' follow

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans12.ltrans.o: In function `audio_update.lto_priv.341':

<artificial>:(.text.audio_update.lto_priv.341+0xa8): undefined reference to `sinf'

<artificial>:(.text.audio_update.lto_priv.341+0xda): undefined reference to `sinf'

<artificial>:(.text.audio_update.lto_priv.341+0xfa): undefined reference to `sinf'

<artificial>:(.text.audio_update.lto_priv.341+0x11a): undefined reference to `sinf'

<artificial>:(.text.audio_update.lto_priv.341+0x146): undefined reference to `sinf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans12.ltrans.o:<artificial>:(.text.audio_update.lto_priv.341+0x162): more undefined references to `sinf' follow

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans12.ltrans.o: In function `audio_update.lto_priv.341':

<artificial>:(.text.audio_update.lto_priv.341+0x1e0): undefined reference to `memset'

<artificial>:(.text.audio_update.lto_priv.341+0x246): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0x252): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0x25e): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0x28e): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0x29a): undefined reference to `cosf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans12.ltrans.o:<artificial>:(.text.audio_update.lto_priv.341+0x2a6): more undefined references to `cosf' follow

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans12.ltrans.o: In function `audio_update.lto_priv.341':

<artificial>:(.text.audio_update.lto_priv.341+0x864): undefined reference to `memset'

<artificial>:(.text.audio_update.lto_priv.341+0x94e): undefined reference to `powf'

<artificial>:(.text.audio_update.lto_priv.341+0xca4): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0xcb0): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0xcbc): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0xce4): undefined reference to `cosf'

<artificial>:(.text.audio_update.lto_priv.341+0xcf0): undefined reference to `cosf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans12.ltrans.o:<artificial>:(.text.audio_update.lto_priv.341+0xcfc): more undefined references to `cosf' follow

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans15.ltrans.o: In function `fir_design_adjust_rx.constprop.157':

<artificial>:(.text.fir_design_adjust_rx.constprop.157+0x28): undefined reference to `powf'

<artificial>:(.text.fir_design_adjust_rx.constprop.157+0x630): undefined reference to `cosf'

<artificial>:(.text.fir_design_adjust_rx.constprop.157+0x63c): undefined reference to `cosf'

<artificial>:(.text.fir_design_adjust_rx.constprop.157+0x648): undefined reference to `cosf'

<artificial>:(.text.fir_design_adjust_rx.constprop.157+0x670): undefined reference to `cosf'

<artificial>:(.text.fir_design_adjust_rx.constprop.157+0x67c): undefined reference to `cosf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans15.ltrans.o:<artificial>:(.text.fir_design_adjust_rx.constprop.157+0x688): more undefined references to `cosf' follow

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans15.ltrans.o: In function `fir_design_bandpass.constprop.156':

<artificial>:(.text.fir_design_bandpass.constprop.156+0x2e): undefined reference to `sinf'

<artificial>:(.text.fir_design_bandpass.constprop.156+0x3a): undefined reference to `cosf'

<artificial>:(.text.fir_design_bandpass.constprop.156+0x5a): undefined reference to `sinf'

<artificial>:(.text.fir_design_bandpass.constprop.156+0x66): undefined reference to `cosf'

<artificial>:(.text.fir_design_bandpass.constprop.156+0x88): undefined reference to `sinf'

<artificial>:(.text.fir_design_bandpass.constprop.156+0x94): undefined reference to `cosf'

<artificial>:(.text.fir_design_bandpass.constprop.156+0xb8): undefined reference to `sinf'

<artificial>:(.text.fir_design_bandpass.constprop.156+0xc4): undefined reference to `cosf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans20.ltrans.o: In function `dsp_extbuffer32rx':

<artificial>:(.text.dsp_extbuffer32rx+0x554): undefined reference to `atan2f'

<artificial>:(.text.dsp_extbuffer32rx+0xce2): undefined reference to `logf'

<artificial>:(.text.dsp_extbuffer32rx+0xd66): undefined reference to `powf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans23.ltrans.o: In function `sync_fs.lto_priv.210':

<artificial>:(.text.sync_fs.lto_priv.210+0x36): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans23.ltrans.o: In function `dir_next.lto_priv.470':

<artificial>:(.text.dir_next.lto_priv.470+0xf8): undefined reference to `memset'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans25.ltrans.o: In function `agc_forvard_float.isra.8.constprop.3':

<artificial>:(.text.agc_forvard_float.isra.8.constprop.3+0x44): undefined reference to `logf'

<artificial>:(.text.agc_forvard_float.isra.8.constprop.3+0xa4): undefined reference to `powf'

C:\Users\gena\AppData\Local\Temp\cc379rL5.ltrans26.ltrans.o: In function `single_rate_out_write_mcv.constprop.178':

<artificial>:(.text.single_rate_out_write_mcv.constprop.178+0x18): undefined reference to `memcpy'

<artificial>:(.text.single_rate_out_write_mcv.constprop.178+0x24): undefined reference to `memcpy'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0/thumb/cortex-m7sf\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0x32): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0/thumb/cortex-m7sf\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0x4c): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0/thumb/cortex-m7sf\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0x6e): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0/thumb/cortex-m7sf\libgcc.a(_aeabi_ldivmod.o): In function `__aeabi_ldivmod':

(.text+0x8a): undefined reference to `__udivmoddi4'

c:/user/klen/bin/../lib/gcc/arm-kgp-eabi/6.3.0/thumb/cortex-m7sf\libgcc.a(_aeabi_uldivmod.o): In function `__aeabi_uldivmod':

(.text+0x20): undefined reference to `__udivmoddi4'

collect2.exe: error: ld returned 1 exit status

make.exe: *** [tc1_stm32f746zg_rom.elf] Error 1

NMAKE : fatal error U1077: 'make.exe' : return code '0x2'

Stop.

Error executing NMAKE.

 

tc1msvc.exe - 3 error(s), 92 warning(s)

Изменено пользователем Genadi Zawidowski

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

странно.. почему у меня собираются проекты?

 

из жизни..., вчера у меня были испытательные полеты квадрокоптера который мы стоим, так вот он летал, летал.... и упал. вскрытие остатков чукчи показало что небыли запитаны микросхемы-развязки через которые идет сигнал управления от полетного контроллера к регуляторами двигателей. теория, даташиты на микросхемку и здравый смысл говорит что полет при этом невозможен даже если чукчу надуть водородом, однако ж .... вот я и думаю - может это все мне снится... и GCC LTO и коптеры.

 

есть у меня еще идея!

подождите немножко, на выходных выложу еще вариант.

главное что бы у аудитории интерес не пропал :)

 

очень похоже что проблема та же что и в посте

https://electronix.ru/forum/index.php?showtopic=139336

тот же косяг.. у парней как то все рассосалось но я так и не понял как, видимо все на столько очевидно что моему уму никак не дойти...

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Не тот же косяк, как можно в простынях что я привел увидеть, ключик с параметрами оптимизации у меня передается линкеру как положено. И у меня на ланчпадовских версиях всё нормально.

 

С Вашими версиями такую проблему (с ненайденными sqrt/sqrtf, memset и так далее) уже встречали и Вы успешно её решали (сообщения в районе 16 октября 2016 года) - https://electronix.ru/forum/index.php?showt...t&p=1455926

Изменено пользователем Genadi Zawidowski

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Не тот же косяк, как можно в простынях что я привел увидеть, ключик с параметрами оптимизации у меня передается линкеру как положено. И у меня на ланчпадовских версиях всё нормально.

 

С Вашими версиями такую проблему (с ненайденными sqrt/sqrtf, memset и так далее) уже встречали и Вы успешно её решали (сообщения в районе 16 октября 2016 года) - https://electronix.ru/forum/index.php?showt...t&p=1455926

 

теперь должно работать

arm/linux64

www.klen.org/Files/DevTools/x86_64-kgp-linux-gnu/arm-kgp-eabi_@_x86_64-kgp-linux-gnu_6.3.0_BOTRYCHIUM.7z

 

arm/win64

www.klen.org/Files/DevTools/x86_64-kgp-mingw32/arm-kgp-eabi_@_x86_64-kgp-mingw32_6.3.0_BOTRYCHIUM.7z

 

последний архив содержит и первый. я вот что подумал - они отличаются только исполняймыми-бинарями и они у меня собираются статически, таргет-библиотеки одни и те же. поэтому их тупо можно слить и все должно работать. например для linux запускать gcc а в масдае gcc.exe

 

это все тот же релизный 6.3.0

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Проект для Cortex-M7 и M4 собрался и работает, Cortex-A9 и ARM 7 TDMI собрался, работу не проверял пока.

 

Изменено пользователем Genadi Zawidowski

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

свежак для linux64

www.klen.org/Files/DevTools/x86_64-kgp-linux-gnu/arm-kgp-eabi_@_x86_64-kgp-linux-gnu_20170126_CINNAMOMUM.7z

 

теперь ветка кода 7.0.1

при сборке c ключами -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard

то есть например для stm32f4 в этой сборке доступна либа GNU GSL https://www.gnu.org/software/gsl/

я ее отпортировал чтоб она использовала базовым типом float и собрал. таким образом то что соберется с ней будет работать на FPU.

нужно будет добавить при линковке -lfgsl -lfgslcblas

 

для масдая пожже соберу и выложу

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Выяснилось, что Launchpad-овская версия скомпилила DSP часть моего проекта в код (Cortex-M7) приблизительлно в полтора раза более шустрее выполняющийся, чем это получилось у klen-gcc (Сообщение #1224).

Предварительно могу сказать что скорее всего виноваты те части libm, которые выполняют logf, powf. CMSIS библиотека не используется.

Ключи ниже в цитате:

 

arm-none-eabi-gcc -c -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -Ofast -flto -gdwarf-2 -fomit-frame-pointer -Wall -Wstrict-prototypes -DNDEBUG=1 -DCPUSTYLE_STM32F7XX=1 -DSTM32F746xx=1 -MD -MP -MF ./dep/audio.o.d -I../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include -I../ ../audio.c -o audio.o

arm-none-eabi-gcc bandfilters.o board.o usbd.o usbd_desc.o sequen.o elkey.o encoder.o serial.o hardware.o hd44780.o display.o display2.o keyboard.o keymaps.o nvram.o spifuncs.o formats.o synthcalcs.o filters.o pcf8535.o uc1608.o uc1601s.o lph88.o ls020.o l2f50.o s1d13781.o ILI9320.o ili9225.o st7735.o st7565s.o graphltdc.o sdram.o ili8961.o twi.o pio.o tlv320aic23.o cs4272.o nau8822.o wm8994.o hardwarecodecs.o buffers.o audio.o spislave.o modems.o sdcard.o ff.o ccsbcs.o tc1.o tests.o -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -fno-math-errno -funroll-loops -fgraphite -ffunction-sections -fdata-sections -ffat-lto-objects -flto -Ofast -nostartfiles -T./STM32F746ZG_rom.ld -Wl,-Map=tc1_stm32f746zg_rom.map,--cref,--no-warn-mismatch -L../../CMSIS-SP-00300-r4p5-00rel0/CMSIS/Lib/GCC -lm -larm_cortexM7lfsp_math -o tc1_stm32f746zg_rom.elf

Изменено пользователем Genadi Zawidowski

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Выяснилось, что Launchpad-овская версия скомпилила DSP часть моего проекта в код (Cortex-M7) приблизительлно в полтора раза более шустрее выполняющийся, чем это получилось у klen-gcc (Сообщение #1224).

Предварительно могу сказать что скорее всего виноваты те части libm, которые выполняют logf, powf. CMSIS библиотека не используется.

Ключи ниже в цитате:

 

о! стало собираться :) и не падать при компиляции?

 

на этот случай есть у меня свой быстрый libm. будем пробывать? код написан на с++ . поэтому могу собрать в либу с С-враперами и тогда logf, powf можно будеть слинковать с C-кодом.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

То что собирается я еще Jan 13 2017, 21:52 сказал. С ланчпадом работает быстрее. Просто возьмите их параметры сборки - они же выложили.

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

То что собирается я еще Jan 13 2017, 21:52 сказал. С ланчпадом работает быстрее. Просто возьмите их параметры сборки - они же выложили.

дело скорее всего в либах, компиляторы можно сравнивать только на одинаковом коде.

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

×
×
  • Создать...