Skip to content

Weird error after latest update - arm-none-eabi-g++: error: missing argument to '-mcpu=' #2141

Closed Answered by fpistm
LAPSyLAB asked this question in Variants
Discussion options

You must be logged in to vote

Hi @LAPSyLAB
that is normal you don't properly define your board in the boards.txt.
Compare to this entry:

Arduino_Core_STM32/boards.txt

Lines 1036 to 1047 in 61a1680

# STM32H573I-DK
Disco.menu.pnum.STM32H573I_DK=STM32H573I-DK
Disco.menu.pnum.STM32H573I_DK.node=DIS_H573II
Disco.menu.pnum.STM32H573I_DK.upload.maximum_size=2097152
Disco.menu.pnum.STM32H573I_DK.upload.maximum_data_size=655360
Disco.menu.pnum.STM32H573I_DK.build.mcu=cortex-m33
Disco.menu.pnum.STM32H573I_DK.build.fpu=-mfpu=fpv4-sp-d16
Disco.menu.pnum.STM32H573I_DK.build.float-abi=-mfloat-abi=hard
Disco.menu.pnum.STM32H573I_DK.build.board=STM32H573I_DK
Disco.menu.pnum.STM…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Answer selected by fpistm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants