-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
63 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2020-present PlatformIO <[email protected]> | ||
# Copyright 2014-present PlatformIO <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -21,7 +21,12 @@ | |
env = DefaultEnvironment() | ||
|
||
env.Append( | ||
ASFLAGS=["-x", "assembler-with-cpp"], | ||
ASFLAGS=[ | ||
"-mthumb", | ||
], | ||
ASPPFLAGS=[ | ||
"-x", "assembler-with-cpp", | ||
], | ||
|
||
CCFLAGS=[ | ||
"-Os", # optimize for size | ||
|
@@ -54,13 +59,13 @@ | |
|
||
if "BOARD" in env: | ||
env.Append( | ||
ASFLAGS=[ | ||
"-mcpu=%s" % env.BoardConfig().get("build.cpu") | ||
], | ||
CCFLAGS=[ | ||
"-mcpu=%s" % env.BoardConfig().get("build.cpu") | ||
], | ||
LINKFLAGS=[ | ||
"-mcpu=%s" % env.BoardConfig().get("build.cpu") | ||
] | ||
) | ||
|
||
# copy CCFLAGS to ASFLAGS (-x assembler-with-cpp mode) | ||
env.Append(ASFLAGS=env.get("CCFLAGS", [])[:]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.