We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 280553b commit 9fce4a3Copy full SHA for 9fce4a3
builder/frameworks/_bare.py
@@ -21,7 +21,12 @@
21
env = DefaultEnvironment()
22
23
env.Append(
24
- ASPPFLAGS=["-x", "assembler-with-cpp"],
+ ASFLAGS=[
25
+ "-mthumb",
26
+ ],
27
+ ASPPFLAGS=[
28
+ "-x", "assembler-with-cpp",
29
30
31
CCFLAGS=[
32
"-Os", # optimize for size
@@ -51,6 +56,9 @@
51
56
52
57
if "BOARD" in env:
53
58
59
60
+ "-mcpu=%s" % env.BoardConfig().get("build.cpu")
61
54
62
55
63
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
64
],
0 commit comments