cancel
Showing results for 
Search instead for 
Did you mean: 

Cant Compile a project

salah-eddine
Associate II

I am using a NUCLEO-L476 board with X-Nucleo-NFC08A1, attempting to compile the provided example by ST, NFC08A1_PollingTagDetectNDEF. However, I encounter an issue with the file startup_stm32l476xx.s. Every time I compile the project, I receive the following errors:

../startup_stm32l476xx.s:128: Error: bad instruction `dcd TIM6_DAC_IRQHandler'
../startup_stm32l476xx.s:128: Error: bad instruction `tim6 and DAC1&2 underrun errors'
../startup_stm32l476xx.s:129: Error: bad instruction `dcd TIM7_IRQHandler'
../startup_stm32l476xx.s:129: Error: bad instruction `tim7'
../startup_stm32l476xx.s:130: Error: bad instruction `dcd DMA2_Channel1_IRQHandler'
../startup_stm32l476xx.s:130: Error: bad instruction `dma2 Channel 1'
../startup_stm32l476xx.s:131: Error: bad instruction `dcd DMA2_Channel2_IRQHandler'
../startup_stm32l476xx.s:131: Error: bad instruction `dma2 Channel 2'
../startup_stm32l476xx.s:132: Error: bad instruction `dcd DMA2_Channel3_IRQHandler'
../startup_stm32l476xx.s:132: Error: bad instruction `dma2 Channel 3'
../startup_stm32l476xx.s:133: Error: bad instruction `dcd DMA2_Channel4_IRQHandler'

 

It seems like there might be issues with the syntax or directives in the startup_stm32l476xx.s file. I need assistance in resolving these errors to successfully compile the project

10 REPLIES 10

thank you