Date
1 - 4 of 4
Enabling bluetooth on K64F (Kconfig.defconfig options)
Priyanka
Hello
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 ?
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
|
|
Paul Sokolovsky
Hello Priyanka,
On Sun, 22 Oct 2017 22:07:24 +0000 Priyanka Rawat <priyanka.rawat@...> wrote: Hello[] 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. [] -- Best Regards, Paul 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
|
|
Kumar Gala
On Oct 23, 2017, at 12:27 PM, Paul Sokolovsky <paul.sokolovsky@...> wrote:I feel like Maureen had written up instructions on bluetooth w/FRDM-K64F, but I can’t seem to find them now. - k
|
|
Priyanka
Hi k
toggle 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 https://github.com/zephyrproject-rtos/zephyr/pull/1169 Thanks Priyanka
-----Original Message-----
From: Kumar Gala [mailto:kumar.gala@...] Sent: Monday, October 23, 2017 12:43 PM To: Paul Sokolovsky <paul.sokolovsky@...> Cc: Priyanka Rawat <priyanka.rawat@...>; zephyr-users@...; Maureen Helm <maureen.helm@...> Subject: Re: [Zephyr-users] Enabling bluetooth on K64F (Kconfig.defconfig options) On Oct 23, 2017, at 12:27 PM, Paul Sokolovsky <paul.sokolovsky@...> wrote:I feel like Maureen had written up instructions on bluetooth w/FRDM-K64F, but I can't seem to find them now. - k
|
|