Skip to content

Commit fce6fab

Browse files
facchinmpennam
authored andcommitted
giga: recompile core for M4 coexistence
1 parent d99368a commit fce6fab

File tree

6 files changed

+20
-385
lines changed

6 files changed

+20
-385
lines changed

boards.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ giga.build.postbuild.cmd="{tools.imgtool.path}/{tools.imgtool.cmd}" exit
674674
giga.build.architecture=cortex-m7
675675
giga.build.board=GIGA
676676
giga.build.ldscript=linker_script.ld
677+
giga.build.extra_ldflags=-DCM4_BINARY_START=0x08180000
677678
giga.compiler.mbed.arch.define=
678679
giga.compiler.mbed.defines={build.variant.path}/defines.txt
679680
giga.compiler.mbed.ldflags={build.variant.path}/ldflags.txt
@@ -706,7 +707,7 @@ giga.upload.interface=0
706707
giga.upload.use_1200bps_touch=true
707708
giga.upload.wait_for_upload_port=true
708709
giga.upload.native_usb=true
709-
giga.upload.maximum_size=786432
710+
giga.upload.maximum_size=1966080
710711
giga.upload.maximum_data_size=523624
711712

712713
giga.debug.tool=gdb

variants/GIGA/cflags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
-fdata-sections
2020
-ffunction-sections
2121
-fmessage-length=0
22-
-fno-exceptions
2322
-fomit-frame-pointer
2423
-funsigned-char
2524
-mcpu=cortex-m7

variants/GIGA/cxxflags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
-fdata-sections
2222
-ffunction-sections
2323
-fmessage-length=0
24-
-fno-exceptions
2524
-fomit-frame-pointer
2625
-funsigned-char
2726
-mcpu=cortex-m7

variants/GIGA/defines.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
-DFEATURE_BLE=1
4545
-D__FPU_PRESENT=1
4646
-D__MBED__=1
47-
-DMBED_BUILD_TIMESTAMP=1673524403.7194717
47+
-DMBED_BUILD_TIMESTAMP=1675161895.788852
4848
-D__MBED_CMSIS_RTOS_CM
4949
-DMBED_TICKLESS
5050
-DMBEDTLS_FS_IO

0 commit comments

Comments
 (0)