Difference between revisions of "Zephyr RTOS releases"

From Wiki at Neela Nurseries
Jump to: navigation, search
m
m (2023-06-13 - Ted retiring page, marking for eventual removal)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
<center>
 +
<font size="6" color="#ff0000">
 +
LOCAL PAGE RETIRED 2023-06-13
 +
</font>
 +
</center>
  
 
2022-07-26 martes, mangalvaar . . .
 
2022-07-26 martes, mangalvaar . . .
Line 24: Line 28:
  
 
Change in Zephyr 2.6.0 [zephyr_root]/include/net/socket_ncs.h:22:#define AT_LTE PF_LTE /** Address family specific to LTE. */
 
Change in Zephyr 2.6.0 [zephyr_root]/include/net/socket_ncs.h:22:#define AT_LTE PF_LTE /** Address family specific to LTE. */
 +
 +
This Zephyr RTOS change affects the building of Nordic ncs v1.6.1 sample app aws_iot, which contains a file in nrf/boards/arm/nrf9160/board_nonsecure.c.  This file references the deprecated symbols AF_LTE and NPROTO_AT.  This source file is absent in nrf v2.0.1.  References to MAGPIO in the later nrf release appear only in Kconfig files, not the file board_nonsecure.c.
 +
 +
When renaming board_nonsecure.c to attempt project build without it, following error occurs:
 +
 +
<pre>
 +
CMake Error at /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:418 (add_library):
 +
  Cannot find source file:
 +
 +
    board_nonsecure.c
 +
 +
  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
 +
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
 +
Call Stack (most recent call first):
 +
  /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:392 (zephyr_library_named)
 +
  boards/arm/pulse-pro/CMakeLists.txt:13 (zephyr_library)
 +
 +
 +
CMake Error at /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:418 (add_library):
 +
  No SOURCES given to target:
 +
  ..__hardware-Stage1-firmware__boards__arm__pulse-pro
 +
Call Stack (most recent call first):
 +
  /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:392 (zephyr_library_named)
 +
  boards/arm/pulse-pro/CMakeLists.txt:13 (zephyr_library)
 +
</pre>
  
  
Line 29: Line 58:
 
== [[#top|^]] References ==
 
== [[#top|^]] References ==
  
*  https://blogs.transparent.com/hindi/days-of-the-week-in-hindi/
+
*  https://devzone.nordicsemi.com/f/nordic-q-a/89367/af_lte-and-nproto_at-alternatives-27-06-2022
  
 
<!-- EOF -->
 
<!-- EOF -->

Latest revision as of 22:32, 13 June 2023

LOCAL PAGE RETIRED 2023-06-13

2022-07-26 martes, mangalvaar . . .


Change to at_cmd.h header file and larger library:

Calls to `rstatus = at_cmd_write("AT+CFUN=1", buffer_at_response, sizeof(buffer_at_response), NULL)` must become calls to `int nrf_modem_at_cmd(void *buf, size_t len, const char *fmt, ...);`

Change in power management from Zephyr 2.6.0 to 3.0.99:

ted@localhost:~/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr$ grep -nr pm_device_state_set ./*
./doc/releases/release-notes-2.6.rst:120:  ``pm_device_state_set`` and ``pm_device_state_get`` in order to align with
./doc/releases/release-notes-3.0.rst:794:  * :c:func:`pm_device_state_set` is deprecated in favor of utilizing :c:func:`pm_device_action_run`.


Change in Zephyr 2.6.0 [zephyr_root]/include/net/socket_ncs.h:22:#define AT_LTE PF_LTE /** Address family specific to LTE. */

This Zephyr RTOS change affects the building of Nordic ncs v1.6.1 sample app aws_iot, which contains a file in nrf/boards/arm/nrf9160/board_nonsecure.c. This file references the deprecated symbols AF_LTE and NPROTO_AT. This source file is absent in nrf v2.0.1. References to MAGPIO in the later nrf release appear only in Kconfig files, not the file board_nonsecure.c.

When renaming board_nonsecure.c to attempt project build without it, following error occurs:

CMake Error at /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:418 (add_library):
  Cannot find source file:

    board_nonsecure.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
Call Stack (most recent call first):
  /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:392 (zephyr_library_named)
  boards/arm/pulse-pro/CMakeLists.txt:13 (zephyr_library)


CMake Error at /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:418 (add_library):
  No SOURCES given to target:
  ..__hardware-Stage1-firmware__boards__arm__pulse-pro
Call Stack (most recent call first):
  /home/ted/projects-sandbox/workspace-hardware-Stage1-firmware/zephyr/cmake/modules/extensions.cmake:392 (zephyr_library_named)
  boards/arm/pulse-pro/CMakeLists.txt:13 (zephyr_library)


^ References