Re: zephyr question
Carles Cufi
Hi there,
I just tried this but instead of using menuconfig I changed my prj.conf like this:
diff --git a/samples/bluetooth/peripheral_hr/prj.conf b/samples/bluetooth/peripheral_hr/prj.conf index 08ebfd7e4..77e989c84 100644 --- a/samples/bluetooth/peripheral_hr/prj.conf +++ b/samples/bluetooth/peripheral_hr/prj.conf @@ -4,3 +4,6 @@ CONFIG_BT_SMP=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEVICE_NAME="Zephyr Heartrate Sensor" CONFIG_BT_DEVICE_APPEARANCE=833 + +CONFIG_SERIAL=n +CONFIG_UART_CONSOLE=n
With this I ran samples/bluetooth/peripheral_hr 5 times on a PCA10040 and tested it (connecting with an iPhone running LightBlue) and had no issues at all.
Which Zephyr version are you using? I tried the latest master.
Regards,
Carles
From: devel@... <devel@...>
On Behalf Of Hsu, Hanyu
Sent: 26 June 2018 16:29 To: zephyr-devel@... Cc: Dunk Chen <dunk.chen@...>; Bochang Lian (連柏蒼) (bochang_lian@...) <bochang_lian@...> Subject: [Zephyr-devel] zephyr question
Hi Sir,
We occurred some question when we use zephyr in nRF52832.
We found there were some chips cannot boot-up w/ Zephyr sample code (disable UART), but can boot up well w/ Nordic original sample code (ble_app_hrs). But if we enabled the UART function of Zephyr sample code, the failure chip can boot up well.
Below is our test environment and procedure.
For attached file, - peripheral_hr_uart: The board configuration of PCA10040 in Zephy. - peripheral_hr_no_uart: The board configuration of Nordic PCA1004. Disable UART through “menuconfig”
1) make BOARD=nrf52_pca10040 menuconfig 2) Disable ‘Console drivers', 'Serial Drivers': Enter path “Device Drivers” 3) make BOARD=nrf52_pca10040 -> for the firmware of “peripheral_hr_no_uart”
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|