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
2a1a5a5b
Commit
2a1a5a5b
authored
Apr 12, 2022
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ppsi-wrappers.h
parent
1bf74119
Pipeline
#3515
failed with stage
in 17 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
17 deletions
+15
-17
Makefile
Makefile
+1
-3
syscon.c
dev/syscon.c
+1
-1
w1.c
dev/w1.c
+1
-1
endianness.h
include/endianness.h
+3
-0
libsdbfs-freestanding.h
include/libsdbfs-freestanding.h
+0
-1
ppsi-wrappers.h
include/ppsi-wrappers.h
+0
-10
shell.h
include/shell.h
+2
-0
arp.c
lib/arp.c
+1
-0
bootp.c
lib/bootp.c
+1
-0
ipv4.c
lib/ipv4.c
+1
-0
lldp.c
lib/lldp.c
+2
-1
ppsi-wrappers.c
lib/ppsi-wrappers.c
+1
-0
cmd_sdb.c
shell/cmd_sdb.c
+1
-0
No files found.
Makefile
View file @
2a1a5a5b
...
...
@@ -77,10 +77,8 @@ cflags-$(CONFIG_ARCH_LM32) += -Iinclude/std
cflags-$(CONFIG_ARCH_RISCV)
+=
-Iinclude/std
cflags-$(CONFIG_WRPC_PPSI)
+=
\
-include
include/ppsi-wrappers.h
\
-I$(PPSI)/arch-wrpc
\
-I$(PPSI)/proto-ext-whiterabbit
\
-Iboards/spec
-I$(PPSI)/proto-ext-whiterabbit
# in order to build tools/wrpc-dump, we need these flags, even for wrs builds
cflags-y
+=
\
...
...
dev/syscon.c
View file @
2a1a5a5b
...
...
@@ -9,7 +9,7 @@
#include <errno.h>
#include <string.h>
#include "endianness.h"
#include "dev/syscon.h"
#include "pp-printf.h"
#include "dev/gpio.h"
...
...
dev/w1.c
View file @
2a1a5a5b
...
...
@@ -4,7 +4,7 @@
*/
#include <string.h>
#include <dev/w1.h>
#include
<unistd.h>
#include
"dev/syscon.h"
static
const
struct
w1_ops
*
ops
=
&
wrpc_w1_ops
;
/* local shorter name */
...
...
include/endianness.h
View file @
2a1a5a5b
...
...
@@ -10,6 +10,9 @@
#include <arpa/inet.h>
#else
#include <stdint.h>
# if defined CONFIG_ARCH_RISCV
# define __ENDIANNESS_SWAP 1
# elif defined CONFIG_ARCH_LM32
...
...
include/libsdbfs-freestanding.h
View file @
2a1a5a5b
/* Though freestanding, some minimal headers are expected to exist */
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
...
...
include/ppsi-wrappers.h
deleted
100644 → 0
View file @
1bf74119
/*
* This includes stuff that is needed to link ppsi into wrpc-sw
*
* It is included by the command line (-include).
* It is a subset of the older "ptpd-wrappers.h", in ptp-noposix
*/
#include <sys/types.h>
#include <stdlib.h>
#include <stdint.h>
#include <endianness.h>
include/shell.h
View file @
2a1a5a5b
...
...
@@ -6,6 +6,8 @@
#ifndef __SHELL_H
#define __SHELL_H
#include <stdint.h>
#define UI_SHELL_MODE 0
#define UI_GUI_MODE 1
...
...
lib/arp.c
View file @
2a1a5a5b
...
...
@@ -9,6 +9,7 @@
#include <wrc.h>
#include <string.h>
#include "endianness.h"
#include "dev/endpoint.h"
#include "ipv4.h"
#include "ptpd_netif.h"
...
...
lib/bootp.c
View file @
2a1a5a5b
...
...
@@ -8,6 +8,7 @@
*/
#include <string.h>
#include <wrc.h>
#include "endianness.h"
#include "dev/endpoint.h"
#include "ipv4.h"
...
...
lib/ipv4.c
View file @
2a1a5a5b
...
...
@@ -15,6 +15,7 @@
#include "dev/pps_gen.h"
#include "dev/netif.h"
#include "hw/etherbone-config.h"
#include "endianness.h"
#include "wrc_ptp.h"
#include "wrc_global.h"
...
...
lib/lldp.c
View file @
2a1a5a5b
...
...
@@ -13,7 +13,8 @@
*/
#include <string.h>
#include <stdint.h>
#include "endianness.h"
#include "wrc.h"
#include "revision.h"
#include "ptpd_netif.h"
...
...
lib/ppsi-wrappers.c
View file @
2a1a5a5b
...
...
@@ -8,6 +8,7 @@
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdint.h>
#include <stddef.h>
#include <libwr/hal_shmem.h>
#include <libwr/shmem.h>
#include <wrc_ptp.h>
...
...
shell/cmd_sdb.c
View file @
2a1a5a5b
...
...
@@ -11,6 +11,7 @@
#include "dev/syscon.h"
#include "storage.h"
#include <dev/flash.h>
#include "util.h"
/*
* args[1] - where to write sdbfs image (0 - Flash, 1 - I2C EEPROM,
...
...
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