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
29
Issues
29
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
b99cabe8
Commit
b99cabe8
authored
Nov 18, 2020
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boards/ertm14: initial version of UART control link working.
parent
f4fa9aac
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
94 deletions
+98
-94
board.c
boards/ertm14/board.c
+90
-91
board.h
boards/ertm14/board.h
+8
-3
No files found.
boards/ertm14/board.c
View file @
b99cabe8
This diff is collapsed.
Click to expand it.
boards/ertm14/board.h
View file @
b99cabe8
...
...
@@ -86,7 +86,8 @@ extern unsigned char *BASE_EP;
#define BASE_EP 0x40100
#define BASE_MINIC 0x40000
#define BASE_ONEWIRE 0x40600
#define BASE_IUART_14 (BASE_AUXWB + 0x200)
#define BASE_MMC_UART_14 (BASE_AUXWB + 0x200)
#define BASE_MMC_UART_15 (BASE_AUXWB + 0x700)
#define BASE_ERTM14_DDS_SYNC_UNIT (BASE_AUXWB + 0x300)
#define BASE_CLOCK_MONITOR (BASE_AUXWB + 0x100)
#define BASE_ERTM14_10MHZ_ALIGN_UNIT (BASE_AUXWB + 0x400)
...
...
@@ -151,6 +152,7 @@ extern unsigned char *BASE_EP;
#define ERTM14_UART_PTYPE_PING 1
#define ERTM14_UART_PTYPE_SNMP_REQ 2
#define ERTM14_UART_PTYPE_SNMP_RESP 3
#define ERTM14_UART_PTYPE_MMC_STATUS_REQ 4
struct
ertm14_board
{
...
...
@@ -181,10 +183,13 @@ struct ertm14_board
struct
i2c_bus
i2c_mac_addr
;
struct
m24aa025_device
m24_mac_ids
[
2
];
struct
fine_pulse_gen_device
dds_sync_dev
;
struct
iuart_device
iuart_14
;
struct
wr_rf_frame_transceiver_device
rf_xcvr
;
struct
gpio_device
gpio_ertm15_leds
;
struct
uart_link
control_uart
;
struct
uart_link
control_uart_link
;
struct
simple_uart_device
mmc_14_uart
;
struct
simple_uart_device
mmc_15_uart
;
struct
uart_link
mmc_14_link
;
struct
uart_link
mmc_15_link
;
int
mode
;
int
dds_resync_count
;
...
...
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