mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Add support for Microchip PIC32 development platform // Resolve #438
This commit is contained in:
@ -13,6 +13,9 @@ PlatformIO 2.0
|
||||
development platform for Lattice iCEstick FPGA Evaluation Kit and BQ IceZUM
|
||||
Alhambra FPGA
|
||||
(`issue #480 <https://github.com/platformio/platformio/issues/480>`_)
|
||||
* Added support for `Microchip PIC32 <http://docs.platformio.org/en/latest/platforms/microchippic32.html>`__
|
||||
development platform
|
||||
(`issue #438 <https://github.com/platformio/platformio/issues/438>`_)
|
||||
* Updated Arduino core for Espressif platform to 2.2.0
|
||||
(`issue #627 <https://github.com/platformio/platformio/issues/627>`_)
|
||||
* New boards for `ARM mbed <http://docs.platformio.org/en/latest/frameworks/mbed.html>`__
|
||||
|
@ -33,6 +33,7 @@ Embedded
|
||||
espressif
|
||||
freescalekinetis
|
||||
lattice_ice40
|
||||
microchippic32
|
||||
nordicnrf51
|
||||
nxplpc
|
||||
siliconlabsefm32
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
import sys
|
||||
|
||||
VERSION = (2, 9, "0.dev1")
|
||||
VERSION = (2, 9, "0.dev2")
|
||||
__version__ = ".".join([str(s) for s in VERSION])
|
||||
|
||||
__title__ = "platformio"
|
||||
|
@ -73,10 +73,7 @@ env.Replace(
|
||||
"-mprocessor=$BOARD_MCU",
|
||||
"-mno-peripheral-libs",
|
||||
"-nostartfiles",
|
||||
"-Wl,--gc-sections",
|
||||
"-Wl,--script=chipKIT-application-COMMON%s.ld" % (
|
||||
"-MZ" if "MZ" in env.get("BOARD_OPTIONS", {}).get(
|
||||
"build", {}).get("mcu") else "")
|
||||
"-Wl,--gc-sections"
|
||||
],
|
||||
|
||||
LIBS=["m"],
|
||||
@ -149,7 +146,15 @@ for f in env['LINKFLAGS']:
|
||||
_new_linkflags.append(f)
|
||||
else:
|
||||
_new_linkflags.append("-Wl,--script=%s" % f[6:])
|
||||
|
||||
env.Replace(LINKFLAGS=_new_linkflags)
|
||||
env.Append(
|
||||
LINKFLAGS=[
|
||||
"-Wl,--script=chipKIT-application-COMMON%s.ld" % (
|
||||
"-MZ" if "MZ" in env.get("BOARD_OPTIONS", {}).get(
|
||||
"build", {}).get("mcu") else "")
|
||||
]
|
||||
)
|
||||
|
||||
#
|
||||
# Target: Build the .hex
|
||||
|
Reference in New Issue
Block a user