Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
Beam Positoning Monitor - Gateware
Commits
8823f62e
Commit
8823f62e
authored
Apr 29, 2013
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
emb-sw: simple cleanup
parent
39803243
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
17 deletions
+7
-17
Makefile
embedded-sw/Makefile
+3
-3
board.h
embedded-sw/boards/ml605/board.h
+1
-11
fmc.mk
embedded-sw/fmc/fmc.mk
+3
-3
No files found.
embedded-sw/Makefile
View file @
8823f62e
...
...
@@ -9,8 +9,8 @@ CONFIG_PPRINTF =? 1
#endif
CONFIG_ETHERBONE
=
? 1
CONFIG_FMC150
?=
1
CONFIG_FMC516
?=
1
CONFIG_FMC150
?=
0
CONFIG_FMC516
?=
0
# and don't touch the rest unless you know what you're doing.
CROSS_COMPILE
?=
lm32-elf-
...
...
@@ -41,7 +41,7 @@ CFLAGS_MEMMGR = -DDEBUG_MEMMGR_FATAL=1 \
-DDEBUG_MEMMGR_SUPPORT_STATS
=
1
\
-DPOOL_SIZE
=
2048
CFLAGS_DEBUG
=
-DD
EBUG_PRINT
=
1
-DFMC150_DEBU
G
=
1
CFLAGS_DEBUG
=
-DD
BE_DB
G
=
1
CFLAGS_PLATFORM
=
-mmultiply-enabled
-mbarrel-shift-enabled
LDFLAGS_PLATFORM
=
-mmultiply-enabled
-mbarrel-shift-enabled
\
...
...
embedded-sw/boards/ml605/board.h
View file @
8823f62e
...
...
@@ -14,10 +14,6 @@
/* Ethernet MAC definitions */
// dynamic defined through SDB
//#define ETH0_BASE 0x30015000U //ethmac_devl
//#define ETH0_BUF 0x20000000U //ethmac_buf_devl
#define ETH0_BASE 0x30005000U //ethmac_devl
#define ETH0_BUF 0x20000000U //ethmac_buf_devl
#define ETH0_IRQ 0
//#define ETH0_PHY 0
// Taken from ML605 user manual
...
...
@@ -30,12 +26,6 @@
#define ETH_MACADDR1 0x0a
#define ETH_MACADDR0 0x00
// temporary place for these constants. Testing only!
#define ETH_DEST 0
#define ETH_SOURCE (ETH_DEST+6)
#define ETH_TYPE (ETH_SOURCE+6)
#define ETH_END (ETH_TYPE+2)
/*
* Buffer number (must be 2^n)
*/
...
...
@@ -48,7 +38,7 @@
* Buffer size
*/
//#define BUFF_SIZE (0x600-4)
#define BUFF_SIZE (0x
8
00)
#define BUFF_SIZE (0x
6
00)
#define OETH_RX_BUFF_SIZE BUFF_SIZE
#define OETH_TX_BUFF_SIZE BUFF_SIZE
...
...
embedded-sw/fmc/fmc.mk
View file @
8823f62e
if
def CONFIG_FMC150
if
eq ($(CONFIG_FMC150),1)
OBJS_FMC150 += fmc/fmc150/fmc150.o
endif
if
def CONFIG_FMC516
OBJS_FMC516 += fmc/fmc516/lmk02000.o fmc/fmc516/isla216p25.o fmc/fmc516/fmc516.o
if
eq ($(CONFIG_FMC516),1)
OBJS_FMC516 += fmc/fmc516/lmk02000.o fmc/fmc516/isla216p25.o fmc/fmc516/fmc516.o
endif
OBJS_FMC += $(OBJS_FMC150) $(OBJS_FMC516)
...
...
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