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
39631bc3
Commit
39631bc3
authored
Jan 30, 2014
by
Damien George
Browse files
Fix Makefiles: -O3 option was not being applied; mkdir for STM.
parent
09a0c64b
Changes
2
Hide whitespace changes
Inline
Side-by-side
py/py.mk
View file @
39631bc3
...
...
@@ -101,8 +101,8 @@ $(PY_BUILD)/emitnthumb.o: py/emitnative.c
$(
call
compile_c
)
# optimising gc for speed; 5ms down to 4ms on pybv2
$(PY_BUILD)gc.o
:
CFLAGS += -O3
$(PY_BUILD)
/
gc.o
:
CFLAGS += -O3
# optimising vm for speed, adds only a small amount to code size but makes a huge difference to speed (20% faster)
$(PY_BUILD)vm.o
:
CFLAGS += -O3
$(PY_BUILD)
/
vm.o
:
CFLAGS += -O3
stm/Makefile
View file @
39631bc3
...
...
@@ -151,7 +151,7 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_STMUSBD:.c=.o))
OBJ
+=
$(
addprefix
$(BUILD)
/,
$(SRC_FATFS:.c=.o)
)
#OBJ += $(addprefix $(BUILD)/, $(SRC_CC3K:.c=.o))
all
:
$(BUILD)
$(BUILD)/flash.dfu
all
:
$(BUILD)/flash.dfu
$(BUILD)/flash.dfu
:
$(BUILD)/flash0.bin $(BUILD)/flash1.bin
$(ECHO)
"Create
$@
"
...
...
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