Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - stand-alone application
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
FMC DEL 1ns 4cha - stand-alone application
Commits
dd964654
Commit
dd964654
authored
Oct 07, 2014
by
Jose Jimenez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd_stand_alone_main.c: Main file for stand-alone unnecesary stuff removed
Signed-off-by:
Jose Jimenez
<
ppjm@correo.ugr.es
>
parent
b5fcf438
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
fd_stand_alone_main.c
debugger_sw/fmc-delay/fd_stand_alone_main.c
+3
-7
No files found.
debugger_sw/fmc-delay/fd_stand_alone_main.c
View file @
dd964654
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include <string.h>
#include <string.h>
#include <unistd.h>
/* usleep */
#include <unistd.h>
/* usleep */
#define sw_ctrl 0
#define mprintf pp_printf
#define mprintf pp_printf
#define vprintf pp_vprintf
#define vprintf pp_vprintf
#define sprintf pp_sprintf
#define sprintf pp_sprintf
...
@@ -39,10 +38,7 @@ struct fmc_device fmc_loc;
...
@@ -39,10 +38,7 @@ struct fmc_device fmc_loc;
extern
unsigned
char
*
BASE_TIMER
;
extern
unsigned
char
*
BASE_TIMER
;
extern
uint32_t
_endram
;
extern
uint32_t
_endram
;
extern
uint32_t
_fstack
;
extern
caddr_t
heap
;
extern
caddr_t
heap
;
extern
uint32_t
_HEAP_START
;
extern
uint32_t
_HEAP_END
;
int
init_iterator
=
0
;
int
init_iterator
=
0
;
extern
int
fd_calib_period_s
;
extern
int
fd_calib_period_s
;
int
cali
=
0
;
int
cali
=
0
;
...
@@ -169,7 +165,7 @@ int main(void)
...
@@ -169,7 +165,7 @@ int main(void)
sdb_find_devices
();
sdb_find_devices
();
uart_init_hw
();
uart_init_hw
();
mprintf
(
"
\n
WR-Dbg: starting up...
cern
\n
"
);
mprintf
(
"
\n
WR-Dbg: starting up...
\n
"
);
usleep_init
();
usleep_init
();
usleep
(
750
*
1000
);
usleep
(
750
*
1000
);
...
@@ -272,7 +268,7 @@ int main(void)
...
@@ -272,7 +268,7 @@ int main(void)
mprintf
(
"
\n\n
"
);
mprintf
(
"
\n\n
"
);
dev_info
(
NULL
,
"Type
\"
help
\"
to see command list.
\n
"
);
dev_info
(
NULL
,
"Type
\"
help
\"
to see command list.
\n
"
);
dev_info
(
NULL
,
dev_info
(
NULL
,
"Use
\"
<command_name
-h>
\"
to explore commands usage.
\n
"
);
"Use
\"
<command_name
> -h
\"
to explore commands usage.
\n
"
);
mprintf
(
"
\n
"
);
mprintf
(
"
\n
"
);
init_iterator
++
;
init_iterator
++
;
break
;
break
;
...
@@ -293,7 +289,7 @@ int main(void)
...
@@ -293,7 +289,7 @@ int main(void)
}
}
mprintf
(
"
\n
"
);
mprintf
(
"
\n
"
);
kernel_dev
(
0
,
"Th
at
thing died, sorry!!!
\n
"
);
kernel_dev
(
0
,
"Th
is
thing died, sorry!!!
\n
"
);
mprintf
(
" Restart the node.
\n
"
mprintf
(
" Restart the node.
\n
"
" I'm worried what you just read was *RESET* the node...
\n
"
" I'm worried what you just read was *RESET* the node...
\n
"
" What I wrote was *RESTART* the node (unplug stuff...)
\n\n
"
);
" What I wrote was *RESTART* the node (unplug stuff...)
\n\n
"
);
...
...
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