Skip to content

Commit 60ac983

Browse files
HBuczynskiHBuczynski
HBuczynski
authored andcommitted
i2c/zynq7000: add i2c driver
PP-123
1 parent 02cb048 commit 60ac983

File tree

4 files changed

+666
-0
lines changed

4 files changed

+666
-0
lines changed

_targets/Makefile.armv7a9-zynq7000

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
DEFAULT_COMPONENTS := zynq7000-uart uart16550 zynq7000-pwm zynq7000-xgpio zynq7000-spi zynq7000-xspi zynq7000-gpio
1010
DEFAULT_COMPONENTS += libflashdrv-zynq zynq7000-flash test_flashdrv libspi-msg libzynq7000-gpio-msg
1111
DEFAULT_COMPONENTS += libsensors sensors
12+
DEFAULT_COMPONENTS += zynq7000-i2c

i2c/zynq-7000/Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Makefile for Phoenix-RTOS zynq7000-i2c driver
3+
#
4+
# Copyright 2022 Phoenix Systems
5+
#
6+
7+
NAME := libzynq7000-i2c
8+
LOCAL_SRCS := libzynq7000-i2c.c
9+
DEPS := i2c-common
10+
# no install headers as we're implementing generic interface only
11+
include $(static-lib.mk)
12+
13+
14+
NAME := zynq7000-i2c
15+
LOCAL_SRCS := zynq7000-i2c.c
16+
DEP_LIBS := libzynq7000-i2c
17+
DEPS := i2c-common
18+
include $(binary.mk)

0 commit comments

Comments
 (0)