This repository was archived by the owner on Apr 16, 2021. It is now read-only.
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ nano33ble.build.variant=ARDUINO_NANO33BLE
19
19
nano33ble.build.mcu=cortex-m4
20
20
nano33ble.build.extra_flags=
21
21
nano33ble.build.architecture=cortex-m4
22
+ nano33ble.build.fpu=fpv4-sp-d16
23
+ nano33ble.build.float-abi=softfp
22
24
nano33ble.build.board=ARDUINO_NANO33BLE
23
25
nano33ble.build.ldscript=linker_script.ld
24
26
nano33ble.compiler.mbed.arch.define=-DARDUINO_ARCH_NRF52840
Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ compiler.warning_flags.all=-Wall -Wextra
18
18
19
19
compiler.path={build.compiler_path}
20
20
compiler.c.cmd={build.crossprefix}gcc
21
- compiler.c.flags=-c {compiler.warning_flags} -Os -g -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu}
21
+ compiler.c.flags=-c {compiler.warning_flags} -Os -g -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu} -mfloat-abi={build.float-abi} -mfpu={build.fpu}
22
22
compiler.c.elf.cmd={build.crossprefix}g++
23
23
compiler.c.elf.flags=-Wl,--gc-sections {compiler.warning_flags} -Wl,--as-needed
24
- compiler.S.flags=-c -g -x assembler-with-cpp -Os -mcpu={build.mcu}
24
+ compiler.S.flags=-c -g -x assembler-with-cpp -Os -mcpu={build.mcu} -mfloat-abi={build.float-abi} -mfpu={build.fpu}
25
25
compiler.cpp.cmd={build.crossprefix}g++
26
- compiler.cpp.flags=-c {compiler.warning_flags} -g -Os -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cxxflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu}
26
+ compiler.cpp.flags=-c {compiler.warning_flags} -g -Os -nostdlib "@{compiler.mbed.defines}" "@{compiler.mbed.cxxflags}" {compiler.mbed.arch.define} -MMD -mcpu={build.mcu} -mfloat-abi={build.float-abi} -mfpu={build.fpu}
27
27
compiler.ar.cmd={build.crossprefix}ar
28
28
compiler.ar.flags=rcs
29
29
compiler.objcopy.cmd=
You can’t perform that action at this time.
0 commit comments