mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Add logic to enable DEBUG_NET if NET=n but WL_CC3000=y
This commit is contained in:
@@ -5850,4 +5850,8 @@
|
|||||||
(2013-10-23).
|
(2013-10-23).
|
||||||
* include/nuttx/wireless/cc3000: More CC3000 driver updates from David
|
* include/nuttx/wireless/cc3000: More CC3000 driver updates from David
|
||||||
Sidrane (2013-10-23).
|
Sidrane (2013-10-23).
|
||||||
|
* net/Kconfig, drivers/net/wireless/cc3000/Kconfig, and Kconfig: Add
|
||||||
|
ARCH_HAVE_NET that determines if a network is present or not. This
|
||||||
|
currently can happen if CONFIG_NET is set or if CONFIG_WL_CC3000 is
|
||||||
|
is set (23013-10-23).
|
||||||
|
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ config DEBUG_PAGING
|
|||||||
config DEBUG_NET
|
config DEBUG_NET
|
||||||
bool "Network Debug Output"
|
bool "Network Debug Output"
|
||||||
default n
|
default n
|
||||||
depends on NET
|
depends on ARCH_HAVE_NET
|
||||||
---help---
|
---help---
|
||||||
Enable network debug SYSLOG output (disabled by default)
|
Enable network debug SYSLOG output (disabled by default)
|
||||||
|
|
||||||
|
|||||||
@@ -716,7 +716,7 @@ CAN Usage
|
|||||||
common.
|
common.
|
||||||
|
|
||||||
+----------+ RJ-11 DB-9
|
+----------+ RJ-11 DB-9
|
||||||
| O | ----------- --------------
|
| O | ----------- --------------
|
||||||
+------------+ | | Pin 1 3v3 Pin 1 N/C
|
+------------+ | | Pin 1 3v3 Pin 1 N/C
|
||||||
| +--+ | | o5 | Pin 2 5v Pin 2 CANL
|
| +--+ | | o5 | Pin 2 5v Pin 2 CANL
|
||||||
| | | | | o9 | Pin 3 N/C Pin 3 GND
|
| | | | | o9 | Pin 3 N/C Pin 3 GND
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ config WL_CC3000
|
|||||||
bool "CC3000 Wireless Module"
|
bool "CC3000 Wireless Module"
|
||||||
default n
|
default n
|
||||||
select SPI
|
select SPI
|
||||||
|
select ARCH_HAVE_NET
|
||||||
---help---
|
---help---
|
||||||
Enable support for the TI CC3000 Wifi Module
|
Enable support for the TI CC3000 Wifi Module
|
||||||
|
|
||||||
|
|||||||
+10
-4
@@ -3,14 +3,20 @@
|
|||||||
# see misc/tools/kconfig-language.txt.
|
# see misc/tools/kconfig-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
config NET
|
config ARCH_HAVE_NET
|
||||||
bool "Networking support"
|
bool
|
||||||
default n
|
default n
|
||||||
---help---
|
|
||||||
Enable or disable all network features
|
|
||||||
|
|
||||||
config ARCH_HAVE_PHY
|
config ARCH_HAVE_PHY
|
||||||
bool
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
|
config NET
|
||||||
|
bool "Networking support"
|
||||||
|
default n
|
||||||
|
select ARCH_HAVE_NET
|
||||||
|
---help---
|
||||||
|
Enable or disable all network features
|
||||||
|
|
||||||
if NET
|
if NET
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user