Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
0886bf46
Commit
0886bf46
authored
Aug 17, 2021
by
Tobias Thyrrestrup
Committed by
Damien George
Aug 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stm32/Makefile: Allow GIT_SUBMODULES and LIBS to be extended.
Signed-off-by:
Tobias Thyrrestrup
<
tt@LEGO.com
>
parent
b352db7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ports/stm32/Makefile
ports/stm32/Makefile
+2
-2
No files found.
ports/stm32/Makefile
View file @
0886bf46
...
...
@@ -34,7 +34,7 @@ MBOOT_TEXT0_ADDR ?= 0x08000000
# include py core make definitions
include
$(TOP)/py/py.mk
GIT_SUBMODULES
=
lib/libhydrogen lib/lwip lib/mbedtls lib/stm32lib
GIT_SUBMODULES
+
=
lib/libhydrogen lib/lwip lib/mbedtls lib/stm32lib
MCU_SERIES_UPPER
=
$(
shell
echo
$(MCU_SERIES)
|
tr
'[:lower:]'
'[:upper:]'
)
CMSIS_MCU_LOWER
=
$(
shell
echo
$(CMSIS_MCU)
|
tr
'[:upper:]'
'[:lower:]'
)
...
...
@@ -130,7 +130,7 @@ endif
LDFLAGS
=
-nostdlib
-L
$(LD_DIR)
$(
addprefix
-T
,
$(LD_FILES)
)
-Map
=
$
(
@:.elf
=
.map
)
--cref
LDFLAGS
+=
--defsym
=
_estack_reserve
=
8
LIBS
=
"
$(
shell
$(CC)
$(CFLAGS)
-print-libgcc-file-name
)
"
LIBS
+
=
"
$(
shell
$(CC)
$(CFLAGS)
-print-libgcc-file-name
)
"
# Remove uncalled code from the final image.
CFLAGS
+=
-fdata-sections
-ffunction-sections
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment