Zephyr 1.6-rc2 tagged


Nashif, Anas
 

Hi,

We have tagged Zephyr 1.6 rc2, below are the changes since the first release candidate. In summary, we have the following changes:
- Fixes for issues discovered by coverity
- Documentation changes for the unified kernel
- Further optimisation work and fixes in the kernel


There will be another release candidate this week and we on schedule to release 1.6 early next week.

Anas


Allan Stephens (17):
doc: Various corrections to doxygen info for Kernel APIs
doc: Various corrections to Kernel Primer
doc: Incorporate kernel APIs into API documentation guide
kernel: Enhance naming of memory pool configuration options
doc: Enable Kernel Primer links to macro-type APIs
doc: Improve descriptions for some user-supplied functions
doc: Improve descriptions of workqueue APIs
doc: Fix up return value descriptions for kernel APIs
doc: Fix up API description for IRQ_CONNECT()
doc: Fix up API descriptions for ring buffers
doc: Revise timer example to use workqueue instead of alert
doc: Add descriptions for clock-related helper macros
doc: Minor cosmetic tweaks for kernel API descriptions
kernel: Ensure event logger APIs convert timeouts to millseconds
doc: Fix up API descriptions for kernel event logger
doc: Revise kernel event logger documentation
kernel: Minor optimization to kernel event logger timestamping

Anas Nashif (5):
Revert "build: Handle ALL_LIBS dependencies correctly"
kernel: event_logger: use POST_KERNEL instead of NANOKERNEL
kernel: remove v2 usage and rename KERNEL_V2_DEBUG
tests: test CONFIG_KERNEL_DEBUG and CONFIG_ASSERT
Zephyr 1.6-rc2

Baohong Liu (13):
tests: spi_test: fix variable type mismatching issue
samples: usb: fix variable type mismatching issue
drivers: bmi160: fix variable type mismatching issue
samples: button: fix variable type mismatching issue
tests: spi: add return value check
drivers: rtc: fix enum type mismatching issue
tests: benchmark: fix a string format issue
net: 802.15.4: Fix a variable type mismatching issue
samples: net: fix a memcmp len error
net: ip: fix variable type mismatching issue
drivers: cc2520: fix variable type mismatching issue
samples: button: stop the app if device binding fails
samples: grove_lcd: stop the app if device binding fails

Benjamin Walsh (10):
kernel: fix typo in comment
kernel/arm: add comment about _is_next_thread_current
kernel: remove last instances of tNANO in comments
kernel/arm: fix missing interrupt lock around _is_next_thread_current()
kernel/arm: fix race condition when setting _Swap() return value
dlist: fix SYS_DLIST_FOR_EACH_SAFE when operating on empty list
kernel: fix thread prio and stack size types in some APIs
kernel: fix obsolete access to fields in K_DEBUG() calls
kernel: support for more than 32 total priorities
samples: configure philosophers with more than 32 priorities

Flavio Santes (7):
sensors/mcp9808: Evaluate sensor_sample_fetch return code
sensors/mcp9808: Evaluate sensor_channel_get return code
tests/tinycrypt: Fix wrong sizeof argument
tests/tinycrypt: Fix dead code issue (1st)
tests/tinycrypt: Fix dead code issue (2nd)
tests/tinycrypt: Fix wrong sizeof argument in test_ccm_mode
tests/tinycrypt: Fix wrong sizeof argument in test_ccm_mode (2nd)

Gil Pitney (1):
cc3200: Remove CPU_HAS_FPU from cc3200 Kconfig.soc

Inaky Perez-Gonzalez (11):
tests/drivers/adc: move to ztest to actually test
legacy/kernel/test_{static_id,stackprot}: 'fatal fault' is not a failure
samples/kernel_event_logger: initialize variable
test_fp_sharing: fix uninitialized variable
test_static_idt: fix uninitialized variable
test_map: fix uninitialized area
test_map: initialize memory block
test_fp_saring/nanokernel: fix uninitialized variable
scrips/kconfig: use snprintf() vs sprintf()
tests/legacy/kernel/test_libs: use memcpy() vs strncpy()
test_static_idt: fix unininitialized variable

Iván Briano (1):
drivers spi_ss: Fix setting of wrong config for SPI 1

Javier B Perez (1):
test: power states: fix dead code issue

Jithu Joseph (2):
samples :usb : Check return value fix
tests: libs: Fix string overflow

Johan Hedberg (2):
Bluetooth: doc: Fix reference to documentation location
Bluetooth: Use convenience macros for timeout durations

Juan Manuel Cruz (4):
sensor: fixes dead code in the apds9960 sample
sensor: fixes program hangs in the apds9960 sample
enc28j60: Fixes an issue reading/writing long frames from SPI
win-build: Fixes a kconfig incompatibility for Windows

Luiz Augusto von Dentz (1):
Bluetooth: GATT: Fix using out of scope variable

Mariusz Skmara (1):
Bluetooth: Fix not sending L2CAP Connection Parameters Update Request

Paul Sokolovsky (1):
pinmux: Make default init priority be between GPIO's prio and device prio.

Ramesh Thomas (4):
samples: power_mgmt: Cleanup and update with new pm interface
samples: power_mgmt: Remove redundant sample power_hooks
samples: power_mgmt: Remove platform filtering of testcases
tests: power_states: Update testcase.ini to include arc

Sergey Kiselev (1):
sensors: bme280: fix typo in reading trimming parameters

Sergio Rodriguez (11):
drivers: pwm: Fix uninitialized pointer
tests: crypto: Fix unchecked return value on CTR PRNG test case
drivers: gpio_k64: Remove contradictory if statement evaluation
drivers: gpio_ss: Remove contradictory if statement evaluation
drivers: gpio: Remove contradictory if statement evaluation
samples: aio comparators: Use expected pointer type in printf
samples: drivers: i2c fram : Exit from testcase if device not found
samples: drivers: gpio: Exit from testcase if device not found
soc: stm32f1: gpio: Fix unnecessary else statement
drivers: gpio_atmel: Fix erronous if statement
drivers: gpio_dw: Remove contradictory if statement evaluation

Szymon Janc (3):
Bluetooth: Fix use of deprecated PRIMARY init level
Bluetooth: Kconfig: Fix BR/EDR dependencies
Bluetooth: Fix address type use for passive scanning

Vinayak Chettimada (5):
Bluetooth: Controller: Fix HCI Reset Command implementation
Bluetooth: Controller: Fix observer filter_policy field size
Bluetooth: Controller: Fix incorrect auto variable init
Bluetooth: Controller: Fix incorrect irq priority check
Bluetooth: Controller: Remove unused util functions

Vincenzo Frascino (4):
sensor: Fix less-than-zero comparison in bmi160 driver
sensor: Fix Unchecked return value issues in bme280 driver
sensor: Fix Unchecked return value in bma280 driver
console: Fix unreachable code condition

Vinicius Costa Gomes (1):
iot/zoap: Fix decoding of 16-bit delta

Makefile | 6 +-
arch/arc/core/thread.c | 2 +-
arch/arm/core/exc_exit.S | 4 +
arch/arm/core/offsets/offsets.c | 1 +
arch/arm/core/swap.S | 34 +-
arch/arm/core/thread.c | 4 +-
arch/arm/include/kernel_arch_data.h | 3 +
arch/arm/include/kernel_arch_func.h | 17 +-
arch/arm/include/offsets_short_arch.h | 3 +
arch/arm/soc/st_stm32/stm32f1/soc_gpio.c | 6 +-
arch/arm/soc/ti_simplelink/cc32xx/Kconfig.soc | 1 -
arch/nios2/core/thread.c | 2 +-
arch/x86/core/float.c | 74 +-
arch/x86/core/thread.c | 2 +-
doc/api/api.rst | 9 +-
doc/api/event_logger.rst | 20 +-
doc/api/kernel_api.rst | 239 ++++++
doc/kernel_v2/data_passing/fifos.rst | 3 +-
doc/kernel_v2/data_passing/lifos.rst | 3 +-
doc/kernel_v2/data_passing/mailboxes.rst | 10 +-
doc/kernel_v2/data_passing/message_queues.rst | 3 +-
doc/kernel_v2/data_passing/pipes.rst | 21 +-
doc/kernel_v2/data_passing/stacks.rst | 3 +-
doc/kernel_v2/memory/pools.rst | 11 +-
doc/kernel_v2/memory/slabs.rst | 3 +-
doc/kernel_v2/other/atomic.rst | 8 +-
doc/kernel_v2/other/event_logger.rst | 282 ------
doc/kernel_v2/other/float.rst | 10 +-
doc/kernel_v2/other/interrupts.rst | 5 +-
doc/kernel_v2/other/kernel_event_logger.rst | 252 ++++++
doc/kernel_v2/other/other.rst | 2 +-
doc/kernel_v2/other/ring_buffers.rst | 4 +-
doc/kernel_v2/synchronization/alerts.rst | 4 +-
doc/kernel_v2/synchronization/mutexes.rst | 5 +-
doc/kernel_v2/synchronization/semaphores.rst | 5 +-
doc/kernel_v2/threads/lifecycle.rst | 15 +-
doc/kernel_v2/threads/scheduling.rst | 4 +-
doc/kernel_v2/threads/workqueues.rst | 4 +-
doc/kernel_v2/timing/clocks.rst | 21 +-
doc/kernel_v2/timing/timers.rst | 20 +-
doc/subsystems/bluetooth/bluetooth.rst | 2 +-
drivers/bluetooth/hci/h5.c | 4 +-
drivers/bluetooth/nble/conn.c | 2 +-
drivers/console/uart_console.c | 7 +-
drivers/ethernet/eth_enc28j60.c | 8 +-
drivers/gpio/gpio_atmel_sam3.c | 8 +-
drivers/gpio/gpio_dw.c | 3 +-
drivers/gpio/gpio_k64.c | 3 +-
drivers/gpio/gpio_qmsi.c | 5 +-
drivers/gpio/gpio_qmsi_ss.c | 4 +-
drivers/ieee802154/ieee802154_cc2520.c | 2 +-
drivers/pinmux/Kconfig | 13 +-
drivers/pinmux/dev/pinmux_dev_k64.c | 2 +-
drivers/pinmux/k64/pinmux_board_frdm_k64f.c | 2 +-
drivers/pinmux/k64/pinmux_board_hexiwear.c | 2 +-
drivers/pwm/pwm_qmsi.c | 1 +
drivers/rtc/rtc_qmsi.c | 2 +-
drivers/sensor/bma280/bma280_trigger.c | 28 +-
drivers/sensor/bme280/bme280.c | 49 +-
drivers/sensor/bmi160/bmi160.c | 10 +-
drivers/spi/spi_qmsi_ss.c | 2 +-
include/arch/x86/arch.h | 62 +-
include/atomic.h | 354 ++++----
include/bluetooth/gatt.h | 3 +-
include/irq.h | 126 +--
include/kernel.h | 945 +++++++++++++++------
include/misc/dlist.h | 3 +-
include/misc/kernel_event_logger.h | 439 ++++------
include/misc/ring_buffer.h | 143 ++--
include/sys_clock.h | 20 +
kernel/unified/Kconfig | 98 ++-
kernel/unified/event_logger.c | 2 +-
kernel/unified/include/gen_offset.h | 22 +-
kernel/unified/include/kernel_offsets.h | 2 -
kernel/unified/include/kernel_structs.h | 4 +-
kernel/unified/include/ksched.h | 29 +-
kernel/unified/include/nano_internal.h | 4 +-
kernel/unified/kernel_event_logger.c | 20 +-
kernel/unified/mem_pool.c | 4 +-
kernel/unified/mutex.c | 4 +-
kernel/unified/sched.c | 10 +-
kernel/unified/thread.c | 4 +-
kernel/unified/work_q.c | 2 +-
lib/iot/zoap/zoap.c | 2 +-
net/ip/net_core.c | 8 +-
net/ip/net_driver_15_4.c | 3 +-
samples/basic/button/src/main.c | 3 +-
samples/bluetooth/eddystone/src/main.c | 2 +-
samples/drivers/aio_comparator/src/main.c | 4 +-
samples/drivers/gpio/src/main.c | 1 +
samples/drivers/i2c_fujitsu_fram/src/main.c | 1 +
samples/drivers/sensor_apds9960/src/main.c | 26 +-
samples/grove/lcd/src/main.c | 1 +
.../src/kernel_event_collector_sample.c | 2 +-
samples/net/test_15_4/src/network.c | 2 +-
samples/philosophers/prj.conf | 4 +-
samples/power/power_hooks/Makefile | 4 -
samples/power/power_hooks/README.txt | 18 -
samples/power/power_hooks/prj.conf | 3 -
samples/power/power_hooks/src/Makefile | 1 -
samples/power/power_hooks/src/main.c | 59 --
samples/power/power_hooks/testcase.ini | 4 -
samples/power/power_mgr/README.txt | 64 +-
samples/power/power_mgr/src/main.c | 165 ++--
samples/power/power_mgr/testcase.ini | 5 +-
samples/sensor/mcp9808/src/main.c | 16 +-
samples/usb/cdc_acm/src/main.c | 6 +-
samples/usb/dfu/src/usb_dfu.c | 5 +-
scripts/gen_offset_header/gen_offset_header.c | 18 +-
scripts/kconfig/confdata.c | 5 +
scripts/kconfig/util.c | 1 +
scripts/kconfig/zconf.l | 3 +-
subsys/bluetooth/controller/hci/hci.c | 2 +-
subsys/bluetooth/controller/hci/hci_driver.c | 9 +-
subsys/bluetooth/controller/ll/ctrl.c | 189 +++--
subsys/bluetooth/controller/ll/ctrl.h | 1 +
subsys/bluetooth/controller/ll/ctrl_internal.h | 15 +-
subsys/bluetooth/controller/ll/ticker.c | 2 -
subsys/bluetooth/controller/util/util.c | 97 ---
subsys/bluetooth/controller/util/util.h | 3 -
subsys/bluetooth/controller/util/work.c | 2 +-
subsys/bluetooth/host/Kconfig | 4 +-
subsys/bluetooth/host/att.c | 2 +-
subsys/bluetooth/host/conn.c | 8 +-
subsys/bluetooth/host/gatt.c | 16 +-
subsys/bluetooth/host/hci_core.c | 28 +-
subsys/bluetooth/host/l2cap.c | 4 +-
subsys/bluetooth/host/l2cap_br.c | 8 +-
subsys/bluetooth/host/monitor.c | 2 +-
subsys/bluetooth/host/smp.c | 2 +-
tests/crypto/test_ccm_mode/src/test_ccm_mode.c | 15 +-
tests/crypto/test_ctr_prng/src/test_ctr_prng.c | 2 +-
tests/crypto/test_ecc_dsa/src/test_ecc_dsa.c | 21 +-
tests/crypto/test_hmac_prng/src/test_hmac_prng.c | 4 +-
tests/drivers/adc/prj.conf | 1 +
tests/drivers/adc/src/Makefile | 2 +
tests/drivers/adc/src/main.c | 72 +-
tests/drivers/adc/testcase.ini | 3 +-
tests/drivers/spi_test/src/spi.c | 28 +-
tests/kernel/test_build/debug.conf | 2 +
.../nanokernel/src/nanokernel_footprint.c | 4 +-
.../kernel/test_fp_sharing/microkernel/src/main.c | 2 +-
.../kernel/test_fp_sharing/nanokernel/src/main.c | 2 +-
tests/legacy/kernel/test_libs/src/libraries.c | 11 +-
tests/legacy/kernel/test_map/src/map.c | 4 +
tests/legacy/kernel/test_stackprot/defaults.tc | 6 +
tests/legacy/kernel/test_static_idt/defaults.tc | 6 +
.../test_static_idt/microkernel/src/static_idt.c | 1 +
.../test_static_idt/nanokernel/src/static_idt.c | 1 +
tests/power/power_states/src/main.c | 29 +-
tests/power/power_states/testcase.ini | 4 +-
151 files changed, 2700 insertions(+), 1934 deletions(-)

Join devel@lists.zephyrproject.org to automatically receive all group messages.