Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
b0851e59
Commit
b0851e59
authored
Jun 18, 2014
by
Damien George
Browse files
Merge pull request #700 from swegener/for-upstream
bare-arm, stmhal: Disable stack protector
parents
720f55cc
c3cabf4e
Changes
3
Hide whitespace changes
Inline
Side-by-side
bare-arm/Makefile
View file @
b0851e59
...
...
@@ -13,7 +13,7 @@ INC += -I$(PY_SRC)
INC
+=
-I
$(BUILD)
CFLAGS_CORTEX_M4
=
-mthumb
-mtune
=
cortex-m4
-mabi
=
aapcs-linux
-mcpu
=
cortex-m4
-mfpu
=
fpv4-sp-d16
-mfloat-abi
=
hard
-fsingle-precision-constant
-Wdouble-promotion
CFLAGS
=
$(INC)
-Wall
-Werror
-ansi
-std
=
gnu99
$(CFLAGS_CORTEX_M4)
$(COPT)
CFLAGS
=
$(INC)
-Wall
-Werror
-ansi
-std
=
gnu99
-nostdlib
$(CFLAGS_CORTEX_M4)
$(COPT)
#Debugging/Optimization
ifeq
($(DEBUG), 1)
...
...
@@ -22,7 +22,7 @@ else
CFLAGS
+=
-Os
-DNDEBUG
endif
LDFLAGS
=
-
-nostdlib
-T
stm32f405.ld
LDFLAGS
=
-nostdlib
-T
stm32f405.ld
LIBS
=
SRC_C
=
\
...
...
stmhal/Makefile
View file @
b0851e59
...
...
@@ -41,7 +41,7 @@ INC += -I$(FATFS_DIR)/src
INC
+=
-I
$(CC3K_DIR)
CFLAGS_CORTEX_M4
=
-mthumb
-mtune
=
cortex-m4
-mabi
=
aapcs-linux
-mcpu
=
cortex-m4
-mfpu
=
fpv4-sp-d16
-mfloat-abi
=
hard
-fsingle-precision-constant
-Wdouble-promotion
CFLAGS
=
$(INC)
-Wall
-Werror
-ansi
-std
=
gnu99
$(CFLAGS_CORTEX_M4)
$(COPT)
CFLAGS
=
$(INC)
-Wall
-Werror
-ansi
-std
=
gnu99
-nostdlib
$(CFLAGS_CORTEX_M4)
$(COPT)
CFLAGS
+=
-Iboards
/
$(BOARD)
...
...
@@ -53,7 +53,7 @@ else
COPT
+=
-Os
-DNDEBUG
endif
LDFLAGS
=
-
-nostdlib
-T
stm32f405.ld
-Map
=
$
(
@:.elf
=
.map
)
--cref
LDFLAGS
=
-nostdlib
-T
stm32f405.ld
-Map
=
$
(
@:.elf
=
.map
)
--cref
LIBS
=
# uncomment this if you want libgcc
...
...
teensy/Makefile
View file @
b0851e59
...
...
@@ -23,7 +23,7 @@ INC += -I$(PY_SRC)
INC
+=
-I
$(BUILD)
INC
+=
-I
$(CORE_PATH)
CFLAGS
=
$(INC)
-Wall
-ansi
-std
=
gnu99
$(CFLAGS_CORTEX_M4)
CFLAGS
=
$(INC)
-Wall
-ansi
-std
=
gnu99
-nostdlib
$(CFLAGS_CORTEX_M4)
LDFLAGS
=
-nostdlib
-T
mk20dx256.ld
LIBS
=
-L
$(COMPILER_PATH)
/../lib/gcc/arm-none-eabi/4.7.2/thumb2
-lgcc
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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