mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Update intel_arc32 platform
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
"extra_flags": "-DARDUINO_ARCH_ARC32 -D__ARDUINO_ARC__",
|
"extra_flags": "-DARDUINO_ARCH_ARC32 -D__ARDUINO_ARC__",
|
||||||
"f_cpu": "32000000L",
|
"f_cpu": "32000000L",
|
||||||
"ldscript": "flash.ld",
|
"ldscript": "flash.ld",
|
||||||
"mcu": "ARCv2EM",
|
"cpu": "quarkse_em",
|
||||||
"usb_product": "Genuino 101",
|
"usb_product": "Genuino 101",
|
||||||
"variant": "arduino_101",
|
"variant": "arduino_101",
|
||||||
"hwids": [
|
"hwids": [
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"platform": "intel_arc32",
|
"platform": "intel_arc32",
|
||||||
"upload": {
|
"upload": {
|
||||||
"maximum_ram_size": 81920,
|
"maximum_ram_size": 81920,
|
||||||
"maximum_size": 196608,
|
"maximum_size": 155648,
|
||||||
"protocol": "script",
|
"protocol": "script",
|
||||||
"require_upload_port" : true
|
"require_upload_port" : true
|
||||||
},
|
},
|
||||||
@ -25,3 +25,4 @@
|
|||||||
"vendor": "Intel"
|
"vendor": "Intel"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,9 +42,8 @@ env.Replace(
|
|||||||
"-ffunction-sections",
|
"-ffunction-sections",
|
||||||
"-fdata-sections",
|
"-fdata-sections",
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-mav2em",
|
|
||||||
"-mlittle-endian",
|
"-mlittle-endian",
|
||||||
"-m${BOARD_OPTIONS['build']['mcu']}",
|
"-mcpu=${BOARD_OPTIONS['build']['cpu']}",
|
||||||
"-fno-reorder-functions",
|
"-fno-reorder-functions",
|
||||||
"-fno-asynchronous-unwind-tables",
|
"-fno-asynchronous-unwind-tables",
|
||||||
"-fno-omit-frame-pointer",
|
"-fno-omit-frame-pointer",
|
||||||
@ -82,7 +81,7 @@ env.Replace(
|
|||||||
"-Wl,--gc-sections",
|
"-Wl,--gc-sections",
|
||||||
"-Wl,-X",
|
"-Wl,-X",
|
||||||
"-Wl,-N",
|
"-Wl,-N",
|
||||||
"-Wl,-m${BOARD_OPTIONS['build']['mcu']}",
|
"-Wl,-mcpu=${BOARD_OPTIONS['build']['cpu']}",
|
||||||
"-Wl,-marcelf",
|
"-Wl,-marcelf",
|
||||||
"-static",
|
"-static",
|
||||||
"-nostdlib",
|
"-nostdlib",
|
||||||
@ -93,7 +92,7 @@ env.Replace(
|
|||||||
"-Wl,--no-whole-archive"
|
"-Wl,--no-whole-archive"
|
||||||
],
|
],
|
||||||
|
|
||||||
LIBS=["c", "m", "gcc"],
|
LIBS=["nsim", "c", "m", "gcc"],
|
||||||
|
|
||||||
SIZEPRINTCMD='"$SIZETOOL" -B -d $SOURCES',
|
SIZEPRINTCMD='"$SIZETOOL" -B -d $SOURCES',
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user