Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
13aa0ffe
Commit
13aa0ffe
authored
9 years ago
by
Hauke Petersen
Browse files
Options
Downloads
Patches
Plain Diff
boards/z1: Makefile cleanup
parent
515d325c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
boards/z1/Makefile.dep
+0
-1
0 additions, 1 deletion
boards/z1/Makefile.dep
boards/z1/Makefile.include
+12
-24
12 additions, 24 deletions
boards/z1/Makefile.include
with
12 additions
and
25 deletions
boards/z1/Makefile.dep
deleted
100644 → 0
+
0
−
1
View file @
515d325c
USEMODULE
+=
msp430_common
This diff is collapsed.
Click to expand it.
boards/z1/Makefile.include
+
12
−
24
View file @
13aa0ffe
include
$(RIOTBOARD)/$(BOARD)/Makefile.dep
## the cpu to build for
# CPU used by this board
export
CPU
=
msp430fxyz
export
MCU
=
msp430f2617
export
CPU_MODEL
=
msp430f2617
# toolchain config
export
PREFIX
=
msp430-
export
CC
=
$(
PREFIX
)
gcc
export
AR
=
$(
PREFIX
)
ar
export
CFLAGS
+=
-std
=
c99
-Wstrict-prototypes
-gdwarf-2
-Os
-Wall
-mmcu
=
$(
MCU
)
export
ASFLAGS
+=
-mmcu
=
$(
MCU
)
--defsym
$(
MCU
)
=
1
--gdwarf-2
export
AS
=
$(
PREFIX
)
as
export
LINK
=
$(
PREFIX
)
gcc
export
SIZE
=
$(
PREFIX
)
size
export
OBJCOPY
=
$(
PREFIX
)
objcopy
export
LINKFLAGS
+=
-mmcu
=
$(
MCU
)
-lgcc
$(
BINDIR
)
msp430_common/startup.o
export
TERMPROG
=
$(
RIOTBASE
)
/dist/tools/pyterm/pyterm
export
FLASHER
=
$(
RIOTBASE
)
/dist/tools/goodfet/goodfet.bsl
export
FFLAGS
=
--z1
-I
-c
$(
PORT
)
-r
-e
-p
$(
HEXFILE
)
export
OFLAGS
=
-O
ihex
export
PORT_LINUX
?=
/dev/ttyUSB0
export
PORT_DARWIN
?=
/dev/tty.SLAB_USBtoUART
# set default port depending on operating system
PORT_LINUX
?=
/dev/ttyUSB0
PORT_DARWIN
?=
$(
shell
ls
-1
/dev/tty.SLAB_USBtoUART
*
|
head
-n
1
)
# setup serial terminal
include
$(RIOTBOARD)/Makefile.include.serial
export
INCLUDES
+=
-I
$(
RIOTCPU
)
/
$(
CPU
)
/include/
-I
$(
RIOTBOARD
)
/
$(
BOARD
)
/include/
export
INCLUDES
+=
-I
$(
RIOTCPU
)
/msp430-common/include
# setup flash tool
export
OFLAGS
=
-O
ihex
export
FLASHER
=
$(
RIOTBASE
)
/dist/tools/goodfet/goodfet.bsl
export
FFLAGS
=
--z1
-I
-c
$(
PORT
)
-r
-e
-p
$(
HEXFILE
)
export
UNDEF
+=
$(
BINDIR
)
msp430_common/startup.o
# include the msp430 common Makefile
include
$(RIOTBOARD)/Makefile.include.msp430_common
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment