Hardware float option

Sysprogs forums Forums VisualGDB Hardware float option

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9890
    parsec67
    Participant

    Wondering about “Floating-point ABI” setting in VS project Configuration properties->ARM settings, does it have any purpose? I have hardware float set  in my VisualGDB project properties page and the stm32.xml file seems to reflect that the correct library is used, see below. Changing Floating-point ABI has no effect?

    <KeyValue>
            <Key>com.sysprogs.bspoptions.arm.floatmode</Key>
            <Value>-mfloat-abi=hard</Value>
    </KeyValue>
    #9895
    support
    Keymaster

    Hi,

    The value in the VisualGDB Project Properties is set for all configurations and is stored in stm32.props:

        <ItemDefinitionGroup>
            <ToolchainSettingsContainer>
                <ARMCPU>cortex-m4</ARMCPU>
                <InstructionSet>THUMB</InstructionSet>
                <FloatABI>soft</FloatABI>
            </ToolchainSettingsContainer>
        </ItemDefinitionGroup>

    The corresponding VS property could override it for each configuration, but we do not recommend changing it manually to avoid confusion.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.