Accepted: Zephyr Project: Dev Meeting
Gabriele Filosofi
|
|
Zephyr Project: Dev Meeting - Thu, 07/30/2020 3:00pm-4:00pm, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: Dev Meeting When: Thursday, 30 July 2020, 3:00pm to 4:00pm, (GMT+00:00) UTC Where:Microsoft Teams Meeting An RSVP is requested. Click here to RSVP Organizer: devel@... Description: ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 483 314 739#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Re: Python Interpreter for Zephyr
Muhammad Muh <muhammad.muh83@...>
Hi Maureen and Jrosenth,
Thank you for your kind response to my question. I have downloaded the Micropython from the given link. Now I have followed the steps given in the Read Me file given in
micropython-master/ports/zephyr, I am getting the following errors, request to please help me in resolving this issue. Thank you.
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Warning: FROZEN_DIR is deprecated in favour of FROZEN_MANIFEST
GEN build/genhdr/qstr.i.last
main.c:108:63: error: missing binary operator before token "("
108 | #elif defined(CONFIG_FLASH_MAP) && FLASH_AREA_LABEL_EXISTS(storage)
| ^
make: *** [../../py/mkrules.mk:89: build/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build/genhdr/qstr.i.last'
Best Regards
From: Maureen Helm (OSS) <maureen.helm@...>
Sent: Wednesday, July 29, 2020 4:06 AM To: jrosenth@... <jrosenth@...>; Muhammad Muh <muhammad.muh83@...> Cc: devel@... <devel@...> Subject: RE: [Zephyr-devel] Python Interpreter for Zephyr There is already a MicroPython port for Zephyr: https://github.com/micropython/micropython/tree/master/ports/zephyr
From: devel@... <devel@...> On Behalf Of
Jack Rosenthal via lists.zephyrproject.org
You could try porting MicroPython to run on Zephyr if it meets your needs. Note that you're looking at a minimum of ~150KB of extra flash space usage, depending on architecture, which features you enable, etc.
On Mon, Jul 27, 2020 at 12:26 AM Muhammad Muh <muhammad.muh83@...> wrote:
|
|
Dev-Review Meeting Agenda Jul 30
Kumar Gala
Here’s the agenda topics for this week:
* Any PR/issues w/dev-review tag [ https://github.com/zephyrproject-rtos/zephyr/labels/dev-review ] - Add support for Open Supervised Device Protocol (OSDP) [ https://github.com/zephyrproject-rtos/zephyr/pull/26965 ] * Any topics anyone else has. - k
|
|
Hi Martí
Thank you for your detailed answer! This was a great help First of all, I won't claim to be an audio expert, so this is purely based on what I have learned the past couple of weeks. I'm not an audio expert, but are you sure the existing audio codec API As far as I could work out, the audio codec API is purely output, so that won't work for a microphone.
I think I get it now. The dts must specify whether or not the PDM hardware is available on the given board, and if so, what pins etc.
It looks like someone already prepared the setup for a PDM driver, since the SOC Kconfig defines a HAS_HW_NRF_PDM, which means I could depend on that? config PDM_NRFX Totally based off of the PWM Kconfig, but it should work right?
I took a look at the pwm_nrfx driver, which seems to act as a sort of wrapper for the nrfx_pwm driver in the Nordic HAL module.
|
|
Re: Python Interpreter for Zephyr
Maureen Helm
There is already a MicroPython port for Zephyr: https://github.com/micropython/micropython/tree/master/ports/zephyr
From: devel@... <devel@...>
On Behalf Of Jack Rosenthal via lists.zephyrproject.org
Sent: Monday, July 27, 2020 10:24 AM To: Muhammad Muh <muhammad.muh83@...> Cc: devel@... Subject: Re: [Zephyr-devel] Python Interpreter for Zephyr
You could try porting MicroPython to run on Zephyr if it meets your needs. Note that you're looking at a minimum of ~150KB of extra flash space usage, depending on architecture, which features you enable, etc.
On Mon, Jul 27, 2020 at 12:26 AM Muhammad Muh <muhammad.muh83@...> wrote:
|
|
Zephyr Project: APIs - Tue, 07/28/2020 4:00pm-5:00pm, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: APIs When: Tuesday, 28 July 2020, 4:00pm to 5:00pm, (GMT+00:00) UTC Where:Microsoft Teams Meeting An RSVP is requested. Click here to RSVP Organizer: devel@... Description: Meeting decisions/discussions in their respective PRs, tracked here: https://github.com/zephyrproject-rtos/zephyr/projects/18 ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 317 990 129#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
API meeting: agenda
Carles Cufi
Hi all,
Today's topics: - Device: Normalize DMA, IPM and UART callbacks signatures including the caller's device pointer (should be quick, PRs are already approved and email sent to the mailing lists) - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/26923 - PR: https://github.com/zephyrproject-rtos/zephyr/pull/26426 - PR: https://github.com/zephyrproject-rtos/zephyr/pull/26780 - PR: https://github.com/zephyrproject-rtos/zephyr/pull/26781 - Device: Const-ify device driver instances - PR: https://github.com/zephyrproject-rtos/zephyr/pull/24873 - Go through the current set of issues in the project and clean up/organize them 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. Teams link: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d 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: Python Interpreter for Zephyr
Jack Rosenthal
You could try porting MicroPython to run on Zephyr if it meets your needs. Note that you're looking at a minimum of ~150KB of extra flash space usage, depending on architecture, which features you enable, etc.
On Mon, Jul 27, 2020 at 12:26 AM Muhammad Muh <muhammad.muh83@...> wrote:
|
|
Python Interpreter for Zephyr
Muhammad Muh <muhammad.muh83@...>
Hi,
I hope you will be fine and in best of the health. I have a small query. If I want to run Python application on top of Zephyr, does Zephyr has the Python interpreter to run a python based application on top of Zephyr?
Please advice. Thank you.
Best Regards
|
|
[Bluetooth] How to use "bt adv-create" at \zephyr\tests\bluetooth\shell
#bluetooth
#nrf52840
#shell
renkai@...
Hello,
I'm use the sample code at \zephyr\tests\bluetooth\shell\ and the HW platform is nrf52840dk, what I'm trying to do is to make HW send ADV_EXT_IND and AUX_ADV_IND. After flashing the firmware into HW, I use below shell command to create an adv. uart:~$ bt init
Bluetooth initialized
uart:~$ bt[00:03:40.138,793] <inf> fs_nvs: 8 Sectors of 4096 bytes
[00:03:40.138,824] <inf> fs_nvs: alloc wra: 0, ff0
[00:03:40.138,824] <inf> fs_nvs: data wra: 0, 0
[00:03:40.141,601] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:03:40.141,632] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
[00:03:40.141,632] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 2.3 Build 0
[00:03:40.142,242] <inf> bt_hci_core: No ID address. App must call settings_load()
[00:03:40.161,285] <inf> bt_hci_core: Identity: d0:d3:8a:6f:47:91 (random)
[00:03:40.161,285] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0000, manufacturer 0x05f1
[00:03:40.161,285] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0xffff
uart:~$ bt id-show
*0: d0:d3:8a:6f:47:91 (random)
uart:~$ bt id-select 0
Selected identity: d0:d3:8a:6f:47:91 (random)
uart:~$ bt adv-create conn-scan ext-adv identity low
Failed to create advertiser set (-5)
[00:04:29.615,020] <wrn> bt_hci_core: opcode 0x2036 status 0x01 But the return error code is -5, how can I create an adv and make it send ADV_EXT_IND and AUX_ADV_IND? Thanks. Regards, Kai
|
|
Re: Sharing a driver between similar devices
Michael,
Some interesting thoughts but it might be worth having a look at the lsm9ds0_mfd driver, it has configuration options for the various sensor functions. This might be a good guide to help achieve what you're planning. Billy..
|
|
Re: Sharing a driver between similar devices
Peter A. Bigot
I believe https://github.com/zephyrproject-rtos/zephyr/issues/20287 is relevant to this problem. At the time there was no solution; now it may be that
DT_NODE_HAS_COMPAT(DT_DRV_INST(N), other_compat) handles it if just you iterate over the base lsm6dsl device.
|
|
Re: Sharing a driver between similar devices
Michael Hope
On Fri, 24 Jul 2020 at 22:06, Bolivar, Marti <Marti.Bolivar@...> wrote: Hi Michael, That sounds good. The second part of the problem is iterating over both the lsm6dsl and lsm6ds3 types. Doing two DT_INST_FOREACH_STATUS_OKAY(fn), one for each compat, can give name collisions. Any ideas? -- Michael
|
|
Re: Sharing a driver between similar devices
Bolivar, Marti
Hi Michael,
"Michael Hope via lists.zephyrproject.org" <michaelh=juju.nz@lists.zephyrproject.org> writes: Hi there. I'm porting Zephyr to the Arduino Nano 33 IOT. The board has aHave you tried to set some state in the config structure based on the value of DT_NODE_HAS_COMPAT(DT_DRV_INST(your_instance_number), some_compat)? E.g. setting the WHO_AM_I in your config struct based on this, and using that in your init functions to disambiguate. Thanks, Martí
|
|
Sharing a driver between similar devices
Michael Hope
Hi there. I'm porting Zephyr to the Arduino Nano 33 IOT. The board has a LSM6DS3 IMU which is very similar to the LSM6DSL that's already supported by Zephyr and I'd like to re-use it. I've refactored [1] the lsm6dsl driver to be multi-instance. What's the best way of then using the same driver for two different compats? The best I've come up with is [2] but that has name collision issues. Note that the chips also have a different WHO_AM_I value, so need very slightly different configuration. -- Michael
|
|
github org membership and permissions
Maureen Helm
Hi everyone, This week the TSC approved the list of current maintainers in #24152. As a result, I have invited all of the approved maintainers to join the zephyrproject-rtos GitHub organization and assigned them into a “maintainers” team. Membership in this GitHub team gives write access to the main zephyr repo, which is used for assigning labels and reviewers to issues/PRs. Merge rights are still restricted to members of the release team.
Many maintainers previously had write access as an “outside collaborator”, which should no longer be necessary and has been removed. If you have lost access to the repo in this refactoring, then I have made a mistake and please let me know.
Also, membership in a GitHub organization is by default private, but you have the option to make it public:
Maureen
|
|
Zephyr Project: Dev Meeting - Thu, 07/23/2020 3:00pm-4:00pm, Please RSVP
#cal-reminder
devel@lists.zephyrproject.org Calendar <devel@...>
Reminder: Zephyr Project: Dev Meeting When: Thursday, 23 July 2020, 3:00pm to 4:00pm, (GMT+00:00) UTC Where:Microsoft Teams Meeting An RSVP is requested. Click here to RSVP Organizer: devel@... Description: ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 483 314 739#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Dev-Review Meeting Agenda Jul 23
Kumar Gala
Here’s the agenda topics for this week:
* Discussion on CONFIG_MULTITHREADING=n - Do we continue to support it and what functionality should be expected to work in that mode: https://github.com/zephyrproject-rtos/zephyr/issues/9808 https://github.com/zephyrproject-rtos/zephyr/issues/8393 https://github.com/zephyrproject-rtos/zephyr/issues/26796 https://github.com/zephyrproject-rtos/zephyr/issues/8496 … https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+CONFIG_MULTITHREADING - isr safe mutexes * Any PR/issues w/dev-review tag * Any topics anyone else has. - k
|
|
Re: [Zephyr-users] Community input on possible change to Discord from Slack
Jack Rosenthal
I use Matrix on other channels. It works pretty nicely, and the open source factor is a bonus. Reto summed it up pretty well... hope you all do consider it a bit more.
On Wed, Jul 22, 2020 at 8:26 AM <rs@...> wrote: Hi Kumar,
|
|