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
b50250d4
Commit
b50250d4
authored
Nov 26, 2019
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ertm14: drop board-specific #ifdefs in favor of run-time configuration
parent
39739f7b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
121 additions
and
50 deletions
+121
-50
ertm14.c
ertm14.c
+115
-50
board-ertm14.h
include/board-ertm14.h
+6
-0
No files found.
ertm14.c
View file @
b50250d4
This diff is collapsed.
Click to expand it.
include/board-ertm14.h
View file @
b50250d4
...
...
@@ -101,6 +101,10 @@ int board_update(void);
// #define ERTM14_CALIBRATION_DEBUG 1
#define ERTM14_MODE_WITHOUT_ERTM15 (1 << 0)
#define ERTM14_MODE_OCXO_10MHZ (1 << 1)
#define ERTM14_MODE_OCXO_100MHZ (1 << 2)
struct
ertm14_board
{
struct
gpio_device
gpio_aux
;
...
...
@@ -131,6 +135,8 @@ struct ertm14_board
struct
m24aa025_device
m24_mac_ids
[
2
];
struct
dds_sync_unit_device
dds_sync_dev
;
struct
iuart_device
iuart_14
;
int
mode
;
};
struct
ertm14_dds_config
...
...
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