Date   

Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9768 : test: do not merge
- https://gerrit.zephyrproject.org/r/9766 : kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS
- https://gerrit.zephyrproject.org/r/9767 : kernel: add LEGACY_KERNEL option
- https://gerrit.zephyrproject.org/r/9707 : doc: add template for sample documentation
- https://gerrit.zephyrproject.org/r/9706 : boards: add quark_d2000_crb documentation
- https://gerrit.zephyrproject.org/r/9703 : boards: prepare for integration of board documentation
- https://gerrit.zephyrproject.org/r/9724 : Bluetooth: ATT: Fix redundant sys_slist call
- https://gerrit.zephyrproject.org/r/9709 : Bluetooth: SDP: Add API to extract Attribute Value
- https://gerrit.zephyrproject.org/r/9762 : RFC: CI: rearchitect with a framework that orchestrates running
- https://gerrit.zephyrproject.org/r/9764 : samples/mbedtls_dtlsserver DTLS server example app using mbedTLS
- https://gerrit.zephyrproject.org/r/9765 : samples/net: Remove legacy reference in Makefile
- https://gerrit.zephyrproject.org/r/9725 : gcc (ARC): Prevent stores to the frame before the stack adjustment.
- https://gerrit.zephyrproject.org/r/9723 : tests: kernel: threads_scheduling: increased stack size to 512 for riscv32 architecture
- https://gerrit.zephyrproject.org/r/9721 : tests: kernel: context: account for riscv32 architecture
- https://gerrit.zephyrproject.org/r/9722 : test: legacy: kernel: context: account for riscv32 architecture
- https://gerrit.zephyrproject.org/r/9720 : libc-hooks: added USED_RAM_SIZE and MAX_HEAP_SIZE definitions for riscv32
- https://gerrit.zephyrproject.org/r/9718 : Bluetooth: UUID: Fix format specifier in 128-UUID
- https://gerrit.zephyrproject.org/r/9714 : Bluetooth: SDP: Use ProfileDescriptorList API in BTshell
- https://gerrit.zephyrproject.org/r/9716 : Bluetooth: SDP: Use SupportedFeature attr API in BTshell
- https://gerrit.zephyrproject.org/r/9711 : Bluetooth: SDP: Get ProtocolDescriptorList attrbute internals
- https://gerrit.zephyrproject.org/r/9712 : Bluetooth: SDP: Use ProtocolDescriptorList attr API in BTshell
- https://gerrit.zephyrproject.org/r/9717 : Bluetooth: SDP: Add getting A2SRC in BTshell
- https://gerrit.zephyrproject.org/r/9715 : Bluetooth: SDP: Add API to get SupportedFeature attribute
- https://gerrit.zephyrproject.org/r/9710 : Bluetooth: SDP: Add SDP client interface to BTshell app
- https://gerrit.zephyrproject.org/r/9713 : Bluetooth: SDP: Add API to get ProfileDescriptorList attribute
- https://gerrit.zephyrproject.org/r/9702 : arch: Fix support for Cortex-M7 processor
- https://gerrit.zephyrproject.org/r/9701 : pinmux/stm32: default pin assignment for STM32373C-EVAL board
- https://gerrit.zephyrproject.org/r/9700 : pinmux/stm32: default pin assignment for NUCLEO-F334R8 board
- https://gerrit.zephyrproject.org/r/9699 : pinmux/stm32: default pin assignment for STM3210C-EVAL board
- https://gerrit.zephyrproject.org/r/9693 : pinmux/stm32: extend pinmux driver functionality to support STM32F3X series MCUs

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9363 : arch: nrf5: Add option for enabling internal DCDC
- https://gerrit.zephyrproject.org/r/8949 : samples: zperf: Correct the include files path to eliminate compile errors
- https://gerrit.zephyrproject.org/r/7615 : boards: add initial support for STM32373C-EVAL with SoC STM32F373VC
- https://gerrit.zephyrproject.org/r/7614 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/8930 : subsys: disk: Refactor disk_access stuff into a directory
- https://gerrit.zephyrproject.org/r/4872 : DO NOT MERGE: k_poll: asynchronous I/O framework
- https://gerrit.zephyrproject.org/r/9371 : samples/mbedtls_dtlsclient: IPv6 client version
- https://gerrit.zephyrproject.org/r/9462 : tests: kernel: added memory pool concept test
- https://gerrit.zephyrproject.org/r/9439 : tests: add timer test case with unified kernel
- https://gerrit.zephyrproject.org/r/7064 : arch: added support for the riscv32 architecture
- https://gerrit.zephyrproject.org/r/8711 : timer: added support for the riscv-qemu timer driver
- https://gerrit.zephyrproject.org/r/9091 : libc: add support for risc v
- https://gerrit.zephyrproject.org/r/9092 : sanitycheck: riscv: add vector to recognised sections
- https://gerrit.zephyrproject.org/r/9094 : tests: bitfield: exclude riscv since it is not supported
- https://gerrit.zephyrproject.org/r/7066 : unified: added _MOVE_INSTR for RISCV32 architecture
- https://gerrit.zephyrproject.org/r/8713 : boards: added support for the qemu_riscv32 board
- https://gerrit.zephyrproject.org/r/8712 : serial: added support for the riscv-qemu UART driver
- https://gerrit.zephyrproject.org/r/8709 : riscv32: added support for the pulpino soc
- https://gerrit.zephyrproject.org/r/9093 : sanitycheck: add support for risc v boards
- https://gerrit.zephyrproject.org/r/7067 : timer: added timer driver for the pulpino SOC
- https://gerrit.zephyrproject.org/r/8960 : gpio: added support for the pulpino GPIO controller driver
- https://gerrit.zephyrproject.org/r/8710 : riscv32: added support for the riscv32-qemu soc
- https://gerrit.zephyrproject.org/r/7065 : kernel: updated default IDLE_STACK_SIZE to 512 for RISCV32
- https://gerrit.zephyrproject.org/r/7738 : RFC: Add device tree support for ARM platforms
- https://gerrit.zephyrproject.org/r/7068 : boards: added support for the zedboard_pulpino board
- https://gerrit.zephyrproject.org/r/7063 : scripts: added Makefile to handle an external riscv32 toolchain
- https://gerrit.zephyrproject.org/r/9356 : quark_se: PM: Add multicore support
- https://gerrit.zephyrproject.org/r/9682 : quark_d2000: Add shared GDT memory to linker
- https://gerrit.zephyrproject.org/r/9680 : quark_se: Fix restore info address
- https://gerrit.zephyrproject.org/r/9681 : quark_se: Add shared GDT in RAM memory to linker
- https://gerrit.zephyrproject.org/r/9488 : kernel/arch: optimize memory use of some thread fields
- https://gerrit.zephyrproject.org/r/9325 : gpio/stm32: provide GPIO driver implementation for STM32F3X family
- https://gerrit.zephyrproject.org/r/9230 : gpio/nrf5: Support drive strength configuration.

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9708 : zephyr-env: don't fail unnecesarily when 'set -e'
- https://gerrit.zephyrproject.org/r/9761 : samples: minor documentation tweaks
- https://gerrit.zephyrproject.org/r/9726 : net: l2: bluetooth: Fix build break in ipsp_disconnected
- https://gerrit.zephyrproject.org/r/9728 : net: do not skip sanitycheck on samples
- https://gerrit.zephyrproject.org/r/9694 : samples: button: convert to rst and expand documentation
- https://gerrit.zephyrproject.org/r/9695 : samples: disco: convert to rst and expand documentation
- https://gerrit.zephyrproject.org/r/9698 : samples: sensors: fix documentation layout of MCP9808 sample
- https://gerrit.zephyrproject.org/r/9697 : samples: sensors: fix documentation layout of TH02 sample
- https://gerrit.zephyrproject.org/r/9704 : Merge net branch into master
- https://gerrit.zephyrproject.org/r/9657 : drivers: aio: remove aio disabling before invoking callback
- https://gerrit.zephyrproject.org/r/9640 : doc: remove duplicate and outdated configuration file
- https://gerrit.zephyrproject.org/r/9685 : driver: gpio: remove nano_timer code
- https://gerrit.zephyrproject.org/r/9608 : doc: move documetnation context to root directory
- https://gerrit.zephyrproject.org/r/7611 : boards: add initial support for STM3210C-EVAL board with SoC STM32F107VC
- https://gerrit.zephyrproject.org/r/7622 : clock/stm32: add STM32F107 reset and clock control
- https://gerrit.zephyrproject.org/r/7496 : soc/stm32f1: Add the new type of SoC STM32F107
- https://gerrit.zephyrproject.org/r/9487 : samples: put philosophers stacks in noinit section
- https://gerrit.zephyrproject.org/r/9486 : samples: speed up philosophers demo
- https://gerrit.zephyrproject.org/r/9480 : kernel/arch: streamline thread flag bits used
- https://gerrit.zephyrproject.org/r/9481 : nios2: remove unused INT_ACTIVE/EXC_ACTIVE thread flags
- https://gerrit.zephyrproject.org/r/9478 : kernel: make _thread.sched_locked a non-atomic operator variable
- https://gerrit.zephyrproject.org/r/9479 : kernel/arch: reverse polarity on sched_locked
- https://gerrit.zephyrproject.org/r/9482 : dlist: add sys_dlist_peek_tail()
- https://gerrit.zephyrproject.org/r/9483 : kernel: do not use sys_dlist_insert_at() in _pend_thread()
- https://gerrit.zephyrproject.org/r/9484 : kernel: do not use sys_dlist_insert_at() in _add_timeout()
- https://gerrit.zephyrproject.org/r/9485 : kernel: add _timeout_q dump before and after adding timeout
- https://gerrit.zephyrproject.org/r/9595 : doc: remove obsolete file
- https://gerrit.zephyrproject.org/r/9470 : Makefile: All should be built if requested to do so


RFC: Board documentation

Nashif, Anas
 

Hi,

Sometime a go we used to have the board documentation in the tree, since then we move those to the wiki and right now there is some kind of disconnect between the boards we have in the source tree and whatever is on the wiki.

Similar to the sample documentation RFC from yesterday, here is one for board documentation. The TSC has decided to move board documentation back to the git repo and have the board documentation reside in the board directory. The idea is to have board act as drop-ins with all needed information, including documentation.

The documentation for a board shall have the following structure (feedback welcome):

[Board Name]
################

Overview
========
[A short description about the board, its main features and availability]

Hardware
=========
[General Hardware information]

Supported Features
---------------------------
[List of supported features and level of support in Zephyr]

Pin Map
------------
[Tables describing the board PINs and how they are configured and can be used to connect external components]

Programming and Debugging
=========================

Flashing
-----------
[How to use this board with Zephyr and how to flash a Zephyr binary on this device]


Debugging
---------------
[ How to debug this board]


References
=========
[ Links to external references such as datasheets or additional documentation]


and should be placed in the relevant board directory under doc/, so for example, for the quark d200 devboard, this will be in:

boards/x86/quark_d2000_crb/doc/quark_d2000_crb.rst

This will then be picked up by the top boards.rst under boards/ and placed in the online documentation at the right spot. There will be no need to include it in any other index files.

The relevant Gerrit that adds the first board back and integrates it into the system is here: https://gerrit.zephyrproject.org/r/#/c/9703/


Feedback welcome.

Anas


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 6
[ZEP-1520] Add support for computing IP, TCP, UDP checksums in hardware
https://jira.zephyrproject.org/browse/ZEP-1520

[ZEP-1523] RFC: Sample Documentation
https://jira.zephyrproject.org/browse/ZEP-1523

[ZEP-1517] frdm k64f bus exception bug.
https://jira.zephyrproject.org/browse/ZEP-1517

[ZEP-1516] Footprint of ROM for FIFO and LILO increrased more than 10%
https://jira.zephyrproject.org/browse/ZEP-1516

[ZEP-1518] Footprint of ROM and RAM in regular config increased more than 10%
https://jira.zephyrproject.org/browse/ZEP-1518

[ZEP-1519] Footprint of ROM and RAM in regular config increased more than 10%
https://jira.zephyrproject.org/browse/ZEP-1519


UPDATED JIRA items within last 24 hours: 38
[ZEP-820] HTTP v1.1 Server Sample
https://jira.zephyrproject.org/browse/ZEP-820

[ZEP-1457] Add SPDX Tags to Zephyr licence boilerplate
https://jira.zephyrproject.org/browse/ZEP-1457

[ZEP-1400] IoTivity
https://jira.zephyrproject.org/browse/ZEP-1400

[ZEP-1012] NATS client port to new IP stack
https://jira.zephyrproject.org/browse/ZEP-1012

[ZEP-791] TCP
https://jira.zephyrproject.org/browse/ZEP-791

[ZEP-712] Provide prebuilt SDK on all platforms
https://jira.zephyrproject.org/browse/ZEP-712

[ZEP-1251] Abstract driver re-entrancy code
https://jira.zephyrproject.org/browse/ZEP-1251

[ZEP-1389] Add support for KW41 SoC
https://jira.zephyrproject.org/browse/ZEP-1389

[ZEP-1390] Add support for FRDM-KW41Z
https://jira.zephyrproject.org/browse/ZEP-1390

[ZEP-359] Move QEMU handling to a central location
https://jira.zephyrproject.org/browse/ZEP-359

[ZEP-1300] ARM LTD V2M Beetle Support [Phase 2]
https://jira.zephyrproject.org/browse/ZEP-1300

[ZEP-1414] implement _tsc_read for all architectures
https://jira.zephyrproject.org/browse/ZEP-1414

[ZEP-958] simplify pinmux interface and merge the pinmux_dev into one single API
https://jira.zephyrproject.org/browse/ZEP-958

[ZEP-235] Provide an interface for cpu/soc id and version
https://jira.zephyrproject.org/browse/ZEP-235

[ZEP-150] Support out-of-tree board definitions
https://jira.zephyrproject.org/browse/ZEP-150

[ZEP-587] File system - Flash management layer optimization
https://jira.zephyrproject.org/browse/ZEP-587

[ZEP-903] Create APIs for app to create and mount FS
https://jira.zephyrproject.org/browse/ZEP-903

[ZEP-904] Look into supporting additional file systems under Zephyr FS API
https://jira.zephyrproject.org/browse/ZEP-904

[ZEP-1388] Add support for KW40 SoC
https://jira.zephyrproject.org/browse/ZEP-1388

[ZEP-1391] Add support for Hexiwear KW40
https://jira.zephyrproject.org/browse/ZEP-1391

[ZEP-552] Makefile can be enhanced to call out error when a configuration is not valid to build
https://jira.zephyrproject.org/browse/ZEP-552

[ZEP-339] Tickless Kernel
https://jira.zephyrproject.org/browse/ZEP-339

[ZEP-781] Streamline GPIO, Pinmux driver API
https://jira.zephyrproject.org/browse/ZEP-781

[ZEP-585] enable GCC link-time optimization
https://jira.zephyrproject.org/browse/ZEP-585

[ZEP-1513] Port legacy kernel and benchmark tests to unified kernel
https://jira.zephyrproject.org/browse/ZEP-1513

[ZEP-1103] Propose and implement synchronization flow for multicore power management
https://jira.zephyrproject.org/browse/ZEP-1103

[ZEP-759] Add preliminary support for Atmel SAM E70 (Cortex-M7) chipset family and SAM E70 Xplained board
https://jira.zephyrproject.org/browse/ZEP-759

[ZEP-847] IoT protocol functionality must be moved from samples to lib/iot
https://jira.zephyrproject.org/browse/ZEP-847

[ZEP-719] Add ksdk uart shim driver
https://jira.zephyrproject.org/browse/ZEP-719

[ZEP-1374] Add ksdk spi shim driver
https://jira.zephyrproject.org/browse/ZEP-1374

[ZEP-1394] Add ksdk gpio driver
https://jira.zephyrproject.org/browse/ZEP-1394

[ZEP-873] DMA API Update
https://jira.zephyrproject.org/browse/ZEP-873

[ZEP-1403] remove CONFIG_OMIT_FRAME_POINTER from ARC boards
https://jira.zephyrproject.org/browse/ZEP-1403

[ZEP-1274] galileo has pinmux driver in boards/x86/galileo/, while all the rest in drivers/pinmux/
https://jira.zephyrproject.org/browse/ZEP-1274

[ZEP-1438] AIO: AIO Comparator is not stable on Quark D2000
https://jira.zephyrproject.org/browse/ZEP-1438

[ZEP-1447] zephyr/tests/crypto/test_mbedtls: when build the app `ROM' overflowed
https://jira.zephyrproject.org/browse/ZEP-1447

[ZEP-1432] ksdk pinmux driver should expose the public pinmux API
https://jira.zephyrproject.org/browse/ZEP-1432

[ZEP-1507] fxos8700 broken gpio_callback implementation
https://jira.zephyrproject.org/browse/ZEP-1507


CLOSED JIRA items within last 24 hours: 23
[ZEP-1214] (Fixed) Create test for message queue kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1214

[ZEP-1212] (Fixed) Create test for alert kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1212

[ZEP-1217] (Fixed) Create test for thread kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1217

[ZEP-1207] (Fixed) Create test for semaphore kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1207

[ZEP-1213] (Fixed) Create test for stack kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1213

[ZEP-1211] (Fixed) Create test for mutex kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1211

[ZEP-734] (Fixed) Port AES-CMAC-PRF-128 [RFC 4615] encryption library for Thread support
https://jira.zephyrproject.org/browse/ZEP-734

[ZEP-1292] (Fixed) Update external mbed TLS library to latest version (2.4.0)
https://jira.zephyrproject.org/browse/ZEP-1292

[ZEP-1109] (Fixed) Texas Instruments CC3200 LaunchXL Support
https://jira.zephyrproject.org/browse/ZEP-1109

[ZEP-1327] (Fixed) Eliminate obsolete kernel directories
https://jira.zephyrproject.org/browse/ZEP-1327

[ZEP-1401] (Fixed) Enhance ready queue cache and interrupt exit code to reduce interrupt latency.
https://jira.zephyrproject.org/browse/ZEP-1401

[ZEP-1172] (Fixed) Update logger Api to allow using a hook for SYS_LOG_BACKEND_FN function
https://jira.zephyrproject.org/browse/ZEP-1172

[ZEP-1395] (Done) Add data ready trigger to FXOS8700 driver
https://jira.zephyrproject.org/browse/ZEP-1395

[ZEP-716] (Fixed) Add Hexiwear board support
https://jira.zephyrproject.org/browse/ZEP-716

[ZEP-717] (Fixed) Add ksdk I2C shim driver
https://jira.zephyrproject.org/browse/ZEP-717

[ZEP-1393] (Done) Add ksdk pinmux driver
https://jira.zephyrproject.org/browse/ZEP-1393

[ZEP-715] (Fixed) Add K64F clock configurations
https://jira.zephyrproject.org/browse/ZEP-715

[ZEP-1422] (Fixed) Arduino_101 doesn't response ipv6 ping request affer enable echo_client ipv6
https://jira.zephyrproject.org/browse/ZEP-1422

[ZEP-1473] (Fixed) ARP cache confused by use of gateway.
https://jira.zephyrproject.org/browse/ZEP-1473

[ZEP-1489] (Fixed) [GATT] Nested Long Characteristic Value Reliable Writes
https://jira.zephyrproject.org/browse/ZEP-1489

[ZEP-1440] (Fixed) Kconfig choice for MINIMAL_LIBC vs NEWLIB_LIBC is not selectable
https://jira.zephyrproject.org/browse/ZEP-1440

[ZEP-1467] (Fixed) Cleanup misc/ and move features to subsystems in subsys/
https://jira.zephyrproject.org/browse/ZEP-1467

[ZEP-1415] (Fixed) drivers/timer/* code comments still refer to micro/nano kernel
https://jira.zephyrproject.org/browse/ZEP-1415


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9692 : doc: Include main Network APIs doxygen documentation
- https://gerrit.zephyrproject.org/r/9685 : driver: gpio: remove nano_timer code
- https://gerrit.zephyrproject.org/r/9682 : quark_d2000: Add shared GDT memory to linker
- https://gerrit.zephyrproject.org/r/9681 : quark_se: Add shared GDT in RAM memory to linker
- https://gerrit.zephyrproject.org/r/9680 : quark_se: Fix restore info address
- https://gerrit.zephyrproject.org/r/9678 : http: add server sample
- https://gerrit.zephyrproject.org/r/9677 : tests: crypto: mbedTLS: Excluding quark D2000 Board due low memory

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9230 : gpio/nrf5: Support drive strength configuration.
- https://gerrit.zephyrproject.org/r/7626 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/7625 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/7623 : clock/stm32: add STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/9325 : gpio/stm32: provide GPIO driver implementation for STM32F3X family
- https://gerrit.zephyrproject.org/r/7615 : boards: add initial support for STM32373C-EVAL with SoC STM32F373VC
- https://gerrit.zephyrproject.org/r/7613 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/7622 : clock/stm32: add STM32F107 reset and clock control
- https://gerrit.zephyrproject.org/r/7614 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/7611 : boards: add initial support for STM3210C-EVAL board with SoC STM32F107VC
- https://gerrit.zephyrproject.org/r/7496 : soc/stm32f1: Add the new type of SoC STM32F107
- https://gerrit.zephyrproject.org/r/9488 : kernel/arch: optimize memory use of some thread fields
- https://gerrit.zephyrproject.org/r/9485 : kernel: add _timeout_q dump before and after adding timeout
- https://gerrit.zephyrproject.org/r/9484 : kernel: do not use sys_dlist_insert_at() in _add_timeout()
- https://gerrit.zephyrproject.org/r/9483 : kernel: do not use sys_dlist_insert_at() in _pend_thread()
- https://gerrit.zephyrproject.org/r/9482 : dlist: add sys_dlist_peek_tail()
- https://gerrit.zephyrproject.org/r/9479 : kernel/arch: reverse polarity on sched_locked
- https://gerrit.zephyrproject.org/r/9653 : net: slip: Do not remove fragments when sending data
- https://gerrit.zephyrproject.org/r/9652 : net: buf: tailroom and headroom functions should take const pointer
- https://gerrit.zephyrproject.org/r/9229 : gpio: Support drive strength configuration.
- https://gerrit.zephyrproject.org/r/8824 : drivers: spi_k64: Set PCS as activ low and continuous per default
- https://gerrit.zephyrproject.org/r/8893 : drivers: spi_k64: Fix premature shutdown of SPI
- https://gerrit.zephyrproject.org/r/8823 : drivers: spi_k64: Fix slave select
- https://gerrit.zephyrproject.org/r/8949 : samples: zperf: Correct the include files path to eliminate compile errors
- https://gerrit.zephyrproject.org/r/7738 : RFC: Add device tree support for ARM platforms
- https://gerrit.zephyrproject.org/r/5504 : dma: Introduce STM32F4x DMA driver
- https://gerrit.zephyrproject.org/r/9674 : drivers: gpio: Set the line to the pull by default
- https://gerrit.zephyrproject.org/r/9660 : Bluetooth: Controller: Conditional compile roles
- https://gerrit.zephyrproject.org/r/9573 : Bluetooth: Controller: conditional compile advertiser only
- https://gerrit.zephyrproject.org/r/9516 : drivers: Add Atmel SAM family GMAC Ethernet driver
- https://gerrit.zephyrproject.org/r/9461 : tests: kernel: added memory pool api test
- https://gerrit.zephyrproject.org/r/9439 : tests: add timer test case with unified kernel
- https://gerrit.zephyrproject.org/r/8711 : timer: added support for the riscv-qemu timer driver
- https://gerrit.zephyrproject.org/r/8941 : drivers/flash: add stm32F4xx flash driver
- https://gerrit.zephyrproject.org/r/9659 : AON [Test Only]: test AON counter and timer
- https://gerrit.zephyrproject.org/r/7182 : tests: add pipe test cases which use unified kernel
- https://gerrit.zephyrproject.org/r/8960 : gpio: added support for the pulpino GPIO controller driver
- https://gerrit.zephyrproject.org/r/9657 : drivers: aio: remove aio disabling before invoking callback
- https://gerrit.zephyrproject.org/r/7063 : scripts: added Makefile to handle an external riscv32 toolchain
- https://gerrit.zephyrproject.org/r/7064 : arch: added support for the riscv32 architecture
- https://gerrit.zephyrproject.org/r/9478 : kernel: make _thread.sched_locked a non-atomic operator variable
- https://gerrit.zephyrproject.org/r/9371 : samples/mbedtls_dtlsclient: IPv6 client version
- https://gerrit.zephyrproject.org/r/9608 : doc: move documetnation context to root directory
- https://gerrit.zephyrproject.org/r/8922 : scripts: Add device tree parser script
- https://gerrit.zephyrproject.org/r/8952 : samples: disco: updated disco app to be board dependent
- https://gerrit.zephyrproject.org/r/7104 : drivers: spi: Add nRF5 SPI slave driver
- https://gerrit.zephyrproject.org/r/9663 : Bluetooth: AVDTP: Add AVDTP Receive Function
- https://gerrit.zephyrproject.org/r/9373 : Bluetooth: AVDTP: Add AVDTP Discover API Prototype

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9676 : samples: env sensing: restrurcture and cleanup docs
- https://gerrit.zephyrproject.org/r/9688 : net: ieee802154: Fix logging primitive in mgmt part
- https://gerrit.zephyrproject.org/r/9689 : net: ieee802154: Expose basic network parameters through net mgmt API
- https://gerrit.zephyrproject.org/r/9690 : net: ieee802154: Add a shell module named 'ieee15_4'
- https://gerrit.zephyrproject.org/r/9691 : samples: net: Add IEEE 802.15.4 shell module on cc2520 sample
- https://gerrit.zephyrproject.org/r/9683 : net/dns: Fix documentation issues
- https://gerrit.zephyrproject.org/r/9679 : MAINTAINERS: add tests/kernel to kernel section
- https://gerrit.zephyrproject.org/r/9675 : Merge bluetooth branch into master
- https://gerrit.zephyrproject.org/r/9656 : net: tcp: Use appdatalen when acknowledging packets
- https://gerrit.zephyrproject.org/r/9651 : net: tcp: Be more consistent with namespaces for private funcs
- https://gerrit.zephyrproject.org/r/9655 : net: tcp: Store return value of net_buf_frags_len() on a size_t
- https://gerrit.zephyrproject.org/r/9654 : net: tcp: Remove unused `retransmit_timer` field from `net_tcp`
- https://gerrit.zephyrproject.org/r/9650 : net: tcp: Precompute appdata properly
- https://gerrit.zephyrproject.org/r/9649 : net: tcp: Swap tcp->context backpointers
- https://gerrit.zephyrproject.org/r/9648 : net: tcp: Select correct source address for SYNACK packets
- https://gerrit.zephyrproject.org/r/9667 : doc: hello world: move to rst and expand docuemntation
- https://gerrit.zephyrproject.org/r/9668 : doc: synchronization: move to rst syntax
- https://gerrit.zephyrproject.org/r/9669 : doc: philosophers: move to rst syntax
- https://gerrit.zephyrproject.org/r/9670 : doc: grove lcd: move to rst syntax
- https://gerrit.zephyrproject.org/r/9564 : net/dns: Introduce the qname_copy routine
- https://gerrit.zephyrproject.org/r/9554 : net/mqtt: Add the reception callback
- https://gerrit.zephyrproject.org/r/9557 : net/mqtt: Allow an MQTT publisher app to receive msgs
- https://gerrit.zephyrproject.org/r/9559 : net/mqtt: Improve buffer error handling in mqtt_tx routines
- https://gerrit.zephyrproject.org/r/9558 : net/mqtt: Allow an MQTT subscriber app to receive msgs
- https://gerrit.zephyrproject.org/r/9552 : net/mqtt: Improve indentation
- https://gerrit.zephyrproject.org/r/9560 : net/mqtt: Improve error handling in mqtt_rx_connack routine
- https://gerrit.zephyrproject.org/r/9556 : net/mqtt: Add the mqtt_rx_publish routine
- https://gerrit.zephyrproject.org/r/9553 : net/mqtt: Use the right data type
- https://gerrit.zephyrproject.org/r/9555 : net/mqtt: Add missing function prototypes
- https://gerrit.zephyrproject.org/r/9550 : net/nbuf: Introduce the net_nbuf_linear_copy routine
- https://gerrit.zephyrproject.org/r/9551 : net/mqtt: Make input arguments const
- https://gerrit.zephyrproject.org/r/9549 : net/protocols: Remove unnecessary assignement in Makefiles
- https://gerrit.zephyrproject.org/r/9490 : tests/gpio: fix typo
- https://gerrit.zephyrproject.org/r/9591 : Makefile (arc/soc/em*): New compiler options
- https://gerrit.zephyrproject.org/r/9592 : Makefile (arc/soc/quark_se): New compiler options
- https://gerrit.zephyrproject.org/r/9615 : arm: nvic: Fix exception priority access on Cortex-M0(+)
- https://gerrit.zephyrproject.org/r/9616 : arm: Cortex-M0: Adapt core register code to M0
- https://gerrit.zephyrproject.org/r/7448 : ext: lib: mbedtls : Upgrading mbedTLS library
- https://gerrit.zephyrproject.org/r/8950 : samples: button: set EDGE to SW0_GPIO_INT_CONF if defined
- https://gerrit.zephyrproject.org/r/9673 : sensor/bmc150: Fix layout.
- https://gerrit.zephyrproject.org/r/9672 : sensor/bmc150: Drop unncessary external definition.
- https://gerrit.zephyrproject.org/r/9671 : sensor/nrf5_temp: Drop unncessary attribute set callback.
- https://gerrit.zephyrproject.org/r/7069 : serial: enable 64-bytes FIFO for UART 16750 in uart_ns16550 driver
- https://gerrit.zephyrproject.org/r/9665 : drivers: rtt: Lock interrupts around RTT Write
- https://gerrit.zephyrproject.org/r/9596 : pinmux: Remove stale ksdk pinmux dev references
- https://gerrit.zephyrproject.org/r/9597 : ksdk: mcux: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9658 : samples: net: Remove unnecessary eth_ksdk project settings
- https://gerrit.zephyrproject.org/r/9599 : i2c: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9598 : ethernet: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9600 : random: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9601 : flash: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9602 : pinmux: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9603 : ksdk: mcux: Remove config HAS_KSDK
- https://gerrit.zephyrproject.org/r/9604 : MAINTAINERS: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/6708 : script: collect random build issues
- https://gerrit.zephyrproject.org/r/9546 : Switch logrotate to build-discarder
- https://gerrit.zephyrproject.org/r/9520 : commit-message: Fix logging info
- https://gerrit.zephyrproject.org/r/9641 : doc: use conf.py from main project


Re: Windows setup issues

Sebastian Bøe <sebastianbooe at gmail.com...>
 

These issues are now reported in Jira.


New Nordic nRF5x Segger J-Link Wiki Page

Carles Cufi
 

Hi all,

In an effort to group together all the information available regarding the Segger J-Link software and firmware used in all Nordic nRF5x Development Kits, a new page has been created in the Wiki, to which the respective board pages link:

https://wiki.zephyrproject.org/view/Nordic_nRF5x_Segger_J-Link

I'm aware that we plan to switch back to git for the board documentation, and so this page should be made part of the transition when it happens.

Regards,

Carles


Windows setup issues

Sebastian Bøe <sebastianbooe at gmail.com...>
 

Hi,

I want to report 2 bugs related to the build system and tool dependencies on Windows.

1. The build system crashes when GCCARMEMB_TOOLCHAIN_PATH has a space in it.

2. The list of mingw dependencies is incomplete. To run menuconfig
you also need the package: msys-libncurses.

The first bug was confirmed on IRC, the second has not been confirmed.

PS: I would report this in Jira but I had some issues with the login ...


RFC: Improving sample documentation

Nashif, Anas
 

Hi,

Here is a quick proposal for improving documentation of samples and integrating them into the online documentation available on zephyrproject.org. The RFC is also tracked in Jira under

https://jira.zephyrproject.org/browse/ZEP-1523

I am including the full text here in case someone wants to comment inline.

I was using one existing sample as reference, it can be found here in Gerrit:

https://gerrit.zephyrproject.org/r/#/c/9676/3/samples/environmental_sensing/README.rst

comments welcome


-----

h2. Rationale

Many samples in the Zephyr tree have a README in free form or follow some legacy syntax that duplicates a few common sections and mostly targets building and running the sample in an emulated environment using QEMU.

As we expand support for boards in the Zephyr project and the complexity of samples and their hardware requirement grows, more detailed and consistent documentation is required.
Documentation of the samples should not be limited to the use case of opening a README using an editor, instead we want to make samples and their documentation available as part of the online Zephyr documentation on the main website and also create them in a way that would allow automated formatting when viewed in different environments, for example on github.com.

h2. Proposal

# All samples and demos shall have documentation
# Documentation of a sample shall reside in the root of the sample source directory, alongside the Makefile
# The name of the documentation file for a sample shall be: README.rst
# All samples, demos and tutorials included in the Zephyr project shall use the reStructuredText syntax for documenting the sample purpose and how it can be used
# All samples shall use the document structure provided below
# A sample shall provide instructions for at least one target platform
# A sample shall provide the expected output on the console or the expected behaviour of the attached hardware.
# A sample shall provide a list of all required hardware and software components to build and operate the sample on the supported target platforms


h2. Documentation Structure

[A Descriptive Title]
################

Overview
========
[A short description about the sample and what it does]

Requirements
============
[List of required software and hardware components. Provide pointers to hardware components such as sensors and shields]

Wiring
======
[For simple projects, a description of how to wire the board for the demo. For complex projects, provide a graphic with more details, preferably using Fritzing or some other visualisation tools]

Building and Running
==================
[ How to build the sample and how to run it. Pointers to where to find the sample in the source tree and how to configure it and run it for a specific target platform]

References
=========
[ Links to external references such as datasheets or additional documentation]


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 1
[ZEP-1514] samples/bluetooth/ipsp build fail: net/ip_buf.h No such file or directory
https://jira.zephyrproject.org/browse/ZEP-1514


UPDATED JIRA items within last 24 hours: 6
[ZEP-820] HTTP v1.1 Server Sample
https://jira.zephyrproject.org/browse/ZEP-820

[ZEP-791] TCP
https://jira.zephyrproject.org/browse/ZEP-791

[ZEP-854] CoAP with DTLS sample
https://jira.zephyrproject.org/browse/ZEP-854

[ZEP-902] Reduce the use of Kconfig for FS to minimum
https://jira.zephyrproject.org/browse/ZEP-902

[ZEP-1358] BMI160 accelerometer gives 0 on all axes
https://jira.zephyrproject.org/browse/ZEP-1358

[ZEP-1169] Sample mbedDTLS DTLS client stability on ethernet driver
https://jira.zephyrproject.org/browse/ZEP-1169


CLOSED JIRA items within last 24 hours: 2
[ZEP-1448] (Fixed) Samples/net/mbedtls_sslclient:Build fail as net/ip_buf.h can not be found
https://jira.zephyrproject.org/browse/ZEP-1448

[ZEP-1515] (Duplicate) samples/net/zperf build fail
https://jira.zephyrproject.org/browse/ZEP-1515


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9665 : drivers: rtt: Lock interrupts around RTT Write
- https://gerrit.zephyrproject.org/r/9674 : drivers: gpio: Set the line to the pull by default
- https://gerrit.zephyrproject.org/r/9673 : sensor/bmc150: Fix layout.
- https://gerrit.zephyrproject.org/r/9672 : sensor/bmc150: Drop unncessary external definition.
- https://gerrit.zephyrproject.org/r/9671 : sensor/nrf5_temp: Drop unncessary attribute set callback.
- https://gerrit.zephyrproject.org/r/9670 : doc: grove lcd: move to rst syntax
- https://gerrit.zephyrproject.org/r/9669 : doc: philosophers: move to rst syntax
- https://gerrit.zephyrproject.org/r/9668 : doc: synchronization: move to rst syntax
- https://gerrit.zephyrproject.org/r/9667 : doc: hello world: move to rst and expand docuemntation
- https://gerrit.zephyrproject.org/r/9660 : WIP: Bluetooth: Controller: Conditional compile roles
- https://gerrit.zephyrproject.org/r/9664 : sensor: Fix samples that assume incorrect sensor_value type.
- https://gerrit.zephyrproject.org/r/9663 : Bluetooth: AVDTP: Add AVDTP Receive Function
- https://gerrit.zephyrproject.org/r/9651 : net: tcp: Be more consistent with namespaces for private funcs
- https://gerrit.zephyrproject.org/r/9656 : net: tcp: Use appdatalen when acknowledging packets
- https://gerrit.zephyrproject.org/r/9655 : net: tcp: Store return value of net_buf_frags_len() on a size_t
- https://gerrit.zephyrproject.org/r/9654 : net: tcp: Remove unused `retransmit_timer` field from `net_tcp`
- https://gerrit.zephyrproject.org/r/9653 : net: slip: Do not remove fragments when sending data
- https://gerrit.zephyrproject.org/r/9652 : net: buf: tailroom and headroom functions should take const pointer
- https://gerrit.zephyrproject.org/r/9650 : net: tcp: Precompute appdata properly
- https://gerrit.zephyrproject.org/r/9649 : net: tcp: Swap tcp->context backpointers
- https://gerrit.zephyrproject.org/r/9648 : net: tcp: Select correct source address for SYNACK packets
- https://gerrit.zephyrproject.org/r/9641 : doc: use conf.py from main project
- https://gerrit.zephyrproject.org/r/9658 : samples: net: Remove unnecessary eth_ksdk project settings
- https://gerrit.zephyrproject.org/r/9659 : AON [Test Only]: test AON counter and timer
- https://gerrit.zephyrproject.org/r/9657 : drivers: aio: remove aio disabling before invoking callback
- https://gerrit.zephyrproject.org/r/9640 : doc: remove duplicate and outdated configuration file

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9608 : doc: move documetnation context to root directory
- https://gerrit.zephyrproject.org/r/6719 : Bluetooth: A2DP: Stream End Point Structure
- https://gerrit.zephyrproject.org/r/9331 : Bluetooth: A2DP: Adds accept state callback handlers
- https://gerrit.zephyrproject.org/r/6717 : Bluetooth: A2DP: A2DP sink service record registration
- https://gerrit.zephyrproject.org/r/7492 : Bluetooth: A2DP: Added Preset Structure
- https://gerrit.zephyrproject.org/r/6720 : Bluetooth: A2DP: Stream End Point Registration
- https://gerrit.zephyrproject.org/r/9573 : WIP: Bluetooth: Controller: conditional compile advertiser only
- https://gerrit.zephyrproject.org/r/5604 : drivers: spi: Add SPI_SLAVE flag to allow platform drivers to switch to slave mode
- https://gerrit.zephyrproject.org/r/9516 : drivers: Add Atmel SAM family GMAC Ethernet driver
- https://gerrit.zephyrproject.org/r/9460 : Bluetooth: AVDTP: Add AVDTP Discover Function Definition
- https://gerrit.zephyrproject.org/r/9373 : Bluetooth: AVDTP: Add AVDTP Discover API Prototype
- https://gerrit.zephyrproject.org/r/9446 : Bluetooth: AVDTP: Added pointer to Pending Request
- https://gerrit.zephyrproject.org/r/9356 : quark_se: PM: Add multicore support
- https://gerrit.zephyrproject.org/r/7103 : defconfig: 96b_carbon: Enable the SPI driver by default
- https://gerrit.zephyrproject.org/r/7102 : defconfig: nucleo_f401re: Enable the SPI driver by default
- https://gerrit.zephyrproject.org/r/9549 : net/protocols: Remove unnecessary assignement in Makefiles
- https://gerrit.zephyrproject.org/r/7100 : pinmux: 96b_carbon: Setup SPI pins on the board
- https://gerrit.zephyrproject.org/r/7099 : pinmux: nucleo_f401re: Setup SPI pins on the board
- https://gerrit.zephyrproject.org/r/7098 : pinmux: stm32f4: Setup SPI pins
- https://gerrit.zephyrproject.org/r/7101 : drivers: spi: Add STM32f4 SPI driver
- https://gerrit.zephyrproject.org/r/9558 : net/mqtt: Allow an MQTT subscriber app to receive msgs
- https://gerrit.zephyrproject.org/r/9557 : net/mqtt: Allow an MQTT publisher app to receive msgs
- https://gerrit.zephyrproject.org/r/9638 : Bluetooth: HFP HF: Handle +CIEV reponse
- https://gerrit.zephyrproject.org/r/9554 : net/mqtt: Add the reception callback
- https://gerrit.zephyrproject.org/r/9556 : net/mqtt: Add the mqtt_rx_publish routine
- https://gerrit.zephyrproject.org/r/9553 : net/mqtt: Use the right data type
- https://gerrit.zephyrproject.org/r/9637 : Bluetooth: AT: HFP HF: Handle unsolicited reponse
- https://gerrit.zephyrproject.org/r/9564 : net/dns: Introduce the qname_copy routine
- https://gerrit.zephyrproject.org/r/9550 : net/nbuf: Introduce the net_nbuf_linear_copy routine
- https://gerrit.zephyrproject.org/r/9598 : ethernet: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9520 : commit-message: Fix logging info
- https://gerrit.zephyrproject.org/r/9229 : gpio: Support drive strength configuration.
- https://gerrit.zephyrproject.org/r/9597 : ksdk: mcux: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9599 : i2c: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9601 : flash: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9604 : MAINTAINERS: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9600 : random: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9602 : pinmux: Rename ksdk to mcux
- https://gerrit.zephyrproject.org/r/9603 : ksdk: mcux: Remove config HAS_KSDK
- https://gerrit.zephyrproject.org/r/9461 : tests: kernel: added memory pool api test
- https://gerrit.zephyrproject.org/r/9591 : Makefile (arc/soc/em*): New compiler options
- https://gerrit.zephyrproject.org/r/9546 : Switch logrotate to build-discarder
- https://gerrit.zephyrproject.org/r/9592 : Makefile (arc/soc/quark_se): New compiler options
- https://gerrit.zephyrproject.org/r/9596 : pinmux: Remove stale ksdk pinmux dev references
- https://gerrit.zephyrproject.org/r/9616 : arm: Cortex-M0: Adapt core register code to M0

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9666 : Bluetooth: Fix potential race condition in bt_pub_key_gen()
- https://gerrit.zephyrproject.org/r/9662 : bluetooth: hci_uart: Allocate 65 bytes for L2CAP packets
- https://gerrit.zephyrproject.org/r/9661 : Bluetooth: RFCOMM: Implement timer in session
- https://gerrit.zephyrproject.org/r/9645 : net: samples: Fix stale yaip references
- https://gerrit.zephyrproject.org/r/9642 : maintainers: update KNOWN ISSUES and MAINTAINERS section
- https://gerrit.zephyrproject.org/r/9643 : Bluetooth: hci_ecc: Verify LE Generate DHKey command parameters
- https://gerrit.zephyrproject.org/r/9606 : doc: add JIRA macro
- https://gerrit.zephyrproject.org/r/9639 : doc: support official website theme
- https://gerrit.zephyrproject.org/r/9328 : Bluetooth: AVDTP:Add Accept Incoming connection cb
- https://gerrit.zephyrproject.org/r/7640 : samples: ieee802154: Let's proceed with an active scan
- https://gerrit.zephyrproject.org/r/7639 : net: ieee802154: Handle disassocation notification from PAN coordinator
- https://gerrit.zephyrproject.org/r/7638 : net: ieee802154: Add PAN disassociation request
- https://gerrit.zephyrproject.org/r/7637 : net: ieee80215: Add Active Scan request
- https://gerrit.zephyrproject.org/r/7636 : net: ieee802154: Integrate MAC Command frames handling
- https://gerrit.zephyrproject.org/r/7635 : net: ieee802154: Add PAN association request
- https://gerrit.zephyrproject.org/r/7634 : samples: net: ieee802154: Once cc2520 is up, let's initiate a scan
- https://gerrit.zephyrproject.org/r/7633 : net: ieee802154: Integrate beacon frame handling
- https://gerrit.zephyrproject.org/r/7632 : net: ieee802154: Add grounds for passive scan
- https://gerrit.zephyrproject.org/r/9634 : net: event: Notify on interface being put down or up
- https://gerrit.zephyrproject.org/r/9636 : Bluetooth: HFP HF: Rename cind_status_handle_values
- https://gerrit.zephyrproject.org/r/9635 : Bluetooth: AT: Reset AT and CMD state
- https://gerrit.zephyrproject.org/r/9468 : Bluetooth: HFP HF: SLC Enable indicator status report
- https://gerrit.zephyrproject.org/r/7263 : Bluetooth: samples: handsfree application indicator callback
- https://gerrit.zephyrproject.org/r/9633 : net: event: Fix misplaced comment
- https://gerrit.zephyrproject.org/r/9586 : sanitycheck: reduce number of unnecessary configuration builds
- https://gerrit.zephyrproject.org/r/9609 : sanity: prevent stack corruption at test_static_idt
- https://gerrit.zephyrproject.org/r/9590 : Makefile.toolchain.zephyr: Modifications for SDK 0.9
- https://gerrit.zephyrproject.org/r/9594 : arc: add -fno-delete-null-pointer-checks
- https://gerrit.zephyrproject.org/r/9571 : stm32f4: Update flash to support higher sysclock frequencies
- https://gerrit.zephyrproject.org/r/9575 : boards: nucleo: provide button and led for basic samples
- https://gerrit.zephyrproject.org/r/9607 : doc: samples: fix rst layout and use code-blocks
- https://gerrit.zephyrproject.org/r/9053 : cc3200: Use peripheral driver library functions from ROM
- https://gerrit.zephyrproject.org/r/9540 : arm: Fix assembler layout.
- https://gerrit.zephyrproject.org/r/9541 : arm: cortex-m memory map is CPU specific
- https://gerrit.zephyrproject.org/r/9543 : arm: Replace CONFIG_CPU_CORTEX_M0_M0PLUS with CONFIG_ARMV6_M
- https://gerrit.zephyrproject.org/r/9544 : arm: Replace CONFIG_CPU_CORTEX_M3_M4 with CONFIG_ARMV7_M
- https://gerrit.zephyrproject.org/r/9545 : arm: Adjust cortex-m7 support to reflect its ARMv7-M architecture.
- https://gerrit.zephyrproject.org/r/9542 : arm: Restructure ARM cpu related preprocessor conditionals.


Re: Networking stack - Ethernet driver design

Tomasz Bursztyka
 

Hi Piotr,

Where can I find the list of known current limitations of the
networking stack? Is it documented?
No. We have a TODO which is more like a 1:1 with Jira tickets, but
that's all.


1. Modern Ethernet modules in most of the SoC devices have ability
to generate IP, TCP and UDP checksums in hardware. Is it
possible to tell networking stack not to compute these checksums
in software?
For now, no. There is no generic CRC API that could - depending on
configuration and hardware - either call a software routine or run it
on hardware directly.
Shall I create a Jira issue so this is not forgotten?
Definitely, yes, go ahead.


Tomasz


Re: Networking stack - Ethernet driver design

Piotr Mieńkowski <piotr.mienkowski at gmail.com...>
 

Hi Thomas and Chuck,

Thanks for the feedback. Regarding comments from Thomas:


You are mixing different issues here: your own driver design and known
current limitations in net stack.
Currently, all net interface are up and running as soon as they are
initialized. This was done like that because it was just easier to
move on with more important things.
Work is being done to modify this behavior (up/down iface state,
etc...). Drivers will always be initialized before the network stack
Just to make sure I'm not misunderstood I was not implying that
initializing Ethernet driver before networking stack is a bad idea, only
that it does not play well with the current design. If the architecture
is being worked on, some things will be changed there is no issue.

Where can I find the list of known current limitations of the networking
stack? Is it documented?

1. Modern Ethernet modules in most of the SoC devices have ability
to generate IP, TCP and UDP checksums in hardware. Is it possible
to tell networking stack not to compute these checksums in software?
For now, no. There is no generic CRC API that could - depending on
configuration and hardware - either call a software routine or run it
on hardware directly.
Shall I create a Jira issue so this is not forgotten?

Regards,
Piotr


Re: radio active callback

Carles Cufi
 

Hi Marcio,

From: Marcio Montenegro [mailto:mtuxpe(a)gmail.com]
Sent: Thursday, January 05, 2017 11:50
To: devel(a)lists.zephyrproject.org
Subject: [devel] radio active callback

Hi all,
In my appplication I need to stop advertising, change data and restart again.
I suppose that is not possible to stop advertising when radio is active.

Then I found this empty function on hci_driver.c

void radio_active_callback(uint8_t active)
{
}

Is there any method to check if radio is active? Or I need to use my own code on
radio_active_callback function


[carles] The radio_active_callback() in hci_driver.c is implemented but not exposed to applications. We are yet to define an API to allow applications to be aware of radio activity, as this would be a part of a future radio.h API that we haven’t started work on.

In the meantime feel free to use radio_active_callback() but bear in mind that you’ll be executing inside an ISR and that the API might break in the future.

Regards,

Carles


radio active callback

Marcio Montenegro
 

Hi all,
In my appplication I need to stop advertising, change data and restart
again.
I suppose that is not possible to stop advertising when radio is active.

Then I found this empty function on hci_driver.c

void radio_active_callback(uint8_t active)
{
}

Is there any method to check if radio is active? Or I need to use my own
code on
radio_active_callback function

Best regards,
Marcio Montenegro


Re: Sensor result representation.

Marcus Shawcroft <marcus.shawcroft@...>
 

Hi Bodan,

On 5 January 2017 at 09:13, Bogdan Davidoaia <bogdan.davidoaia(a)gmail.com> wrote:
Hi Marcus,

After the first set of patches were merged I didn't start on the single
value representation, partly because I was waiting to see if there would be
any more feedback on the mailing list, and partly because of work related
changes and winter holiday.

Since there was no feedback against the change, I will start working on it
and hope to have the patch ready by next week.

Sorry if the delay on my part caused any inconveniences,
I was just checking that the plan had not changed.

Thanks for the update.

Cheers
/Marcus


Re: Sensor result representation.

Bogdan Davidoaia <bogdan.davidoaia@...>
 

Hi Marcus,

After the first set of patches were merged I didn't start on the single
value representation, partly because I was waiting to see if there would be
any more feedback on the mailing list, and partly because of work related
changes and winter holiday.

Since there was no feedback against the change, I will start working on it
and hope to have the patch ready by next week.

Sorry if the delay on my part caused any inconveniences,
Bogdan

On Wed, Jan 4, 2017 at 8:09 PM, Marcus Shawcroft <marcus.shawcroft(a)gmail.com
wrote:
Re-send with updated email address for Bogdan...

On 4 January 2017 at 18:05, Marcus Shawcroft <marcus.shawcroft(a)gmail.com>
wrote:
On 29 November 2016 at 21:54, Davidoaia, Bogdan M
<bogdan.m.davidoaia(a)intel.com> wrote:

Hi Bodan,

If we want to define specific value types for each channel type, then
we might as well have the same type for all the channels. As you also
pointed out, using double is not really necessary for most drivers and the
ones that need it can just return the values converted to _INT_PLUS_MICRO.

As such, we could eliminate the type field altogether and have the
implicit type _INT_PLUS_MICRO (although this should be done as a separate
step, as it will affect the apps that use the type field).

If you think this is ok and nobody has an objection to this change,
then I can start working on it next Wednesday as I am currently away with
only access to email from time to time.

Following up on this old thread. Looking in the current tree we have
no drivers using SENSOR_VALUE_TYPE_DOUBLE, the sensor.h API does still
define SENSOR_VALUE_TYPE_DOUBLE and the type field used to distinguish
the last two remaining value types.

Is the intention that we continue along the path of moving to a single
value representation?

If so, are you intending to present further patches, if not, then I am
happy to post patches to continue this work.

Cheers
/Marcus


Re: Networking stack - Ethernet driver design

Tomasz Bursztyka
 

Hi Piotr,

1. Currently Ethernet drivers are by default initialized before the
networking stack (as set by CONFIG_ETH_INIT_PRIORITY). That's
going to be problematic for a zero-copy implementation of Ethernet
driver. Such driver will need to reserve during the initialization
phase a set of net data buffers where the incoming packets can be
stored. Later when the complete frame is received these buffers
will be passed to the higher layer. However, the net buffer pool
is initialized by the networking stack so reserving net buffers is
only possible after networking stack was initialized. That implies
that the Ethernet driver should be initialized after the
networking stack. Secondly, even in case of the more typical
implementation of the Ethernet driver, the one which has its own
set of RX/TX buffers and copies data between them and net buffers,
as currently done in Zephyr, the driver will start working
immediately after being initialized. If it receives a frame just
at that moment it will try to pass it to the higher layer even if
the rest of the networking stack was not yet initialized. Once
again that implies that the Ethernet driver should be initialized
after the networking stack is.
You are mixing different issues here: your own driver design and known
current limitations in net stack.
I will address your driver design issue in your patches (however apply
first style comments).

Currently, all net interface are up and running as soon as they are
initialized. This was done like that because it was just easier to move
on with more important things.
Work is being done to modify this behavior (up/down iface state,
etc...). Drivers will always be initialized before the network stack,
there is currently no design that require
the other way round, even yours.

1. Modern Ethernet modules in most of the SoC devices have ability to
generate IP, TCP and UDP checksums in hardware. Is it possible to
tell networking stack not to compute these checksums in software?
For now, no. There is no generic CRC API that could - depending on
configuration and hardware - either call a software routine or run it on
hardware directly.

1. One of the parameters to NET_DEVICE_INIT is MTU. Shouldn't we have
a set of predefined constants provided by the networking stack for
some typical interfaces. E.g. NET_MTU_ETHERNET set to 1500? Should
we configure the MTU value in Kconfig?
Don't bother with that. MTU is not taken into account in network stack,
this is a big known crappy limitations.
There is on-going work to fix it properly.

Br,

Tomasz


Reg: Task state read function in zephyr ?

Mahendravarman Rajarao (RBEI/EAA3) <Mahendravarman.Rajarao@...>
 

Hi All

Is there any function in Zephyr rtos to know about the Task state ?

Ex: Before suspending a task , check using task state whether the task is started or not and then suspend the task.

I know we can handle this using some flag.. But need to know any function call is available in zephyr for this task state.

Best regards
Mahendra


Re: Linker Script Issue When Porting To CC2538

Tidy(ChunHua) Jiang <tidyjiang@...>
 

Hi Andy,

Yes, your idea might ok, I'll try it this night.

Do you really need to do this with the linker? What are you trying to place in this region? If it's a fixed set of data you could just do it something like:

struct cca_rec {
int my_field1;
char my_field2[128];
/* ... */
};

#define CCA_REC ((struct cca_rec *)0x0027ffd4)

Hi Chuck,
Thanks for your information.


Best Regards,
Tidy.


Re: Networking stack - Ethernet driver design

Chuck Jordan <Chuck.Jordan@...>
 

From: Piotr Mienkowski [mailto:piotr.mienkowski(a)gmail.com]
Sent: Wednesday, January 04, 2017 9:25 AM
To: devel(a)lists.zephyrproject.org
Subject: [devel] Networking stack - Ethernet driver design


Hi all,

I have a few questions/discussion points related to the new networking stack in context of Ethernet driver development.

1. Currently Ethernet drivers are by default initialized before the networking stack (as set by CONFIG_ETH_INIT_PRIORITY). That's going to be problematic for a zero-copy implementation of Ethernet driver. Such driver will need to reserve during the initialization phase a set of net data buffers where the incoming packets can be stored. Later when the complete frame is received these buffers will be passed to the higher layer. However, the net buffer pool is initialized by the networking stack so reserving net buffers is only possible after networking stack was initialized. That implies that the Ethernet driver should be initialized after the networking stack. Secondly, even in case of the more typical implementation of the Ethernet driver, the one which has its own set of RX/TX buffers and copies data between them and net buffers, as currently done in Zephyr, the driver will start working immediately after being initialized. If it receives a frame just at that moment it will try to pass it to the higher layer even if the rest of the networking stack was not yet initialized. Once again that implies that the Ethernet driver should be initialized after the networking stack is.
[chuckj] I would think if the Enet driver comes alive FIRST, and receives something, but no protocol stack has attached itself yet, that it could simply DROP the packet. ENET allows you to drop packets anywhere, anytime. So I could imagine the ENET driver coming alive first, doing its own initialization, acquiring its own buffers. Further, it should be agnostic as to which protocol stack attaches to it. There are protocols that have something OTHER than TCP/IP over ENET. For example, ATM packets over ENET, or any other encapsulation. Although, admittedly, this is very unlikely to appear with Zephyr.
So one way to design this is that the DRIVER owns the buffers, and that the buffers must always be returned to the driver when the protocol stack has consumed the packet. The API the protocol stack uses is a call to read a packet, getting a new buffer, and then another API to return the buffer later – to keep it zero copy. Sending would first have the application acquire a buffer, then fill it with a packet, then transmit it – with an attempt to utilize scatter-gather techniques to avoid memory copying (i.e. payload is not copied).

1. Modern Ethernet modules in most of the SoC devices have ability to generate IP, TCP and UDP checksums in hardware. Is it possible to tell networking stack not to compute these checksums in software?
This would be another configurable thing I guess. Also ENDIAN swap. Also the 2-byte GAP can be a problem between ENET header and IP header – if hardware requires 32-bit alignment. There are a lot of little things like this that some hardware can handle and some hardware cannot. I suppose all of these things should be configurable.

1. One of the parameters to NET_DEVICE_INIT is MTU. Shouldn't we have a set of predefined constants provided by the networking stack for some typical interfaces. E.g. NET_MTU_ETHERNET set to 1500? Should we configure the MTU value in Kconfig?
[chuckj] Most of the time MTU 1500 is probably just fine. Where I have seen people set this bigger is when streaming video (or something else) requires packets that are a lot bigger for efficiency. So YES having this configurable might be a good idea – although on low-end Zephyr devices, with modest memory sizes, modest MAC/PHY, its probably unlikely to be set big.
When TCP-offload devices are used, I would think there are large set of things to configure.
Regards,
Piotr

5881 - 5900 of 8041