Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
b887cdc1
Commit
b887cdc1
authored
Apr 14, 2011
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled tracing
parent
f4bbafea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
board.h
include/board.h
+6
-1
trace.h
include/trace.h
+6
-6
No files found.
include/board.h
View file @
b887cdc1
...
...
@@ -13,7 +13,12 @@
#define UART_BAUDRATE 0
/* not a real UART */
#define GPIO_PIN_LED (0)
#define GPIO_PIN_LED 0
#define GPIO_PIN_SCL_OUT 1
#define GPIO_PIN_SDA_OUT 2
#define GPIO_PIN_SDA_IN 3
#define GPIO_PIN_BTN1 4
#define GPIO_PIN_BTN2 5
static
inline
int
delay
(
int
x
)
{
...
...
include/trace.h
View file @
b887cdc1
//#ifndef __TRACE_H__
//#define __TRACE_H__
#define MSGS_PROTO
1
// PTPWRd/protocol.c
#define MSGS_WRPROTO
1
// PTPWRd/wr_protocol.c
#define MSGS_WRSERVO
1
// PTPWRd/dep/wr_servo.c
#define MSGS_PROTO
0
// PTPWRd/protocol.c
#define MSGS_WRPROTO
0
// PTPWRd/wr_protocol.c
#define MSGS_WRSERVO
0
// PTPWRd/dep/wr_servo.c
#define MSGS_MSG 0 // PTPWRd/dep/msg.c PTPWRd/dep/startup.c
#define MSGS_NET 0 // PTPWRd/dep/net.c
#define MSGS_ERR
1
#define MSGS_ERR
0
#define MSGS_BMC 0 // PTPWRd/bmc.c
#define MSGS_PTPD 0 // PTPWRd/ptpd.c
#define MSGS_WRAPPER
1
// libposix/freestanding_wrapper.c
#define MSGS_WRAPPER
0
// libposix/freestanding_wrapper.c
#define MSGS_DISPLAY 0 // libposix/freestanding_display.c
#define MSGS_DEV
1
// dev/*
#define MSGS_DEV
0
// dev/*
#if MSGS_PROTO
#define TRACE_PROTO(...) mprintf("[PROTO ]: " __VA_ARGS__)
...
...
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