Date   

Re: Dev-Review Meeting Agenda Aug 18th

Bolivar, Marti
 


From: devel@... <devel@...> on behalf of Kumar Gala via lists.zephyrproject.org <kumar.gala=linaro.org@...>
Sent: Thursday, August 19, 2021 5:12 AM
To: devel <devel@...>
Subject: [Zephyr-devel] Dev-Review Meeting Agenda Aug 18th
 
Armclang / armlink support in Zephyr - Zephyr CMake linker functions
- https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F36140&amp;data=04%7C01%7Cmarti.bolivar%40nordicsemi.no%7C7c5ea738dcfb48d0042308d9630ab294%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637649719867466544%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=G0PhFEu0AFf3UEJ3NRNcY5hZfv9tzXVtnIAcYgsIqDQ%3D&amp;reserved=0

linker: aarch32: automatic derivation of region names from devicetree nodes
- https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F37279&amp;data=04%7C01%7Cmarti.bolivar%40nordicsemi.no%7C7c5ea738dcfb48d0042308d9630ab294%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637649719867466544%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=iJVQVDDlZWKEiwewa6w7q73ECetDyb1%2BxEbCbeLBfoM%3D&amp;reserved=0

PINCTRL, dts representation:
- https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fdiscussions%2F35077&amp;data=04%7C01%7Cmarti.bolivar%40nordicsemi.no%7C7c5ea738dcfb48d0042308d9630ab294%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637649719867466544%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=mydWo4WCP%2FvLHJ6a0icBfOtuF0VLo%2Bum6IjYvDq4Mxg%3D&amp;reserved=0
- https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F37621&amp;data=04%7C01%7Cmarti.bolivar%40nordicsemi.no%7C7c5ea738dcfb48d0042308d9630ab294%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637649719867466544%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=aqVdMbAYWx9ttrvhv2qa8VxrWhiXhSnBYhRtjCtbmkw%3D&amp;reserved=0
- https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fpull%2F37572&amp;data=04%7C01%7Cmarti.bolivar%40nordicsemi.no%7C7c5ea738dcfb48d0042308d9630ab294%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637649719867466544%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=0mrpYcUJeNCWyYNPziV9x2DOYbXEh7VxE%2Fh%2FcW2hkZ0%3D&amp;reserved=0






Event: Zephyr Project: Dev Meeting - 08/19/2021 #cal-reminder

devel@lists.zephyrproject.org Calendar <noreply@...>
 

Reminder: Zephyr Project: Dev Meeting

When:
08/19/2021
3:00pm to 4:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

Organizer: devel@...

An RSVP is requested. Click here to RSVP

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 Aug 18th

Kumar Gala
 


Event: Zephyr Project: APIs - 08/17/2021 #cal-reminder

devel@lists.zephyrproject.org Calendar <noreply@...>
 

Reminder: Zephyr Project: APIs

When:
08/17/2021
4:00pm to 5:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

Organizer: devel@...

An RSVP is requested. Click here to RSVP

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
 
 
________________________________________________________________________________


Re: nRF9160 CMSIS DSP code bloat

David Kaplan
 

I Set CMSIS_DSP_TABLES_ALL_FAST and CMSIS_DSP_TABLES_ALL_FFT to n and the file size went down and I went on to add tables that I needed:

CONFIG_CMSIS_DSP_TABLES_RFFT_FAST_F32_32=y
CONFIG_CMSIS_DSP_TABLES_ARM_SIN_F32=y
CONFIG_CMSIS_DSP_TABLES_ARM_COS_F32=y
CONFIG_CMSIS_DSP_TABLES_ARM_CMPLX_MAG_Q31=y
CONFIG_CMSIS_DSP_TABLES_RFFT_F32_512=y

But when running the code I get a hard fault after arm_rfft_fast_init_f32() with the fftLen=512

#if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || (defined(ARM_TABLE_TWIDDLECOEF_F32_256) && defined(ARM_TABLE_BITREVIDX_FLT_256) && defined(ARM_TABLE_TWIDDLECOEF_F32_256) && defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_512))
  case 512U:
    fptr = arm_rfft_512_fast_init_f32;
    break;
#endif

I cannot figure out which table CONFIGs are
  ARM_TABLE_TWIDDLECOEF_F32_256
  ARM_TABLE_BITREVIDX_FLT_256
  ARM_TABLE_TWIDDLECOEF_F32_256
  ARM_TABLE_TWIDDLECOEF_RFFT_F32_512

Thanks David


Re: nRF9160 CMSIS DSP code bloat

David Kaplan
 

Thanks that did reduce the size considerably.

David Kaplan
Software | AMI
Reply EMAIL Address dkaplan@...
SKYPE Account: davidkiryat8
Office: 702.478.9700
www.amiglobal.com
Address        : 6280 S Valley View Blvd. Suite 212,
                 Las Vegas, NV 89118
CONFIDENTIALITY NOTICE:

This electronic transmission and any accompanying attachments may contain privileged or
confidential information intended only for the use of the individual or
organization named above. Any distribution, copying or action taken in reliance on the contents of this communication
by anyone other than the intended recipient(s) is STRICTLY PROHIBITED.
If you have received this communication in error please notify the sender
at the above email address and delete this email immediately.



From: Stephanos Ioannidis <root@...>
Sent: Monday, August 16, 2021 5:51 PM
To: David Kaplan <DKaplan@...>; devel@... <devel@...>
Subject: RE: [Zephyr-devel] nRF9160 CMSIS DSP code bloat
 

Hi,

 

By default, CONFIG_CMSIS_DSP_FASTMATH and CONFIG_CMSIS_DSP_TRANSFORM pulls in many big tables:

https://github.com/zephyrproject-rtos/zephyr/blob/feb0e9f766b1328b45666e5e71134c34ae17b742/modules/Kconfig.cmsis_dsp#L60-L61

https://github.com/zephyrproject-rtos/zephyr/blob/feb0e9f766b1328b45666e5e71134c34ae17b742/modules/Kconfig.cmsis_dsp#L142-L143

 

Try the following:

 

1. Set CMSIS_DSP_TABLES_ALL_FAST and CMSIS_DSP_TABLES_ALL_FFT to n.

2. Select only the tables you need.

 

Also you can play with the configs in menuconfig and try getting the image size down.

 

Stephanos

 

From: devel@... <devel@...> On Behalf Of DKaplan via lists.zephyrproject.org
Sent: Monday, August 16, 2021 3:02 PM
To: devel@...
Subject: [Zephyr-devel] nRF9160 CMSIS DSP code bloat

 

Using SES v1.6.1 with the nRF9160 module, I added the necessary CMSIS DSP defines for my project. This adds a quite a lot of files and it does not look like the linker includes only files used.

My code size has went over 466Kb. After adding more unrelated features, the code went over the 512Kb mark after which I remark part of the added code since I do not want to get into adjusting boot loader defines yet (a learning curve also there).

 We need the CMSIS libraries (only a few functions) and the calculations seems to work but it looks like the linker adds a ton of files and functions that are not even called.
 Is there a way that the linker will remove them or should I just select all of the files I need in a new directory (bad I know).  How can I determine which files are used or not?
 
  CONFIG_CMSIS_DSP=y
  CONFIG_CMSIS_DSP_SUPPORT=y
  CONFIG_CMSIS_DSP_FASTMATH=y
  CONFIG_CMSIS_DSP_COMPLEXMATH=y
  CONFIG_CMSIS_DSP_STATISTICS=y
  CONFIG_CMSIS_DSP_TRANSFORM=y

I thought maybe to try to build a CMSIS DSP library that I would add to my Nordic CONNECT project that would pull in only files and tables that are used.
I saw the sdk-zephyr/samples/application_development/external_lib/ example but I just got a build error without any explanation of the problem.

I also saw a CMakeLists.txt directive that also did not work.
   target_link_libraries(app your_lib_name)

Can anyone help me on this or suggest what is the correct way to include only the used CMSIS DSP code?
Thanks David

 

 

 


Re: nRF9160 CMSIS DSP code bloat

Stephanos Ioannidis
 

Hi,

 

By default, CONFIG_CMSIS_DSP_FASTMATH and CONFIG_CMSIS_DSP_TRANSFORM pulls in many big tables:

https://github.com/zephyrproject-rtos/zephyr/blob/feb0e9f766b1328b45666e5e71134c34ae17b742/modules/Kconfig.cmsis_dsp#L60-L61

https://github.com/zephyrproject-rtos/zephyr/blob/feb0e9f766b1328b45666e5e71134c34ae17b742/modules/Kconfig.cmsis_dsp#L142-L143

 

Try the following:

 

1. Set CMSIS_DSP_TABLES_ALL_FAST and CMSIS_DSP_TABLES_ALL_FFT to n.

2. Select only the tables you need.

 

Also you can play with the configs in menuconfig and try getting the image size down.

 

Stephanos

 

From: devel@... <devel@...> On Behalf Of DKaplan via lists.zephyrproject.org
Sent: Monday, August 16, 2021 3:02 PM
To: devel@...
Subject: [Zephyr-devel] nRF9160 CMSIS DSP code bloat

 

Using SES v1.6.1 with the nRF9160 module, I added the necessary CMSIS DSP defines for my project. This adds a quite a lot of files and it does not look like the linker includes only files used.

My code size has went over 466Kb. After adding more unrelated features, the code went over the 512Kb mark after which I remark part of the added code since I do not want to get into adjusting boot loader defines yet (a learning curve also there).

 We need the CMSIS libraries (only a few functions) and the calculations seems to work but it looks like the linker adds a ton of files and functions that are not even called.
 Is there a way that the linker will remove them or should I just select all of the files I need in a new directory (bad I know).  How can I determine which files are used or not?
 
  CONFIG_CMSIS_DSP=y
  CONFIG_CMSIS_DSP_SUPPORT=y
  CONFIG_CMSIS_DSP_FASTMATH=y
  CONFIG_CMSIS_DSP_COMPLEXMATH=y
  CONFIG_CMSIS_DSP_STATISTICS=y
  CONFIG_CMSIS_DSP_TRANSFORM=y

I thought maybe to try to build a CMSIS DSP library that I would add to my Nordic CONNECT project that would pull in only files and tables that are used.
I saw the sdk-zephyr/samples/application_development/external_lib/ example but I just got a build error without any explanation of the problem.

I also saw a CMakeLists.txt directive that also did not work.
   target_link_libraries(app your_lib_name)

Can anyone help me on this or suggest what is the correct way to include only the used CMSIS DSP code?
Thanks David

 

 

 


Event: Zephyr Memory Footprint - biweekly discussion - 08/16/2021 #cal-reminder

devel@lists.zephyrproject.org Calendar <noreply@...>
 

Reminder: Zephyr Memory Footprint - biweekly discussion

When:
08/16/2021
3:00pm to 4:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

Organizer: devel@...

An RSVP is requested. Click here to RSVP

Description:
Working doc: https://docs.google.com/document/d/1bnQLJKVhgI3zkk3MsSXun8onEsA8z1Rf5ohdbCHASmU/edit#heading=h.x36xe8bnwr9r

________________________________________________________________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meeting
Or call in (audio only)
+1 321-558-6518,,546018126# United States, Orlando
Phone Conference ID: 546 018 126#
 
 
________________________________________________________________________________


nRF9160 CMSIS DSP code bloat

David Kaplan
 

Using SES v1.6.1 with the nRF9160 module, I added the necessary CMSIS DSP defines for my project. This adds a quite a lot of files and it does not look like the linker includes only files used.

My code size has went over 466Kb. After adding more unrelated features, the code went over the 512Kb mark after which I remark part of the added code since I do not want to get into adjusting boot loader defines yet (a learning curve also there).

 We need the CMSIS libraries (only a few functions) and the calculations seems to work but it looks like the linker adds a ton of files and functions that are not even called.
 Is there a way that the linker will remove them or should I just select all of the files I need in a new directory (bad I know).  How can I determine which files are used or not?
 
  CONFIG_CMSIS_DSP=y
  CONFIG_CMSIS_DSP_SUPPORT=y
  CONFIG_CMSIS_DSP_FASTMATH=y
  CONFIG_CMSIS_DSP_COMPLEXMATH=y
  CONFIG_CMSIS_DSP_STATISTICS=y
  CONFIG_CMSIS_DSP_TRANSFORM=y

I thought maybe to try to build a CMSIS DSP library that I would add to my Nordic CONNECT project that would pull in only files and tables that are used.
I saw the sdk-zephyr/samples/application_development/external_lib/ example but I just got a build error without any explanation of the problem.

I also saw a CMakeLists.txt directive that also did not work.
   target_link_libraries(app your_lib_name)

Can anyone help me on this or suggest what is the correct way to include only the used CMSIS DSP code?
Thanks David

 
 

 


Rest web UI Interface

mayureshpawar2728@...
 

Hii all,
I am trying to integrate react js webpages into REST example at firmware side.please help me in this


API meeting: agenda

Carles Cufi
 


Re: Bluetooth mesh composition limite size

William Fish
 

Hi,
A couple of things:
a. I have found it could be a BLE buffer issue; CONFIG_BT_MESH_LOOPBACK_BUFS=30
If you increase this it allows the device to process more self-generated messages

b. Composition page error needs further investigation, it may be worth have a look at
intbt_mesh_cfg_comp_data_get(uint16_tnet_idxuint16_taddruint8_tpageuint8_t*rspstructnet_buf_simple*comp)

Get the target node’s composition data.

If the other device does not have the given composition data page, it will return the largest page number it supports that is less than the requested page index. The actual page the device responds with is returned in rsp.

Parameters
  • net_idx – Network index to encrypt with.

  • addr – Target node address.

  • page – Composition data page, or 0xff to request the first available page.

  • rsp – Return parameter for the returned page number, or NULL.

  • comp – Composition data buffer to fill.

Returns

0 on success, or (negative) error code on failure.


Bluetooth mesh composition limite size

Omar Morceli
 

Hi
I have a bluetooth mesh composition with two elements
I. The first element contains four models
  1. BT_MESH_MODEL_CFG_SRV
  2. BT_MESH_MODEL_HEALTH_SRV
  3. BT_MESH_MODEL_ID_GEN_ONOFF_SRV
  4. BT_MESH_MODEL_ID_GEN_ONOFF_CLI
II. The second element contains two vendor models

During the phone provisioning process, I receive an error message and provisioning fails
[00:01:03.470,672] <dbg> bt_mesh_cfg_srv.dev_comp_data_get: Composition page 255 not available
[00:01:03.470,703] <err> bt_mesh_transport: Message too big: 36
[00:01:03.470,703] <err> bt_mesh_cfg_srv: Unable to send Device Composition Status response


After removing both GEN_ONOFF models, provisioning has succeeded and all works as expected

Is there any way to make the size bigger or is there any other solution?

Regards


Re: Dev-Review Meeting Agenda Aug 11th

Bolivar, Marti
 


From: Kumar Gala <kumar.gala@...>
Sent: Wednesday, August 11, 2021 3:58 PM
To: devel <devel@...>
Cc: Cufi, Carles <Carles.Cufi@...>; henrik@... <henrik@...>; Bolivar, Marti <Marti.Bolivar@...>
Subject: Dev-Review Meeting Agenda Aug 11th
 


Event: Zephyr Project: Dev Meeting - 08/12/2021 #cal-reminder

devel@lists.zephyrproject.org Calendar <noreply@...>
 

Reminder: Zephyr Project: Dev Meeting

When:
08/12/2021
3:00pm to 4:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

Organizer: devel@...

An RSVP is requested. Click here to RSVP

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 Aug 11th

Kumar Gala
 

west: runners: Add new -i/--dev-id device identifier common runner option:
- https://github.com/zephyrproject-rtos/zephyr/pull/37509

Plus anything anyone else has.

- k


On Bind app key handler

Omar Morceli
 

hi 
i'm using nrf52832 to develop a bluetooth mesh vendor model using zephyr, and I need a handler that can be called when I bind the app key using phone provisioning.

Is there a way to do that ?


v2.7.0 LTS Feature Freeze: 2021-08-27

Christopher Friedt
 

Hi everyone,

This is a gentle reminder that our feature freeze for the v2.7.0 LTS
release is coming up quickly on Friday, August 27th, 2021 [1].

Please ensure that all planned feature development is complete and any
associated unit tests are passing prior to the feature freeze.

Thanks!

C

[1] https://github.com/zephyrproject-rtos/zephyr/wiki/Program-Management#actual-and-planned-milestone-dates


Event: Zephyr Project: APIs - 08/10/2021 #cal-reminder

devel@lists.zephyrproject.org Calendar <noreply@...>
 

Reminder: Zephyr Project: APIs

When:
08/10/2021
4:00pm to 5:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

Organizer: devel@...

An RSVP is requested. Click here to RSVP

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
 

561 - 580 of 8520