Skip to content

Commit

Permalink
updated clearcore config
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwasp committed Aug 25, 2023
1 parent 3b20918 commit 226a81b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions builder/frameworks/arduino/arduino-samd.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,15 @@
CLEARCORE_BASE_DIR = platform.get_package_dir("framework-arduino-samd-clearcore")
CLEARCORE_LIB_DIR = os.path.join(CLEARCORE_BASE_DIR, "Teknic")

env.Append(

env.Prepend(
CPPPATH=[
os.path.join(CLEARCORE_BASE_DIR, "variants", "clearcore", "ThirdParty", "SAME53", "CMSIS", "Device", "Include"),
]
)

env.Append(
CPPPATH=[
os.path.join(CLEARCORE_BASE_DIR, "cores", "arduino", "api"),
os.path.join(CLEARCORE_BASE_DIR, "cores", "arduino"),
os.path.join(CLEARCORE_BASE_DIR, "variants", "clearcore"),
Expand All @@ -199,8 +205,7 @@

LIBS=[
"ClearCore",
"LwIP",
"arm_cortexM4lf_math"
"LwIP"
]
)

Expand Down
2 changes: 1 addition & 1 deletion platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def configure_default_packages(self, variables, targets):
if build_core in ("adafruit", "seeed"):
self.packages["framework-cmsis"]["version"] = "~2.50400.0"
if build_core == "clearcore":
self.packages["framework-cmsis"]["version"] = "~2.50700"
self.packages["framework-cmsis"]["version"] = "~1.40500.0"

if (
board.get("build.core", "") in ("adafruit", "seeed", "sparkfun")
Expand Down

0 comments on commit 226a81b

Please sign in to comment.