Upcoming Event: Zephyr Project: APIs - Tue, 06/18/2019 9:00am-10:00am, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: APIs When: Tuesday, 18 June 2019, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles Where:https://zoom.us/j/177647878 An RSVP is requested. Click here to RSVP Organizer: devel@... Description: Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/177647878 Live meeting minutes: https://docs.google.com/
|
|
API meeting: Agenda
Carles Cufi
Agenda:
- New proposal: Video for Zephyr API - Sensor API: Update on progress - GPIO: Update on progress Additional items in the "Triage" column in the GitHub project may be discussed if time permits. If you want an item included in the meeting, please add it to the GitHub project. https://github.com/zephyrproject-rtos/zephyr/wiki/Zephyr-Committee-and-Working-Group-Meetings#zephyr-api-discussion https://github.com/zephyrproject-rtos/zephyr/projects/18 https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
Re: Callback on DNS added/removed
lairdjm
Also I see on https://docs.zephyrproject.org/latest/reference/networking/net_mgmt.html?highlight=net_mgmt_init_event_callback that net_mgmt_init_event_callback() specifies it takes a bitmask of events for combining them into a single event but I am unable to get this working, NET_EVENT_IPV4_ADDR_ADD works and I get the callback but (NET_EVENT_IF_UP | NET_EVENT_IPV4_ADDR_ADD) doesn’t seem to give me a callback at all.
|
|
Callback on DNS added/removed
lairdjm
Hi, There currently doesn’t seem to be any hooks in Zephyr for getting a callback when a DNS server is added or removed which would be useful for on systems where setting up DNS takes longer than it takes to add a network interface, so there is the potential for a network interface to be added, a callback to be sent to the user application and a TCP connection attempt before DNS is added – is there a way to get a notification when DNS has been added that I’ve overlooked? Thanks, Jamie
|
|
I2C: Bitbang driver and clock stretching
Hi,
while playing with an BQ27421YZFR battery gauge, I noticed that the I²C bitbang driver does not support clock stretching. Easy enough to fix: https://github.com/zephyrproject-rtos/zephyr/pull/16849 The code in i2c_gpio_set_scl() just waits until SCL actually reads back as high. There is currently no timeout - misbehaving slave would cause a deadlock. I also noticed that reading a bit from the SDA line was done a bit too early - it is supposed to be done when SCL is high. Slaves w/o clock stretching would not have noticed this bug, as these would set up SDA line early enough. Yours sincerely, Jörg Fischer
|
|
Re: ninja guiconfig fail
#gettingstartedguide
hotkernel@...
Hi,
I get it, thanks for your patience explain.
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Bolivar, Marti
Hi,
"hotkernel via Lists.Zephyrproject.Org" <hotkernel=163.com@...> writes: Hi Carles,It doesn't matter how you get the source code; west will work too. The important thing is that you need something more recent than LTS for this new feature. If you run plain "west init" it will pull the latest zephyr master -- you would actually have to specify additional arguments not to get the latest, as in "west init --mr v1.14.0". If you previously cloned zephyr v1.14 and want to update to a later version, you can use "git pull". Just make sure to run "west update" after each git pull to update your modules. As has been discussed on other threads in this list, new modules are being added often right now as zephyr/ext is cleared out, and your build will break if you don't keep the up to date. Thanks, Marti
|
|
Re: ninja guiconfig fail
#gettingstartedguide
hotkernel@...
Hi Carles,
Thank you for reminding me that the guiconfig was introduced after the release of Zephyr 1.14 at master. So if use the git clone to get the source code not by the west tool (git clone https://github.com/zephyrproject-rtos/zephyr.git source2) then I can launch "ninia guiconfig" under the build directory.
|
|
Zephyr SDK 0.10.1 available
Kumar Gala
Hi,
Latest version of the SDK can be found here: https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.10.1 Please download and try things out and report any issues. Changes since the last release: • --enable-initfini-array to gcc configure • Fix bossa (revert back to 1.9.1) • Enable multilibs on RISC-V • Fix inclusion of MIPS toolchain • Add x86_64 toolchain • Fix assembler issue for Cortex M-23 • Fixes for openocd on ARC • Updated TI CC32xx openocd scripts Thanks to all that contributed fixes and enhancements to this version of the SDK. - k
|
|
hotkernel@...
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Carles Cufi
Hi there,
I can’t explain it unless you are not on the current master. guiconfig was introduced after the release of Zephyr 1.14, so if you are on 1.14 you won’t be able to use it.
Carles
From: devel@... <devel@...>
On Behalf Of hotkernel via Lists.Zephyrproject.Org
Sent: 13 June 2019 16:39 To: devel@... Cc: devel@... Subject: Re: [Zephyr-devel] ninja guiconfig fail #gettingstartedguide
Hi Carles,
|
|
Upcoming Event: Zephyr Project: Dev Meeting - Thu, 06/13/2019 8:00am-9:00am, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: Dev Meeting When: Thursday, 13 June 2019, 8:00am to 9:00am, (GMT-07:00) America/Los Angeles Where:https://zoom.us/j/993312203 An RSVP is requested. Click here to RSVP Organizer: devel@... Description: Join Zoom Meeting
|
|
Re: ninja guiconfig fail
#gettingstartedguide
hotkernel@...
Hi Carles,
Here is my detail steps to reproduce this fail: OS version: Ubuntu 18.04.2 LTS 64 bits install zephyr development environment: 1. sudo apt-get update 2. sudo apt-get upgrade 3. sudo apt-get install --no-install-recommends git cmake ninja-build gperf \ ccache dfu-util device-tree-compiler wget \ python3-pip python3-setuptools python3-wheel xz-utils file make gcc \ gcc-multilib 4. pip3 install --user cmake zephyr sdk: 1. version: zephyr-sdk-0.10.0-setup.run 2. install path: ~/zephyr/sdk get zephyr source code: cd ~/zephyr pip3 install --user west west --version west init source cd source west update the version was 1.14.99, source path: ~/zephyr/source install python packages: cd ~/zephyr/source pip3 install --user -r zephyr/scripts/requirements.txt sudo apt-get install python3-tk export variant: cd ~/zephyr/source/zephyr export ZEPHYR_TOOLCHAIN_VARIANT=zephyr export ZEPHYR_SDK_INSTALL_DIR=~/zephyr/sdk source zephyr-env.sh build sample: cd samples/bluetooth/hci_uart/ mkdir build && cd build cmake -GNinja -DBOARD=nrf52_pca10040 .. output: Zephyr version: 1.14.99 -- Selected BOARD nrf52_pca10040 -- Found west: /home/jeremy/.local/bin/west (found suitable version "0.5.7", minimum required is "0.5.6") -- Loading /home/jeremy/zephyr/source/zephyr/boards/arm/nrf52_pca10040/nrf52_pca10040.dts as base -- Overlaying /home/jeremy/zephyr/source/zephyr/dts/common/common.dts -- Overlaying /home/jeremy/zephyr/source/zephyr/samples/bluetooth/hci_uart/nrf52_pca10040.overlay Parsing Kconfig tree in /home/jeremy/zephyr/source/zephyr/Kconfig Loading /home/jeremy/zephyr/source/zephyr/samples/bluetooth/hci_uart/build/zephyr/.config as base Configuration written to '/home/jeremy/zephyr/source/zephyr/samples/bluetooth/hci_uart/build/zephyr/.config' -- Cache files will be written to: /home/jeremy/.cache/zephyr Including module: tinycbor in path: /home/jeremy/zephyr/source/modules/lib/tinycbor Including module: qmsi in path: /home/jeremy/zephyr/source/modules/hal/qmsi -- Configuring done -- Generating done -- Build files have been written to: /home/jeremy/zephyr/source/zephyr/samples/bluetooth/hci_uart/build ninja output: [137/142] Linking C executable zephyr/zephyr_prebuilt.elf Memory region Used Size Region Size %age Used FLASH: 73191 B 512 KB 13.96% SRAM: 18908 B 64 KB 28.85% IDT_LIST: 136 B 2 KB 6.64% [142/142] Linking C executable zephyr/zephyr.elf jeremy@jeremy:~/zephyr/source/zephyr/samples/bluetooth/hci_uart/build$ ninja menuconfig [0/1] cd /home/jeremy/zephyr/source/zephyr/samples/bluetooth/hci_uart/build/zephyr/...urce/zephyr/scripts/kconfig/menuconfig.py /home/jeremy/zephyr/source/zephyr/Kconfig Using existing configuration '/home/jeremy/zephyr/source/zephyr/samples/bluetooth/hci_uart/build/zephyr/.config' as base No changes to save (for '/home/jeremy/zephyr/source/zephyr/samples/bluetooth/hci_uart/build/zephyr/.config') jeremy@jeremy:~/zephyr/source/zephyr/samples/bluetooth/hci_uart/build$ ninja guiconfig ninja: error: unknown target 'guiconfig'
|
|
Re: "net arp" command displays "ARP cache is empty" even after a series of arpings from peer devices
#nrf52840
giriprasad@...
Hi,
Thanks for your reply. I am sure that, I am getting ICMP reply correctly and there is no entry in the ARP cache. But, I need to tell you about a code change that I have made in the Zephyr drivers, in the process of my application development. I have disabled a piece of code in the file "zephyr/subsys/net/l2/ethernet/ethernet.c". Attached this file to the mail. The code under "#if DISABLED" is the code that was disabled. Please let me know whether this change is responsible for the behavior I have stated in my previous mail. Below is the reason for the code-change. Please go through. Reason for the code change: I was trying to interface ENC28J60 to PCA10056. I have flashed dumb_http_server example. But I was unable to see the web page in the browser. I have verified the ethernet packet transactions in wireshark application. I saw a series of ARP requests and replies between server and client. (Please verify the screenshot of wireshark application attached to the mail. In the attached screenshot "10.128.8.103" is the IP of the system where I am loading the web page and "Microchi_23:3d:65" is the ip of my device.) So, for a trial I have disabled the ARP related code in the function "ethernet_ll_prepare_on_ipv4". From then, I was able to see the web page on the browser. Also, I am able to ping the device. But ARP cache always shows as empty. Please help me to understand, why I was unable to see web page until I disabled ARP related code. Also let me know whether my code change is responsible for ARP cache being empty. Please let me know if you need more information. Thanks in advance, Giri Prasad N.
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Carles Cufi
Hi there,
Can you please let us know what error you get? Also, can you give us more details including which Zephyr version (master, 1.14, etc), what Host OS (Linux, Windows, macOS) and which toolchain configuration? (ZEPHYR_TOOLCHAIN_VARIANT)
Carles
From: devel@... <devel@...>
On Behalf Of hotkernel via Lists.Zephyrproject.Org
Sent: 12 June 2019 02:39 To: devel@... Cc: devel@... Subject: [Zephyr-devel] ninja guiconfig fail #gettingstartedguide
Hi, after I building the example: samples/bluetooth/hci_uart, under the directory "build",
|
|
ninja guiconfig fail
#gettingstartedguide
hotkernel@...
Hi, after I building the example: samples/bluetooth/hci_uart, under the directory "build",
I can run "ninja menuconfig" command successfully, but run "ninja guiconfig" failed. I have searched the zephyr online document for help, but did not find the answer. Can some one tell me how to launch the command "ninja guiconfig". Thanks in advance.
|
|
Upcoming Event: Zephyr Project: APIs - Tue, 06/11/2019 9:00am-10:00am, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: APIs When: Tuesday, 11 June 2019, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles Where:https://zoom.us/j/177647878 An RSVP is requested. Click here to RSVP Organizer: devel@... Description: Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/177647878 Live meeting minutes: https://docs.google.com/
|
|
API meeting: Agenda
Carles Cufi
Agenda:
- New proposal: Video for Zephyr API - New proposal: clock_control extension - Counter extensions: Update on progress - Sensor API: Update on progress - GPIO: Update on progress Additional items in the "Triage" column in the GitHub project may be discussed if time permits. If you want an item included in the meeting, please add it to the GitHub project. https://github.com/zephyrproject-rtos/zephyr/wiki/Zephyr-Committee-and-Working-Group-Meetings#zephyr-api-discussion https://github.com/zephyrproject-rtos/zephyr/projects/18 https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
Quark_D lightweight crypto
Hi, i am currently i am working developing a lightweight crypto primitive (https://131002.net/quark/quark_full.pdf), in brief, it is a module that returns fix size hash/digest of an arbitrary stream of information. I have "figured out" most of the implementation of the module, but the problem that is that of how to process the incoming stream of information, all the prove of concepts on the web use a pointer to an area of memory and they indicate the number of chuncks of information to be hashed. I don't think that this is feasible because i will execute the code in an arduino 101 or a quark d-2000 which don't have the memory to do that. So the partial solution that i have now is to implement an asynchronous protocol, something like this:
void quark_u() { unsigned char flag=1; unsigned char chunk=0x00; while(flag) { m=/*read */; flag=/*read*/; } } My intention is to be platform independent, is this possible? or should it be different versions of this function that read specific I/O ports of specific platforms?, any insight, observation or pointer will be greatly appreciated. -- Kind Regards
|
|
Hi,
I want to implement a such system that there are about 10 BLE devices running with zephyr os on nrf52832, and some of them act as Central role, and some of them act as Peripheral role, and some provide
both Central and Peripheral roles simultaneously. By this I can build a network to transfer data with
BLE connection and low latency than BLE mesh network.
I have found that the Nordic softdevice support concurrent link with multiple roles at the same time.
and I'm a new user of zephyr and not sure that the zephyr os support such multiple roles, is there any
example code for this application for nrf52 ? Thanks in advance!
|
|