Skip to content

Commit

Permalink
projects: Add OA files for projects using ADIN1110
Browse files Browse the repository at this point in the history
The OA TC6 SPI files are required to compile the ADIN1110 driver. Add
them to the projects which use the MAC-PHY.

Signed-off-by: Ciprian Regus <[email protected]>
  • Loading branch information
CiprianRegus committed Feb 11, 2025
1 parent 864bd79 commit d93a622
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/adin1110/src.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ SRCS += $(DRIVERS)/api/no_os_gpio.c \

INCS += $(DRIVERS)/net/adin1110/adin1110.h
SRCS += $(DRIVERS)/net/adin1110/adin1110.c

INCS += $(DRIVERS)/net/oa_tc6/oa_tc6.h
SRCS += $(DRIVERS)/net/oa_tc6/oa_tc6.c
6 changes: 6 additions & 0 deletions projects/apard32690/src/examples/examples_src.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ SRCS += $(NO-OS)/util/no_os_crc8.c
INCS += $(INCLUDE)/no_os_crc8.h
INCS += $(DRIVERS)/net/adin1110/adin1110.h

INCS += $(DRIVERS)/net/oa_tc6/oa_tc6.h
SRCS += $(DRIVERS)/net/oa_tc6/oa_tc6.c

SRC_DIRS += $(PROJECT)/src/examples/adin1110_standalone_example
endif

Expand All @@ -20,6 +23,9 @@ SRCS += $(NO-OS)/network/lwip_raw_socket/netdevs/adin1110/lwip_adin1110.c
SRCS += $(DRIVERS)/net/adin1110/adin1110.c
SRCS += $(NO-OS)/util/no_os_crc8.c

INCS += $(DRIVERS)/net/oa_tc6/oa_tc6.h
SRCS += $(DRIVERS)/net/oa_tc6/oa_tc6.c

SRC_DIRS += $(PROJECT)/src/examples/tcp_echo_server_example
endif

Expand Down

0 comments on commit d93a622

Please sign in to comment.