Date   

SDK 0.12.0 Release

Kumar Gala
 

Hi,

Latest version of the SDK can be found here:

https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.12.0

NOTE: In some cases changes are required to utilize SDK 0.12.0 with Zephyr (for example building for xtensa)

Please download and try things out and report any issues.

• General:

• Updated to using buildkite for CI
• Updated yocto 3.1.1
• Build aarch64 (arm64) linux host toolchains.
• Moved to using a zephyr fork of crosstool-ng
• Update bossa to 1.9.1+ + SAM4L support
• cmake: Set HOST_TOOLS_HOME based on OS_PLATFORM
• tweaks to installer script
• QEMU:

• Updated to QEMU 5.1.0
• Added icount support for ARC
• Backport RISC-V PMP fixes from upstream qemu
• OpenOCD:

• Updated to 20201109 snapshot [e44539d66c8929679321704768125df9ba7d5f67]
• newlib:

• Updated to version 3.3
• Updated xtensa to version 3.3 (in sync with all arch's)
• Change default builds to be built with -O2
• binutils:

• updated to version 2.35.1
• gcc:

• Updated to version 10.2.0
• Fix bug in libgcc builds w/regards to ARM cmse support
• gdb:

• Updated to version 9.2
• xtensa:

• remove HAL from SDK build

Thanks to all that contributed fixes and enhancements to this version of the SDK.


Zephyr Project: Dev Meeting - Thu, 12/17/2020 4:00pm-5:00pm, Please RSVP #cal-reminder

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

Reminder: Zephyr Project: Dev Meeting

When: Thursday, 17 December 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:

________________________________________________________________________________
+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 Dec 17

Kumar Gala
 

Here’s the agenda topics for this week:

* start switching to feature-specific binding model
- https://github.com/zephyrproject-rtos/zephyr/pull/30594

replace device define macros with devicetree-based macro
- https://github.com/zephyrproject-rtos/zephyr/issues/30467

* Any PR/issues w/dev-review tag

https://github.com/zephyrproject-rtos/zephyr/labels/dev-review

* Any topics anyone else has.

- k


Zephyr Project: APIs - Tue, 12/15/2020 5:00pm-6:00pm, Please RSVP #cal-reminder

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

Reminder: Zephyr Project: APIs

When: Tuesday, 15 December 2020, 5:00pm to 6: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
 
 
________________________________________________________________________________


Re: API meeting: agenda

Carles Cufi
 

One additional item if time permits:

- subsystem: task_wdt: Implement software watchdog suitable for multiple threads
- PR: https://github.com/zephyrproject-rtos/zephyr/pull/28947

-----Original Message-----
From: Cufi, Carles
Sent: 15 December 2020 13:14
To: 'devel@lists.zephyrproject.org' <devel@lists.zephyrproject.org>;
users@lists.zephyrproject.org
Subject: API meeting: agenda

Hi all,

Agenda for today.
Note that this will be the last API meeting of 2020. The following one
will take place in January 5th, 2021.

- drivers: can: Rework can_configure API and zcan_frame
- PR: https://github.com/zephyrproject-rtos/zephyr/pull/28345

- Minor ADC API updates
- PR: https://github.com/zephyrproject-rtos/zephyr/pull/30533
- PR: https://github.com/zephyrproject-rtos/zephyr/pull/30726

- I2C slave driver removed
- Issue: https://github.com/zephyrproject-rtos/zephyr/issues/30557


If you have additional items please let me know.

Teams link: https://teams.microsoft.com/l/meetup-
join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40threa
d.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


API meeting: agenda

Carles Cufi
 


Re: Question regarding dcache flushing for arm(specifically armv8, cortex A53)

Carlo Caione
 

On 14/12/2020 16:35, varun sharma wrote:
Hi Carlo,
Hi Varun,

Thanks for sharing your pr details...will review
any patch you submitted for dcache support in cortex a53 arm cpu?
Not yet, but the code is pretty much this https://github.com/zephyrproject-rtos/zephyr/pull/30676/commits/3edf0e843f6c5341b86a3e5c5224e260df1fa6ed if you want to take a look.

Cheers,

--
Carlo Caione


Zephyr: Toolchain Working Group - Mon, 12/14/2020 #cal-notice

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

Zephyr: Toolchain Working Group

When:
Monday, 14 December 2020
4:00pm to 5:00pm
(GMT+00:00) UTC

Where:
Microsoft Teams Meeting

Description:

________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 682 738 030#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
 
 
________________________________________________________________________________


Zephyr: Toolchain Working Group - Mon, 12/14/2020 4:00pm-5:00pm, Please RSVP #cal-reminder

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

Reminder: Zephyr: Toolchain Working Group

When: Monday, 14 December 2020, 4:00pm to 5:00pm, (GMT+00:00) UTC

Where:Microsoft Teams Meeting

An RSVP is requested. Click here to RSVP

Organizer: Maureen Helm

Description:

________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 682 738 030#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
 
 
________________________________________________________________________________


Re: Question regarding dcache flushing for arm(specifically armv8, cortex A53)

varun sharma <nurav251@...>
 

Hi Carlo,

Thanks for sharing your pr details...will review
any patch you submitted for dcache support in cortex a53 arm cpu?

I also did some homework, your insights will be helpful...


Thanks


From: Carlo Caione <carlo.caione@...>
Sent: Friday, December 11, 2020 9:28 PM
To: varun sharma <nurav251@...>; devel@... <devel@...>
Subject: Re: [Zephyr-devel] Question regarding dcache flushing for arm(specifically armv8, cortex A53)
 
On 11/12/2020 07:25, varun sharma wrote:
> Hi All,

Hi Varun,

> I want to flush dcache in cortex a53 arm cpu, but it seems it is not
> implemented for arm in zephyr
> I can't see any dcache_flush() implementation for arm..

I'm going to add support for that after
https://github.com/zephyrproject-rtos/zephyr/pull/30398 is merged.

Feel free to review it if you are willing to help :)

Cheers,

--
Carlo Caione


Zephyr Toolchain Working Group Meeting – 14 December 2020

Rasmussen, Torsten
 

Agenda

/torsten

 


Re: Question regarding dcache flushing for arm(specifically armv8, cortex A53)

Carlo Caione
 

On 11/12/2020 07:25, varun sharma wrote:
Hi All,
Hi Varun,

I want to flush dcache in cortex a53 arm cpu, but it seems it is not implemented for arm in zephyr
I can't see any dcache_flush() implementation for arm..
I'm going to add support for that after https://github.com/zephyrproject-rtos/zephyr/pull/30398 is merged.

Feel free to review it if you are willing to help :)

Cheers,

--
Carlo Caione


Question regarding dcache flushing for arm(specifically armv8, cortex A53)

varun sharma <nurav251@...>
 

Hi All,

I want to flush dcache in cortex a53 arm cpu, but it seems it is not implemented for arm in zephyr
I can't see any dcache_flush() implementation for arm..

I see it is only available for arc and x86, and not for arm...
pls share any reason it is not implemented for arm?

and if i want to add this, any pointers or pr/commit for that?

Thanks,
Nurav


Re: github org membership and permissions

Maureen Helm
 

Hi everyone,

Following up on this, I’ve now invited all of the collaborators currently listed in MAINTAINERS.yml to the zephyrproject-rtos GitHub organization and assigned them into a “collaborators” 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.

 

As before, you have the option to make your membership public, see the link below. Please let me know if you encounter any issues with repo access after this refactoring.

 

Maureen

 

From: Maureen Helm (OSS) <maureen.helm@...>
Sent: Friday, July 24, 2020 6:59 AM
To: devel@...
Subject: github org membership and permissions

 

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:

https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/publicizing-or-hiding-organization-membership

 

Maureen


Re: Canopen node nRF52832

"Karsten König <karsten.koenig.030@...>
 

Hi,

I am trying to remember why I added a separate CONFIG_CAN_MCP2515_MAX_FILTER next to the existing CONFIG_CAN_MAX_FILTER. I think there was a reason, but maybe I just misunderstood the kconfig system. Can you please open a github issue so we can discuss there?

I attached a small patch to drop CONFIG_CAN_MCP2515_MAX_FILTER in favor of CONFIG_CAN_MAX_FILTER, please apply that for further tests.
The rest of the comments in this email apply as well :-)


Cheers,
Karsten

On 12/9/20 9:12 PM, Nick Ward wrote:
Hi Cristian,
I'm not sure if the MCP1525 is a good match for Canopen but you may need to increase this kconfig symbol CONFIG_CAN_MCP2515_INT_THREAD_STACK_SIZE
Nick
On Thu, 10 Dec 2020, 2:38 am Bolivar, Marti, <marti.bolivar@nordicsemi.no <mailto:marti.bolivar@nordicsemi.no>> wrote:
Hi,
The MPU fault may be due to a missing CONFIG_MPU_ALLOW_FLASH_WRITE=y.
I don't know anything about CAN, though :).
Martí
"Cristian Anceschi via lists.zephyrproject.org
<http://lists.zephyrproject.org>"
<cristian.anceschi=galileo.engineering@lists.zephyrproject.org
<mailto:galileo.engineering@lists.zephyrproject.org>> writes:

> Hi all
>
> I'm quite new on Zephyr and on CAN BUS so my question might have
an easy or
> obvious answer.
>
> I'm on Ubuntu and I'm using an nRF52DK nRF52832 (PCA10040) wired to a
> custom board equipped with a MCP2515 and a MCP2551 devices.
>
> Is the samples\subsys\canbus\canopen suitable for an hardware
like the one
> I'm using?
> If so, any hints on how make this sample working?
>
> 1)
> I can compile it  from command line with
> west build -b nrf52dk_nrf52832 samples\subsys\canbus\canopen
> -DSHIELD=dfrobot_can_bus_v2_0 -DCONF_FILE=prj.mcp2515.conf
>
> declaring in  subsys\canbus\canopen\CO_driver.c (even though I
thought it
> wasn't really need to declare this here)
> #define CONFIG_CAN_MAX_FILTER 13
>
> and prj.mcp2515.conf as attachment
>
> Executing the project, I get the attached log file with a series
of error
> messages and this stucks me here for this moment.
>
> 2)
> Just to give some more info, I'd like to say that I did compile the
> samples/drivers/can from command line launching this
>
> west build -b nrf52dk_nrf52832 samples/drivers/can/
> -DSHIELD=dfrobot_can_bus_v2_0 -DCONF_FILE=prj.mcp2515.conf
>
> and everything works as expected (tested using a CAN sniffer).
> But it is not clear to me how to add in this project the CANOpen
stack
> library.
>
> Thanks in advance for the support
>
> Kind regards
> Crisian
>
>
>
> --
> Ing Cristian Anceschi
> Galileo Engineering s.r.l.
> Via Cavallotti 16
> IT - 42122 Reggio Emilia
> Phone +39 0522 920496 / +39 0522 516244
> Fax     +39 0522 920496 / +39 0522 516244
>
> Privacy - Le informazioni contenute nel presente messaggio di posta
> elettronica ed in ogni allegato sono da ritenersi informazioni
riservate.
> Chi ricevesse il presente messaggio senza esserne l'effettivo
destinatario
> è rigorosamente tenuto a evitarne ogni divulgazione, diffusione o
> riproduzione, ai sensi del D.Lgs n.196/2003. Qualora abbiate
ricevuto la
> presente comunicazione per errore siete pregati di distruggerla e di
> segnalarlo al mittente. Grazie.
>
> Privacy - The information contained in this e-mail message and
any attached
> files are considered private information. If you have received
this message
> without being the intended recipient, prevent any dissemination or
> reproduction. If you are not the addressee, please contact the
sender and
> destroy all copies of the original message. Thanks.
>
>
>
>
>
> # Alternate conf file required for building the CAN sample for the
> # MCP2515 stand alone CAN controller
>
> CONFIG_GPIO=y
>
> CONFIG_CAN=y
> CONFIG_CAN_INIT_PRIORITY=80
> CONFIG_CAN_MCP2515_MAX_FILTER=5
>
> CONFIG_SHELL=y
> CONFIG_CAN_SHELL=y
> CONFIG_DEVICE_SHELL=y
>
>
> CONFIG_LOG=y
> CONFIG_PRINTK=y
> CONFIG_CONSOLE=y
> #CONFIG_LOG_PRINTK=y
> CONFIG_RTT_CONSOLE=y
> #CONFIG_HAS_SEGGER_RTT=y
> CONFIG_USE_SEGGER_RTT=y
>
> #
>
> CONFIG_LOG=y
> CONFIG_CANOPEN_LOG_LEVEL_DBG=y
>
> CONFIG_CAN=y
> CONFIG_CAN_INIT_PRIORITY=80
> CONFIG_CAN_MCP2515=y
> CONFIG_CAN_MAX_FILTER=13
>
>
> CONFIG_FLASH=y
> CONFIG_FLASH_MAP=y
> CONFIG_NVS=y
> CONFIG_SETTINGS=y
> CONFIG_SETTINGS_NVS=y
>
> CONFIG_CANOPEN=y
> CONFIG_CANOPEN_SYNC_THREAD=y
> CONFIG_CANOPEN_STORAGE=y
> CONFIG_CANOPEN_LEDS=y
>
> CONFIG_REBOOT=y
> canstat=0
> new mode value : 0
> init mode 0
> *** Booting Zephyr OS version 2.4.99  ***
> [00:00:00.413,665] <inf> fs_nvs: 6 Sectors of 4096 bytes
> [00:00:00.413,665] <inf> fs_nvs: alloc wra: 0, ff0
> [00:00:00.413,665] <inf> fs_nvs: data wra: 0, 0
> [00:00:00.413,726] <dbg> canopen_driver.CO_CANmodule_init: rxSize
= 13, txSize = 9
> canstat=0
> new mode value : 0
> [00:00:00.414,978] <err> canopen_driver: failed to attach CAN rx
isr, no free filter
> [00:00:00.415,039] <err> canopen_driver: failed to attach CAN rx
isr, no free filter
> [00:00:00.415,069] <err> canopen_driver: failed to attach CAN rx
isr, no free filter
> [00:00:00.415,130] <inf> app: CANopen stack initialized
> [00:00:00.415,527] <err> os: ***** MPU FAULT *****
> [00:00:00.415,527] <err> os:   Data Access Violation
> [00:00:00.415,527] <err> os:   MMFAR Address: 0x7a000
> [00:00:00.415,557] <err> os: r0/a1:  0x0007a000  r1/a2:
0x00000055  r2/a


Cancelled Event: Zephyr Project: APIs - Tuesday, 29 December 2020 #cal-cancelled

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

Cancelled: Zephyr Project: APIs

This event has been cancelled.

When:
Tuesday, 29 December 2020
5:00pm to 6:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

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
 
 
________________________________________________________________________________


Cancelled Event: Zephyr Project: APIs - Tuesday, 22 December 2020 #cal-cancelled

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

Cancelled: Zephyr Project: APIs

This event has been cancelled.

When:
Tuesday, 22 December 2020
5:00pm to 6:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

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
 
 
________________________________________________________________________________


Re: Canopen node nRF52832

Alexander Wachter
 

Hi Cristian,

Macros prefixed with CONFIG_ come from Kconfig.
Never try to set them in your application.
CONFIG_CAN_MAX_FILTER=13 goes to your mcp2515.conf
The CAN_MAX_FILTER is used in the MCP2515 driver,
and if you set it in some of your files, it won't end up in the driver.

As Marti already mentioned, you also need to allow MPU flash writes.

Cheers,

Alex

On 09.12.20 11:54, Cristian Anceschi wrote:
Hi all
I'm quite new on Zephyr and on CAN BUS so my question might have an easy or obvious answer.
I'm on Ubuntu and I'm using an nRF52DK nRF52832 (PCA10040) wired to a custom board equipped with a MCP2515 and a MCP2551 devices.
Is the samples\subsys\canbus\canopen suitable for an hardware like the one I'm using?
If so, any hints on how make this sample working?
1)
I can compile it  from command line with
west build -b nrf52dk_nrf52832 samples\subsys\canbus\canopen -DSHIELD=dfrobot_can_bus_v2_0 -DCONF_FILE=prj.mcp2515.conf
declaring in subsys\canbus\canopen\CO_driver.c (even though I thought it wasn't really need to declare this here)
#define CONFIG_CAN_MAX_FILTER 13
and prj.mcp2515.conf as attachment
Executing the project, I get the attached log file with a series of error messages and this stucks me here for this moment.
2)
Just to give some more info, I'd like to say that I did compile the samples/drivers/can from command line launching this
west build -b nrf52dk_nrf52832 samples/drivers/can/ -DSHIELD=dfrobot_can_bus_v2_0 -DCONF_FILE=prj.mcp2515.conf
and everything works as expected (tested using a CAN sniffer).
But it is not clear to me how to add in this project the CANOpen stack library.
Thanks in advance for the support
Kind regards
Crisian
--
Ing Cristian Anceschi
Galileo Engineering s.r.l.
Via Cavallotti 16
IT - 42122 Reggio Emilia
Phone +39 0522 920496 / +39 0522 516244
Fax     +39 0522 920496 / +39 0522 516244
Privacy - Le informazioni contenute nel presente messaggio di posta elettronica ed in ogni allegato sono da ritenersi informazioni riservate. Chi ricevesse il presente messaggio senza esserne l'effettivo destinatario è rigorosamente tenuto a evitarne ogni divulgazione, diffusione o riproduzione, ai sensi del D.Lgs n.196/2003. Qualora abbiate ricevuto la presente comunicazione per errore siete pregati di distruggerla e di segnalarlo al mittente. Grazie.
Privacy - The information contained in this e-mail message and any attached files are considered private information. If you have received this message without being the intended recipient, prevent any dissemination or reproduction. If you are not the addressee, please contact the sender and destroy all copies of the original message. Thanks.


Cancelled Event: Zephyr Project: Dev Meeting - Thursday, 31 December 2020 #cal-cancelled

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

Cancelled: Zephyr Project: Dev Meeting

This event has been cancelled.

When:
Thursday, 31 December 2020
4:00pm to 5:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

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
 
 
________________________________________________________________________________


Cancelled Event: Zephyr Project: Dev Meeting - Thursday, 24 December 2020 #cal-cancelled

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

Cancelled: Zephyr Project: Dev Meeting

This event has been cancelled.

When:
Thursday, 24 December 2020
4:00pm to 5:00pm
(UTC+00:00) UTC

Where:
Microsoft Teams Meeting

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
 
 
________________________________________________________________________________

541 - 560 of 8046