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