Enabling bluetooth on K64F (Kconfig.defconfig options)
Hi ktoggle quoted messageShow quoted text
Maureen did confirm to me that Bluetooth IPSP sample doesn't work out of the box for FRDM_K64F.
I looked at Kconfig options in Kconfig.defconfig . With simple overriding the defaults in prj.conf and Kconfig.defconfig, it didn't seem to work.
I will test it again to see if I missed something there.
I found instructions on bluetooth with 96b_carbon board, not with frdm_k64f
From: Kumar Gala [mailto:email@example.com]
Sent: Monday, October 23, 2017 12:43 PM
To: Paul Sokolovsky <firstname.lastname@example.org>
Cc: Priyanka Rawat <email@example.com>; firstname.lastname@example.org; Maureen Helm <email@example.com>
Subject: Re: [Zephyr-users] Enabling bluetooth on K64F (Kconfig.defconfig options)
On Oct 23, 2017, at 12:27 PM, Paul Sokolovsky <firstname.lastname@example.org> wrote:I feel like Maureen had written up instructions on bluetooth w/FRDM-K64F, but I can't seem to find them now.
On Oct 23, 2017, at 12:27 PM, Paul Sokolovsky <email@example.com> wrote:I feel like Maureen had written up instructions on bluetooth w/FRDM-K64F, but I can’t seem to find them now.
On Sun, 22 Oct 2017 22:07:24 +0000
Priyanka Rawat <firstname.lastname@example.org> wrote:
The idea of any board defaults is just that - they're the defaults, and
should be overridable by a user. Did you you try to override those
defaults in your prj.conf? If that doesn't work after reasonable effort,
please submit the issue at
https://github.com/zephyrproject-rtos/zephyr/issues/new with detailed
steps and info to reproduce.
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
I want to run samples/bluetooth/ipsp on K64F board.
I 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 ?
/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