Enabling bluetooth on K64F (Kconfig.defconfig options)


Priyanka
 

Hello 

I want to run samples/bluetooth/ipsp on K64F board.
 
understand that if networking is enabled, FRDM_K64F by default uses Ethernet.
So I should modify Kconfig.defconfig to disable Ethernet and enable Bluetooth.

I add the following to  /boards/arm/frdm_k64f/Kconfig.defconfig 

if NETWORKING

config NET_L2_BT
	default y

config NET_L2_BT_ZEP1656
	default y

endif # NETWORKING

Do I need to modify nxp_kinetis/k6x/Kconfig.defconfig.mk64f12 as well ?

What is the proper clean way to disable NET_L2_ETHERNET and ETH_MCUX and enable Bluetooth ?


Thanks
Priyanka


---------------------

/zephyr-LTI$ sudo minicom -s
 
_v/eth_mcux]BG]et0_init: MAC 00:0:9f:4f:99:b2
[G] eth_0_init: AC:04:9f:b4:c7:1e
[dev/h_mux][DBG] eth_0_init: MAC 00:04:9f:bd:77:e6
[dev/emcx] [DB] e M 0:0ff[dev/etcu [ eth_0_init: MAC 00:04:9f:41:1e:1e
[dev/eth_mcux] [DB] eth_0_init: MC 004:f:4c:4a
[dev/eth_mc h_0_it: M0:4:9f:f:4:5e
[ipsp] [INF] init_app: Run IPSP sample:04:9f:b6:ee:5a
[ipsp] [ERR] get_context: Cannot bind IPv6 mcast (-2)                                 
[ipsp] [ERR] listen: Cannot get network contexts                                      
[dev/eth_mcux] [DBG] eth_0_init: MAC 00:04:9f:c4:5c:b6                                
[dev/eth_mcux] [DBG] eth_0_init: MAC 00:04:9f:bc:b8:3e

Join users@lists.zephyrproject.org to automatically receive all group messages.