summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-27 09:30:41 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-27 09:30:41 -0600
commite8410ddb25e9f03d48928e1c9686a740303d9d45 (patch)
treee3e319d20ebb979203b04ed04f3593d91701ae75 /apps
parent4120657cd331cbfd29ac9d6b0f2b76cad7d72cd4 (diff)
downloadpx4-nuttx-e8410ddb25e9f03d48928e1c9686a740303d9d45.tar.gz
px4-nuttx-e8410ddb25e9f03d48928e1c9686a740303d9d45.tar.bz2
px4-nuttx-e8410ddb25e9f03d48928e1c9686a740303d9d45.zip
Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo
Diffstat (limited to 'apps')
-rw-r--r--apps/examples/Makefile1
-rw-r--r--apps/system/Kconfig4
-rw-r--r--apps/system/Make.defs4
-rw-r--r--apps/system/Makefile1
4 files changed, 9 insertions, 1 deletions
diff --git a/apps/examples/Makefile b/apps/examples/Makefile
index 547e3004a..a4bca7dfe 100644
--- a/apps/examples/Makefile
+++ b/apps/examples/Makefile
@@ -86,4 +86,3 @@ clean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_clean)
distclean: $(foreach SDIR, $(SUBDIRS), $(SDIR)_distclean)
-include Make.dep
-
diff --git a/apps/system/Kconfig b/apps/system/Kconfig
index 382ef3476..ed16af860 100644
--- a/apps/system/Kconfig
+++ b/apps/system/Kconfig
@@ -47,6 +47,10 @@ menu "P-Code Support"
source "$APPSDIR/system/prun/Kconfig"
endmenu
+menu "PHY Tool"
+source "$APPSDIR/system/mdio/Kconfig"
+endmenu
+
menu "Power Off"
source "$APPSDIR/system/poweroff/Kconfig"
endmenu
diff --git a/apps/system/Make.defs b/apps/system/Make.defs
index 44c584252..bdfde4503 100644
--- a/apps/system/Make.defs
+++ b/apps/system/Make.defs
@@ -74,6 +74,10 @@ ifeq ($(CONFIG_SYSTEM_PRUN),y)
CONFIGURED_APPS += system/prun
endif
+ifeq ($(CONFIG_SYSTEM_MDIO),y)
+CONFIGURED_APPS += system/mdio
+endif
+
ifeq ($(CONFIG_SYSTEM_RAMTEST),y)
CONFIGURED_APPS += system/ramtest
endif
diff --git a/apps/system/Makefile b/apps/system/Makefile
index c39cfae9f..ed7b64dff 100644
--- a/apps/system/Makefile
+++ b/apps/system/Makefile
@@ -40,6 +40,7 @@
SUBDIRS = cdcacm cle composite flash_eraseall free i2c hex2bin inifile
SUBDIRS += install nxplayer poweroff ramtest ramtron readline sdcard
SUBDIRS += stackmonitor sysinfo usbmonitor usbmsc vi zmodem
+SUBDIRS += mdio
# Create the list of installed runtime modules (INSTALLED_DIRS)