Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
b5325caf
Commit
b5325caf
authored
Aug 31, 2014
by
Projects
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefile: Corrected debug flags.
parent
515e5834
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Makefile
sw/freertos/Makefile
+3
-3
No files found.
sw/freertos/Makefile
View file @
b5325caf
...
...
@@ -95,7 +95,7 @@ DEPFLAGS = -MMD -MP -MF $(@:.o=.d)
#
override
CFLAGS
+=
-D
$(DEVICE)
-Wall -Wextra -mcpu=cortex-m3 -mthumb
\
-mfix-cortex-m3-ldrd -ffunction-sections
\
-fdata-sections -fomit-frame-pointer -DGCC_ARMCM3
-DDEBUG_EFM
\
-fdata-sections -fomit-frame-pointer -DGCC_ARMCM3
\
$(DEPFLAGS)
override
ASMFLAGS
+=
-x assembler-with-cpp -D
$(DEVICE)
-Wall -Wextra -mcpu=cortex-m3 -mthumb
...
...
@@ -204,10 +204,10 @@ vpath %.S $(S_PATHS)
# Default build is debug build
all
:
debug
debug
:
CFLAGS += -DDEBUG -O0 -g
debug
:
CFLAGS += -DDEBUG -O0 -g
-DDEBUG_EFM
debug
:
$(EXE_DIR)/$(PROJECTNAME).bin
release
:
CFLAGS += -DNDEBUG -O3
release
:
CFLAGS += -DNDEBUG -O3
release
:
$(EXE_DIR)/$(PROJECTNAME).bin
# Create objects from C SRC files
...
...
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