Date   

Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 6
[ZEP-1191] Create wiki page for Hexiwear board
https://jira.zephyrproject.org/browse/ZEP-1191

[ZEP-1181] zephyrSDK + newlib: unexpected warning raised when print "uint32_t" with "%u"
https://jira.zephyrproject.org/browse/ZEP-1181

[ZEP-1184] Problematic configuration dependency for file system on QMSI flash driver
https://jira.zephyrproject.org/browse/ZEP-1184

[ZEP-1185] File system folder size is always zero when there are files/folders there
https://jira.zephyrproject.org/browse/ZEP-1185

[ZEP-1189] SoC I2C peripheral of the Quark SE cannot be used from the ARC core
https://jira.zephyrproject.org/browse/ZEP-1189

[ZEP-1190] SoC SPI peripheral of the Quark SE cannot be used from the ARC core
https://jira.zephyrproject.org/browse/ZEP-1190


UPDATED JIRA items within last 24 hours: 3
[ZEP-959] sync checkpatch.pl with upstream Linux
https://jira.zephyrproject.org/browse/ZEP-959

[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-1163] LIB_INCLUDE_DIR is clobbered in Makefile second pass
https://jira.zephyrproject.org/browse/ZEP-1163


CLOSED JIRA items within last 24 hours: 16
[ZEP-981] (Fixed) Add doxygen documentation to both include/kernel.h and include/legacy.h
https://jira.zephyrproject.org/browse/ZEP-981

[ZEP-923] (Fixed) Revise documentation for Timing
https://jira.zephyrproject.org/browse/ZEP-923

[ZEP-935] (Fixed) Kernel logger support (validation)
https://jira.zephyrproject.org/browse/ZEP-935

[ZEP-922] (Fixed) Revise documentation for Kernel Event Logger
https://jira.zephyrproject.org/browse/ZEP-922

[ZEP-1120] (Fixed) move top level fs/ to sys/fs
https://jira.zephyrproject.org/browse/ZEP-1120

[ZEP-1119] (Fixed) move top level usb/ to sys/usb
https://jira.zephyrproject.org/browse/ZEP-1119

[ZEP-1118] (Won't Do) snprintf (possibly other libc API's) are broken with newlib
https://jira.zephyrproject.org/browse/ZEP-1118

[ZEP-1125] (Fixed) "K_THREAD_DEFINE" build error
https://jira.zephyrproject.org/browse/ZEP-1125

[ZEP-1035] (Cannot Reproduce) Utilizing QMSI driver to transceive over SPI back to back gives system crash
https://jira.zephyrproject.org/browse/ZEP-1035

[ZEP-1149] (Fixed) port ztest framework to unified kernel
https://jira.zephyrproject.org/browse/ZEP-1149

[ZEP-1145] (Fixed) system hang after tinycrypt HMAC test
https://jira.zephyrproject.org/browse/ZEP-1145

[ZEP-1144] (Fixed) Tinycrypt AES128 fixed-key with variable-text test fails using unified kernel type
https://jira.zephyrproject.org/browse/ZEP-1144

[ZEP-1100] (Fixed) Current master still identifies itself as 1.5.0
https://jira.zephyrproject.org/browse/ZEP-1100

[ZEP-1133] (Fixed) Discrepancy of size_t definition between micro and unified kernel
https://jira.zephyrproject.org/browse/ZEP-1133

[ZEP-1155] (Fixed) Fix filesystem API namespace
https://jira.zephyrproject.org/browse/ZEP-1155

[ZEP-1077] (Fixed) "samples/philosophers/unified" build warnings with NUM_PHIL<6
https://jira.zephyrproject.org/browse/ZEP-1077


RESOLVED JIRA items within last 24 hours: 10
[ZEP-688] (Fixed) unify duplicated sections of arch linker scripts
https://jira.zephyrproject.org/browse/ZEP-688

[ZEP-1030] (Fixed) Enable QMSI shim drivers of SoC peripherals on the sensor subsystem
https://jira.zephyrproject.org/browse/ZEP-1030

[ZEP-1006] (Fixed) Extend soc_flash_qmsi driver to support save/restore peripheral context
https://jira.zephyrproject.org/browse/ZEP-1006

[ZEP-1005] (Fixed) Extend dma_qmsi driver to support save/restore peripheral context
https://jira.zephyrproject.org/browse/ZEP-1005

[ZEP-1143] (Won't Do) Zephyr does not link with ISSM toolchain
https://jira.zephyrproject.org/browse/ZEP-1143

[ZEP-1183] (Fixed) btshell return "panic: errcode -1" when init bt
https://jira.zephyrproject.org/browse/ZEP-1183

[ZEP-1154] (Fixed) tests/samples failing with unified kernel
https://jira.zephyrproject.org/browse/ZEP-1154

[ZEP-1124] (Fixed) tests/kernel/test_sprintf/microkernel/testcase.ini#test failure on frdm_k64f
https://jira.zephyrproject.org/browse/ZEP-1124

[ZEP-962] (Cannot Reproduce) Quark SE C1000 GPIO30 is always high.
https://jira.zephyrproject.org/browse/ZEP-962

[ZEP-1104] (Fixed) "kernel primerer v2" doc inconsistant with header file "kernel.h"
https://jira.zephyrproject.org/browse/ZEP-1104


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/6500 : net: Add network utilities shell support
- https://gerrit.zephyrproject.org/r/6540 : net: Allow binding to any IP address
- https://gerrit.zephyrproject.org/r/6525 : pinmux/stm32: default pin assignment and configuration added for Nucleo-64 boards
- https://gerrit.zephyrproject.org/r/6501 : net: apps: Set the IPv6 source address preferred for echo-server
- https://gerrit.zephyrproject.org/r/6541 : Merge bluetooth branch into master
- https://gerrit.zephyrproject.org/r/6545 : serial/uart_k20: Fix instance source clock frequencies
- https://gerrit.zephyrproject.org/r/6544 : frdm_k64f: Change PTC16-17 pinmux to select UART signals
- https://gerrit.zephyrproject.org/r/6543 : frdm_k64f: Change default Bluetooth UART dev name
- https://gerrit.zephyrproject.org/r/6542 : hexiwear_k64: Change default Bluetooth UART dev name
- https://gerrit.zephyrproject.org/r/6522 : Bluetooth: AT handling error condition
- https://gerrit.zephyrproject.org/r/6529 : ext/hal: Introduce STM32Cube SDK for STM32F3xx family
- https://gerrit.zephyrproject.org/r/6524 : pinmux/stm32: extend pinmux driver functionality to support STM32F3X series MCUs
- https://gerrit.zephyrproject.org/r/6530 : stm32cube: Add Zephyr build system files for stm32f3 series
- https://gerrit.zephyrproject.org/r/6483 : power: Add ARC power states and update sample
- https://gerrit.zephyrproject.org/r/6539 : Bluetooth: storage: Add basic support for internal storage
- https://gerrit.zephyrproject.org/r/6497 : net: Network stack analyzer re-factored
- https://gerrit.zephyrproject.org/r/6499 : net: Add util to send ICMPv6 Echo-Request packet
- https://gerrit.zephyrproject.org/r/6498 : net: Add helper to return network buffer information
- https://gerrit.zephyrproject.org/r/6496 : net: Add net_addr_pton()
- https://gerrit.zephyrproject.org/r/6532 : drivers: ieee802154: Rework RX buffer handling in cc2520
- https://gerrit.zephyrproject.org/r/6481 : net: Moved net_if_ipv6_addr_lookup_by_iface() to net_if.c
- https://gerrit.zephyrproject.org/r/6528 : stm32cube: Update build system to support stm32f7xx
- https://gerrit.zephyrproject.org/r/6527 : stm32cube: Introduce STM32Cube for STM32F7xx series
- https://gerrit.zephyrproject.org/r/6526 : MAINTAINERS: Add entry for STM32Cube SDK
- https://gerrit.zephyrproject.org/r/6523 : net: ieee802154: Add offset based reassembly feature
- https://gerrit.zephyrproject.org/r/6495 : lib: Add implementation for strrchr
- https://gerrit.zephyrproject.org/r/6519 : unified: alert depends on workqueue
- https://gerrit.zephyrproject.org/r/6518 : drivers: rtc: Add notes to rtc api
- https://gerrit.zephyrproject.org/r/6508 : arc: remove support for legacy kernels
- https://gerrit.zephyrproject.org/r/6510 : kernel: delete old micro and nanokernel code
- https://gerrit.zephyrproject.org/r/6509 : nios2: remove support for legacy kernels
- https://gerrit.zephyrproject.org/r/6507 : arm: remove support for legacy kernels
- https://gerrit.zephyrproject.org/r/6506 : x86: remove legacy kernel support
- https://gerrit.zephyrproject.org/r/6504 : sysgen: build for unified kernel only
- https://gerrit.zephyrproject.org/r/6502 : build: force all kernel builds to be Unified kernel
- https://gerrit.zephyrproject.org/r/6493 : merge: disable merge job
- https://gerrit.zephyrproject.org/r/6503 : sanitycheck: build for unified kernel only
- https://gerrit.zephyrproject.org/r/6492 : lib: Add implementation for strrchr
- https://gerrit.zephyrproject.org/r/6484 : build: set default kernel as unified

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/6240 : clock/stm32: add STM32F107 and STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/6380 : boards: Add support for the BBC micro:bit nRF51 board
- https://gerrit.zephyrproject.org/r/4488 : Bluetooth: SDP: Server: Support ServiceSearchRequest
- https://gerrit.zephyrproject.org/r/6447 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/6239 : boards: add initial support for Nucleo-64 with SoC STM32F373
- https://gerrit.zephyrproject.org/r/6238 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/6236 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/6235 : boards: add initial support for Nucleo-64 with Soc STM32F107
- https://gerrit.zephyrproject.org/r/6234 : soc/stm32f1: Add the new type of SoC STM32F107
- https://gerrit.zephyrproject.org/r/6295 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/6014 : ext qmsi: Add config support and kernel events for enabling SoCWatch
- https://gerrit.zephyrproject.org/r/6439 : fs: expose generic ramdisk/flash disk access functions
- https://gerrit.zephyrproject.org/r/4552 : build: support pre-built host tools
- https://gerrit.zephyrproject.org/r/4562 : Bluetooth: Sample: handsfree sample application
- https://gerrit.zephyrproject.org/r/6378 : kernel tests: added test_thread_init
- https://gerrit.zephyrproject.org/r/6090 : Bluetooth: AVDTP: Set Profile Security Level to Medium
- https://gerrit.zephyrproject.org/r/4555 : Bluetooth: HFP HF: SLC connection-Send/Parse BRSF
- https://gerrit.zephyrproject.org/r/5162 : Bluetooth: A2DP: Shell command for A2DP connection
- https://gerrit.zephyrproject.org/r/5787 : drivers: flash: SoC KSDK
- https://gerrit.zephyrproject.org/r/6217 : tests: add a dma transfer test with different channel and burstlen
- https://gerrit.zephyrproject.org/r/5917 : samples: aonc: skip counter stopping
- https://gerrit.zephyrproject.org/r/5547 : samples: usb: Sample to demo USB Mass Storage support
- https://gerrit.zephyrproject.org/r/5545 : usb: Add end-point stall APIs and flow control APIS
- https://gerrit.zephyrproject.org/r/5546 : usb: class: Add USB mass storage class support.
- https://gerrit.zephyrproject.org/r/5780 : include: Add a generic disk interface
- https://gerrit.zephyrproject.org/r/6211 : CI: Verify: Adding retry to add reviewers to gerrit
- https://gerrit.zephyrproject.org/r/3312 : drivers/crypto: TinyCrypt shim driver
- https://gerrit.zephyrproject.org/r/5194 : stm32l4: add initial soc support for stm32l4
- https://gerrit.zephyrproject.org/r/6429 : samples: aio_comparator: use unified kernel
- https://gerrit.zephyrproject.org/r/6453 : tests: samples: build all legacy samples/tests as unified kernel
- https://gerrit.zephyrproject.org/r/5769 : stm32f1: Provide tick to STM32Cube
- https://gerrit.zephyrproject.org/r/5766 : serial: Provide STM32Cube based serial driver on stm32f1, stm32f4
- https://gerrit.zephyrproject.org/r/5768 : serial: Provide new numbering scheme for stm32 UART
- https://gerrit.zephyrproject.org/r/6405 : stm32f4: Provide tick to STM32Cube
- https://gerrit.zephyrproject.org/r/5264 : samples: Add simple gpio test application

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/6536 : shell: move documentation out of kernel
- https://gerrit.zephyrproject.org/r/6534 : shell: move shell Kconfig to drivers/console/shells
- https://gerrit.zephyrproject.org/r/6535 : shell: split kernel shell into separate module
- https://gerrit.zephyrproject.org/r/6538 : Bluetooth: Print full controller info upon init
- https://gerrit.zephyrproject.org/r/6537 : samples: shell: remove useless ifdefs
- https://gerrit.zephyrproject.org/r/6533 : Bluetooth: Controller: Fix re-encryption procedure
- https://gerrit.zephyrproject.org/r/6531 : Bluetooth: GATT: Pass data buffer as NULL if length is 0
- https://gerrit.zephyrproject.org/r/6520 : k64: Move driver instance defconfigs to boards
- https://gerrit.zephyrproject.org/r/6515 : net: tcp: Add better type safety for connection handlers
- https://gerrit.zephyrproject.org/r/6521 : Bluetooth: RFCOMM: Define macro for PF bit
- https://gerrit.zephyrproject.org/r/6513 : samples: spi_lsm9ds0: use unified kernel
- https://gerrit.zephyrproject.org/r/6514 : unified: Rename ESSENTIAL to K_ESSENTIAL
- https://gerrit.zephyrproject.org/r/6512 : unified/doc: Update Kernel Primer info for K_ALERT_DEFINE()
- https://gerrit.zephyrproject.org/r/6487 : unified: Exclude inline assembler blocks from Doxygen
- https://gerrit.zephyrproject.org/r/6511 : unified: Add missing arguments to K_TIMER_DEFINE()
- https://gerrit.zephyrproject.org/r/6482 : counter qmsi: Update suspend/resume implementation
- https://gerrit.zephyrproject.org/r/6517 : unified/sysgen: do not generate TICK_EVENT event
- https://gerrit.zephyrproject.org/r/6516 : tests: for the system workq in for obj tracing tests
- https://gerrit.zephyrproject.org/r/6490 : unified/doc: Update Application Development Primer
- https://gerrit.zephyrproject.org/r/6489 : sanitycheck: enable missing ARM platforms
- https://gerrit.zephyrproject.org/r/6488 : tests: Mark a bunch of testcases that are memory (RAM) limited
- https://gerrit.zephyrproject.org/r/6486 : tests: only run the printk test if CONFIG_PRINTK is enabled
- https://gerrit.zephyrproject.org/r/6494 : samples: w25q80bl: remove the sample app
- https://gerrit.zephyrproject.org/r/6491 : test_obj_tracing: filter for enough memory
- https://gerrit.zephyrproject.org/r/6485 : net: Try to send IPv6 packet even if default route is missing
- https://gerrit.zephyrproject.org/r/6331 : cc3200: Add a UART driver (polled and interrupt modes)
- https://gerrit.zephyrproject.org/r/6151 : cc3200: Add pinmux initialization for UART0
- https://gerrit.zephyrproject.org/r/6455 : tests: crypto: remove microkernel reference
- https://gerrit.zephyrproject.org/r/6379 : c++: Add placement new and delete operators
- https://gerrit.zephyrproject.org/r/6473 : Bluetooth: L2CAP: Make use of bt_l2cap_chan_set_state on BR/EDR
- https://gerrit.zephyrproject.org/r/6472 : Bluetooth: L2CAP: Log state transitions
- https://gerrit.zephyrproject.org/r/5203 : pinmux/stm32: add support for pinmux of port h
- https://gerrit.zephyrproject.org/r/5197 : stm32_exti: add support for controllers with more than 32 lines
- https://gerrit.zephyrproject.org/r/6084 : boards: arm: Add support for TI SimpleLink WiFi CC3200 LaunchXL
- https://gerrit.zephyrproject.org/r/6083 : cc3200: Add support for the TI CC32xx SoC Series
- https://gerrit.zephyrproject.org/r/6082 : ext: cc3200sdk: Enable build of CC3200 HAL
- https://gerrit.zephyrproject.org/r/6080 : MAINTAINERS: Add maintainer for TI CC3200 SoC, board and SDK
- https://gerrit.zephyrproject.org/r/6081 : ext: cc3200sdk: Import HAL for TI CC3200 SoC
- https://gerrit.zephyrproject.org/r/6474 : Bluetooth: L2CAP: Fix not updating CoC channel state
- https://gerrit.zephyrproject.org/r/6446 : Bluetooth: RFCOMM: Set sec_level to LOW during L2CAP register
- https://gerrit.zephyrproject.org/r/6443 : tests: fs: Make file system test unifief kernel based
- https://gerrit.zephyrproject.org/r/6385 : drivers/gpio_stm32: Make driver_api structure const.
- https://gerrit.zephyrproject.org/r/6464 : gpio_qmsi: Use qm_gpio_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6460 : uart_qmsi: Use qm_uart_*_context API
- https://gerrit.zephyrproject.org/r/6335 : power: Update Quark SE PM layer with QMSI 1.3
- https://gerrit.zephyrproject.org/r/6463 : rtc_qmsi: Update save/restore implemntation with new qmsi APIs
- https://gerrit.zephyrproject.org/r/6465 : i2c_qmsi: Use qm_i2c_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6462 : spi_qmsi: Use qm_spi_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6459 : wdt_qmsi: Use qm_wdt_*_context API
- https://gerrit.zephyrproject.org/r/6461 : pwm_qmsi: Use qm_pwm_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6442 : samples: power_mgmt: Fix README inconsistent info
- https://gerrit.zephyrproject.org/r/6440 : samples: power_mgmt: Make samples unified kernel based
- https://gerrit.zephyrproject.org/r/6334 : quark_se: Add restore info shared memory to linker
- https://gerrit.zephyrproject.org/r/6441 : tests: power_mgmt: Make power test unified kernel based
- https://gerrit.zephyrproject.org/r/6348 : aio_cmp_qmsi: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/6457 : gpio_qmsi: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/6458 : rtc_qmsi: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/5761 : ext/hal: Introduce STM32Cube SDK for STM32F1xx family
- https://gerrit.zephyrproject.org/r/5764 : clock_control: have FLASH_BASE compatible with ST CMSIS files
- https://gerrit.zephyrproject.org/r/6401 : stm32cube: Add Zephyr build system files for stm32f4 series
- https://gerrit.zephyrproject.org/r/6400 : ext/hal: Introduce STM32Cube SDK for STM32F4xx family
- https://gerrit.zephyrproject.org/r/6456 : counter_qmsi_aonpt: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/5762 : stm32cube: Update ext/hal to include STM32Cube
- https://gerrit.zephyrproject.org/r/5791 : stm32cube: Add Zephyr build system files for stm32f1 series
- https://gerrit.zephyrproject.org/r/5763 : stm32f1: Enable STM32Cube SDK support on stm32f1 family
- https://gerrit.zephyrproject.org/r/6402 : stm32f4: Adapt CONFIG_SOC to STM32Cube values
- https://gerrit.zephyrproject.org/r/6434 : samples: sensor_apds9960: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6192 : stm32f1: Adapt CONFIG_SOC to STM32Cube values
- https://gerrit.zephyrproject.org/r/6403 : stm32f4: Enable STM32Cube SDK support on stm32f4 family
- https://gerrit.zephyrproject.org/r/6454 : net: ipv6: Fix sending packets with invalid addresses
- https://gerrit.zephyrproject.org/r/6477 : net: Create a separate buffer when sending IPv6 NA
- https://gerrit.zephyrproject.org/r/6468 : net: ieee802154: MAC command frames needs a buffer from tx pool
- https://gerrit.zephyrproject.org/r/6466 : samples: ieee802154: L2 debug Kconfig option has changed
- https://gerrit.zephyrproject.org/r/6467 : net: ieee802154: Fix a small indentation issue
- https://gerrit.zephyrproject.org/r/6469 : net: ieee802154: Limit MAC command frame generation to RFD
- https://gerrit.zephyrproject.org/r/6470 : net: ieee802154: Add debug output to radio strategy drivers
- https://gerrit.zephyrproject.org/r/6471 : net: ieee802154: Let ORFD setting ACK flag through net_mgmt
- https://gerrit.zephyrproject.org/r/6479 : net: 6lo: Make editor happy
- https://gerrit.zephyrproject.org/r/6480 : drivers: ieee802154: Fix length handling in uart-pipe
- https://gerrit.zephyrproject.org/r/6478 : Bluetooth: Fix initialization of variable
- https://gerrit.zephyrproject.org/r/6475 : Bluetooth: tester: Fix configuration file name


Re: stm32f7/cortex M7 port and M-7 assembler error

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

I'm using the original GCC ARM Embedded cross compiler and am therefore not familiar with Zephyr SDK but you are definitely missing the compiler flags defined in arch/arm/Makefile. These are "-mabi=aapcs -mthumb -mcpu=cortex-m7". Maybe the Makefile is not sourced? Verify that the following config options are set
CONFIG_ARM=y
CONFIG_ARCH="arm"
CONFIG_CPU_CORTEX=y
CONFIG_CPU_CORTEX_M=y
CONFIG_CPU_CORTEX_M7=y
e.g. by looking in the outdir/discovery_smt32f7/.config file.


Re: stm32f7/cortex M7 port and M-7 assembler error

prasanna karthik <prasannakarthik123@...>
 

Yes, Here is the verbose build output. I do not see specific compiler cflag for M-7.

/opt/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-eabi/arm-poky-eabi-gcc -Wp,-MD,arch/arm/core/.swap.o.d -nostdinc -isystem /opt/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/lib/arm-poky-eabi/gcc/arm-poky-eabi/5.2.0/include -isystem /opt/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/lib/arm-poky-eabi/gcc/arm-poky-eabi/5.2.0/include-fixed -I/mnt/data/github/zephyr/arch/arm/include -I/mnt/data/github/zephyr/arch/arm/soc/st_stm32/stm32f7 -I/mnt/data/github/zephyr/boards/arm/discovery_smt32f7 -I/mnt/data/github/zephyr/include -I/mnt/data/github/zephyr/include -I/mnt/data/github/zephyr/samples/hello_world/outdir/discovery_smt32f7/include/generated -I/mnt/data/github/zephyr/samples/hello_world/outdir/discovery_smt32f7/misc/generated/sysgen -include /mnt/data/github/zephyr/samples/hello_world/outdir/discovery_smt32f7/include/generated/autoconf.h -I/mnt/data/github/zephyr/lib/libc/minimal/include -DKERNEL -c -g -xassembler-with-cpp -I/mnt/data/github/zephyr/include/drivers -I/m
nt/data/github/zephyr/drivers -I/mnt/data/github/zephyr/kernel/unified/include -c -o arch/arm/core/swap.o /mnt/data/github/zephyr/arch/arm/core/swap.S
/mnt/data/github/zephyr/arch/arm/core/swap.S: Assembler messages:
/mnt/data/github/zephyr/arch/arm/core/swap.S:84: Error: selected processor does not support requested special purpose register -- `mrs ip,PSP'
/mnt/data/github/zephyr/arch/arm/core/swap.S:120: Error: selected processor does not support requested special purpose register -- `msr BASEPRI,r0'
/mnt/data/github/zephyr/arch/arm/core/swap.S:213: Error: selected processor does not support requested special purpose register -- `msr BASEPRI,r0'
/mnt/data/github/zephyr/arch/arm/core/swap.S:225: Error: selected processor does not support requested special purpose register -- `msr PSP,ip'
/mnt/data/github/zephyr/arch/arm/core/swap.S:280: Error: selected processor does not support requested special purpose register -- `mrs r2,PSP'
/mnt/data/github/zephyr/arch/arm/core/swap.S:292: Error: selected processor does not support requested special purpose register -- `msr BASEPRI,r0'
make[5]: *** [arch/arm/core/swap.o] Error 1
make[4]: *** [arch/arm/core] Error 2
make[3]: *** [arch/arm] Error 2
make[2]: *** [arch] Error 2


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 7
[ZEP-1172] Update logger Api to allow using a hook for SYS_LOG_BACKEND_FN function
https://jira.zephyrproject.org/browse/ZEP-1172

[ZEP-1170] Thread notification kernel APIs
https://jira.zephyrproject.org/browse/ZEP-1170

[ZEP-1171] Event group kernel APIs
https://jira.zephyrproject.org/browse/ZEP-1171

[ZEP-1174] Running SanityCheck in Windows
https://jira.zephyrproject.org/browse/ZEP-1174

[ZEP-1178] Eliminate Zephyr's Dependency on MinGW When Building on Windows
https://jira.zephyrproject.org/browse/ZEP-1178

[ZEP-1177] Reduce Zephyr's Dependency on Host Tools
https://jira.zephyrproject.org/browse/ZEP-1177

[ZEP-1179] Build issues when compiling with LLVM from ISSM (icx)
https://jira.zephyrproject.org/browse/ZEP-1179


UPDATED JIRA items within last 24 hours: 9
[ZEP-1106] Fix all test failures from TCF
https://jira.zephyrproject.org/browse/ZEP-1106

[ZEP-1046] Implement RAM sharing between bootloader and Zephyr
https://jira.zephyrproject.org/browse/ZEP-1046

[ZEP-237] Support pre-built host tools
https://jira.zephyrproject.org/browse/ZEP-237

[ZEP-911] Refine thread priorities & locking
https://jira.zephyrproject.org/browse/ZEP-911

[ZEP-328] HW Encryption Abstraction
https://jira.zephyrproject.org/browse/ZEP-328

[ZEP-1121] Add config support for enabling SoCWatch in Zephyr
https://jira.zephyrproject.org/browse/ZEP-1121

[ZEP-1129] sdk/arc: internal compiler error building JerryScript
https://jira.zephyrproject.org/browse/ZEP-1129

[ZEP-974] zephyr-sdk scripts for using openocd with EM Starterkit are incorrect
https://jira.zephyrproject.org/browse/ZEP-974

[ZEP-991] app need to delay unpredictable duration for waiting rtc_set_config to take effect
https://jira.zephyrproject.org/browse/ZEP-991


CLOSED JIRA items within last 24 hours: 4
[ZEP-859] (Fixed) Migrate ENC28J60 driver to YAIP IP stack
https://jira.zephyrproject.org/browse/ZEP-859

[ZEP-1097] (Fixed) ENC28J60 driver fails on concurrent tx and rx
https://jira.zephyrproject.org/browse/ZEP-1097

[ZEP-1040] (Won't Do) pwm_dw driver does not compile
https://jira.zephyrproject.org/browse/ZEP-1040

[ZEP-1098] (Fixed) ENC28J60 fails to receive big data frames
https://jira.zephyrproject.org/browse/ZEP-1098


RESOLVED JIRA items within last 24 hours: 1
[ZEP-559] (Won't Do) sanitycheck/CI is not building with all supported toolchains
https://jira.zephyrproject.org/browse/ZEP-559


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/6468 : net: ieee802154: MAC command frames needs a buffer from tx pool
- https://gerrit.zephyrproject.org/r/6475 : Bluetooth: tester: Fix configuration file name
- https://gerrit.zephyrproject.org/r/6476 : net: Add util to send IPv6 neighbor advertisement
- https://gerrit.zephyrproject.org/r/6477 : net: Create a separate buffer when sending IPv6 NA
- https://gerrit.zephyrproject.org/r/6473 : Bluetooth: L2CAP: Make use of bt_l2cap_chan_set_state on BR/EDR
- https://gerrit.zephyrproject.org/r/6472 : Bluetooth: L2CAP: Log state transitions
- https://gerrit.zephyrproject.org/r/6463 : rtc_qmsi: Update save/restore implemntation with new qmsi APIs
- https://gerrit.zephyrproject.org/r/6460 : uart_qmsi: Use qm_uart_*_context API
- https://gerrit.zephyrproject.org/r/6469 : net: ieee802154: Limit MAC command frame generation to RFD
- https://gerrit.zephyrproject.org/r/6471 : net: ieee802154: Let ORFD setting ACK flag through net_mgmt
- https://gerrit.zephyrproject.org/r/6470 : net: ieee802154: Add debug output to radio strategy drivers
- https://gerrit.zephyrproject.org/r/6467 : net: ieee802154: Fix a small indentation issue
- https://gerrit.zephyrproject.org/r/6465 : i2c_qmsi: Use qm_i2c_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6466 : samples: ieee802154: L2 debug Kconfig option has changed
- https://gerrit.zephyrproject.org/r/6480 : drivers: ieee802154: Fix length handling in uart-pipe
- https://gerrit.zephyrproject.org/r/6479 : net: 6lo: Make editor happy
- https://gerrit.zephyrproject.org/r/6459 : wdt_qmsi: Use qm_wdt_*_context API
- https://gerrit.zephyrproject.org/r/6478 : Bluetooth: Fix initialization of variable
- https://gerrit.zephyrproject.org/r/6474 : Bluetooth: L2CAP: Fix not updating CoC channel state
- https://gerrit.zephyrproject.org/r/6461 : pwm_qmsi: Use qm_pwm_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6405 : stm32f4: Provide tick to STM32Cube
- https://gerrit.zephyrproject.org/r/6458 : rtc_qmsi: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/6457 : gpio_qmsi: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/6464 : gpio_qmsi: Use qm_gpio_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6462 : spi_qmsi: Use qm_spi_save/restore_context APIs
- https://gerrit.zephyrproject.org/r/6456 : counter_qmsi_aonpt: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/6455 : tests: crypto: remove microkernel reference
- https://gerrit.zephyrproject.org/r/6454 : net/ipv6: Fix sending packets with invalid addresses
- https://gerrit.zephyrproject.org/r/6453 : tests: samples: build all legacy tests as unified kernel
- https://gerrit.zephyrproject.org/r/6447 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/6440 : samples: power_mgmt: Make samples unified kernel based
- https://gerrit.zephyrproject.org/r/6442 : samples: power_mgmt: Fix README inconsistent info
- https://gerrit.zephyrproject.org/r/6441 : tests: power_mgmt: Make power test unified kernel based
- https://gerrit.zephyrproject.org/r/6402 : stm32f4: Adapt CONFIG_SOC to STM32Cube values
- https://gerrit.zephyrproject.org/r/6404 : stm32f4xx: Adapt STM32Cube for serial driver implementation
- https://gerrit.zephyrproject.org/r/6403 : stm32f4: Enable STM32Cube SDK support on stm32f4 family
- https://gerrit.zephyrproject.org/r/6446 : Bluetooth: RFCOMM: Set sec_level to LOW during L2CAP register
- https://gerrit.zephyrproject.org/r/6443 : tests: fs: Make file system test unifief kernel based
- https://gerrit.zephyrproject.org/r/6439 : fs: expose generic ramdisk/flash disk access functions
- https://gerrit.zephyrproject.org/r/6429 : samples: aio_comparator: use unified kernel
- https://gerrit.zephyrproject.org/r/6434 : samples: sensor_apds9960: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6399 : tests/drivers/pci_enum: move to tc_util.h, retag so it is ran
- https://gerrit.zephyrproject.org/r/6412 : samples/net: mbedTLS TCP client use unified kernel
- https://gerrit.zephyrproject.org/r/6410 : initial xtensa code drop
- https://gerrit.zephyrproject.org/r/6408 : testcases: catch more fatal kernel error messages
- https://gerrit.zephyrproject.org/r/6400 : ext/hal: Introduce STM32Cube SDK for STM32F4xx family
- https://gerrit.zephyrproject.org/r/6401 : stm32cube: Add Zephyr build system files for stm32f4 series

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/4555 : Bluetooth: HFP HF: SLC connection-Send/Parse BRSF
- https://gerrit.zephyrproject.org/r/5768 : serial: Provide new numbering scheme for stm32 UART
- https://gerrit.zephyrproject.org/r/5769 : stm32f1: Provide tick to STM32Cube
- https://gerrit.zephyrproject.org/r/6348 : aio_cmp_qmsi: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/5257 : samples: Add simple bringup application
- https://gerrit.zephyrproject.org/r/5787 : drivers: flash: SoC KSDK
- https://gerrit.zephyrproject.org/r/6308 : board_beetle: Add support for ARM LTD V2M Beetle Board
- https://gerrit.zephyrproject.org/r/5267 : serial: Add driver for CMSDK APB UART
- https://gerrit.zephyrproject.org/r/6240 : clock/stm32: add STM32F107 and STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/6239 : boards: add initial support for Nucleo-64 with SoC STM32F373
- https://gerrit.zephyrproject.org/r/6335 : power: Update Quark SE PM layer with QMSI 1.3
- https://gerrit.zephyrproject.org/r/5261 : pinmux: Add support for ARM LTD V2M Beetle Initialization
- https://gerrit.zephyrproject.org/r/5254 : MAINTAINERS: Add maintainer for ARM LTD V2M Beetle Board
- https://gerrit.zephyrproject.org/r/5258 : gpio: Add ARM LTD CMSDK AHB GPIO driver
- https://gerrit.zephyrproject.org/r/5264 : samples: Add simple gpio test application
- https://gerrit.zephyrproject.org/r/6090 : Bluetooth: AVDTP: Set Profile Security Level to Medium
- https://gerrit.zephyrproject.org/r/4488 : Bluetooth: SDP: Server: Support ServiceSearchRequest
- https://gerrit.zephyrproject.org/r/6295 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/5262 : pinmux: Add support for "runtime" pinmux on ARM LTD V2M Beetle
- https://gerrit.zephyrproject.org/r/5269 : sanitycheck: Add support for ARM LTD V2M Beetle Board
- https://gerrit.zephyrproject.org/r/6291 : [RFC] Bluetooth: SDP: Initial SDP client interface API
- https://gerrit.zephyrproject.org/r/6334 : quark_se: Add restore info shared memory to linker
- https://gerrit.zephyrproject.org/r/6238 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/6307 : soc_beetle: Add support for ARM LTD Beetle SoC
- https://gerrit.zephyrproject.org/r/6236 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/6235 : boards: add initial support for Nucleo-64 with Soc STM32F107
- https://gerrit.zephyrproject.org/r/6234 : soc/stm32f1: Add the new type of SoC STM32F107
- https://gerrit.zephyrproject.org/r/6217 : tests: add a dma memory_to_memory test
- https://gerrit.zephyrproject.org/r/5917 : samples: aonc: skip counter stopping
- https://gerrit.zephyrproject.org/r/5766 : serial: Provide STM32Cube based serial driver on stm32f1, stm32f4
- https://gerrit.zephyrproject.org/r/5763 : stm32f1: Enable STM32Cube SDK support on stm32f1 family
- https://gerrit.zephyrproject.org/r/6192 : stm32f1: Adapt CONFIG_SOC to STM32Cube values
- https://gerrit.zephyrproject.org/r/5765 : stm32f1xx: Adapt STM32Cube for serial driver implementation
- https://gerrit.zephyrproject.org/r/5764 : clock_control: have FLASH_BASE compatible with ST CMSIS files
- https://gerrit.zephyrproject.org/r/4562 : Bluetooth: Sample: handsfree sample application
- https://gerrit.zephyrproject.org/r/5194 : stm32l4: add initial soc support for stm32l4
- https://gerrit.zephyrproject.org/r/5546 : usb: class: Add USB mass storage class support.
- https://gerrit.zephyrproject.org/r/5547 : samples: usb: Sample to demo USB Mass Storage support
- https://gerrit.zephyrproject.org/r/5545 : usb: Add end-point stall APIs and flow control APIS
- https://gerrit.zephyrproject.org/r/5780 : include: Add a generic disk interface
- https://gerrit.zephyrproject.org/r/6331 : cc3200: Add a UART driver (polled and interrupt modes)
- https://gerrit.zephyrproject.org/r/6151 : cc3200: Add pinmux initialization for UART0
- https://gerrit.zephyrproject.org/r/6332 : cc3200: Enable the UART driver, build and Kconfig options
- https://gerrit.zephyrproject.org/r/6084 : boards: arm: Add support for TI SimpleLink WiFi CC3200 LaunchXL
- https://gerrit.zephyrproject.org/r/6083 : cc3200: Add support for the TI CC32xx SoC Series
- https://gerrit.zephyrproject.org/r/5029 : release notes: add release notes doc
- https://gerrit.zephyrproject.org/r/5614 : stm32cube: add headers for STM32L4xx
- https://gerrit.zephyrproject.org/r/3313 : samples/drivers/crypto: crypto sample app
- https://gerrit.zephyrproject.org/r/3312 : drivers/crypto: TinyCrypt shim driver
- https://gerrit.zephyrproject.org/r/3311 : include/crypto: Crypto abstraction header
- https://gerrit.zephyrproject.org/r/5762 : stm32cube: Update ext/hal to include STM32Cube
- https://gerrit.zephyrproject.org/r/5791 : stm32cube: Add Zephyr build system files for stm32f1 series
- https://gerrit.zephyrproject.org/r/5761 : ext/hal: Introduce STM32Cube SDK for STM32F1xx family
- https://gerrit.zephyrproject.org/r/5162 : Bluetooth: A2DP: Shell command for A2DP connection
- https://gerrit.zephyrproject.org/r/6219 : tests/filesystem/fat_fs: make a proper testcase
- https://gerrit.zephyrproject.org/r/6378 : kernel tests: added test_thread_init

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/6427 : console: shell: Fix commands tab completion
- https://gerrit.zephyrproject.org/r/6449 : console: shell: Reduce completion stack usage
- https://gerrit.zephyrproject.org/r/6452 : Bluetooth: tester: Set Zephyr-based BLE configuration as default
- https://gerrit.zephyrproject.org/r/6451 : Bluetooth: tester: Add configuration file for Zephyr BLE firmware
- https://gerrit.zephyrproject.org/r/6450 : Bluetooth: tester: Rename config files
- https://gerrit.zephyrproject.org/r/6448 : Bluetooth: L2CAP: Make CoC depend on SMP
- https://gerrit.zephyrproject.org/r/6445 : Bluetooth: Remove misleading NBLE mentions from sample README files
- https://gerrit.zephyrproject.org/r/6444 : Bluetooth: RFCOMM: Remove extra tab
- https://gerrit.zephyrproject.org/r/6438 : samples: lcd_hd44780: use unified kernel
- https://gerrit.zephyrproject.org/r/6415 : sensors: bme280: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6423 : sensors: tmp112: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6419 : sensors: max44009: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6417 : sensors: bmg160: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6421 : sensors: sx9500: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6437 : samples: soc_flash_nrf5: use unified kernel for SOC flash
- https://gerrit.zephyrproject.org/r/6416 : sensors: bmi160: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6424 : sensors: light: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6418 : sensors: magn_polling: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6420 : sensors: mcp9808: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6422 : sensors: th02: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6425 : sensors: grove temp: convert to and build with unified kernel
- https://gerrit.zephyrproject.org/r/6431 : samples: watchdog: use unified kernel
- https://gerrit.zephyrproject.org/r/6433 : samples: current sensing : Use unified kernel for the current sensing app.
- https://gerrit.zephyrproject.org/r/6436 : samples: led_apa102c: use unified kernel
- https://gerrit.zephyrproject.org/r/6435 : samples: i2c_lsm9ds0: use unified kernel
- https://gerrit.zephyrproject.org/r/6432 : samples: gpio: use unified kernel
- https://gerrit.zephyrproject.org/r/6414 : samples: i2c Fujitsu fram: use unified kernel for fram app
- https://gerrit.zephyrproject.org/r/6428 : samples: spi_flash: use unified kernel
- https://gerrit.zephyrproject.org/r/6426 : samples: pwm: use unified kernel for servo control app
- https://gerrit.zephyrproject.org/r/6430 : samples: rtc: use unified kernel
- https://gerrit.zephyrproject.org/r/6395 : unified: Add linker script support for all kernel object types
- https://gerrit.zephyrproject.org/r/6397 : unified/test: Adapt object tracing tests to unified kernel
- https://gerrit.zephyrproject.org/r/6413 : samples: pwm: use unified kernel for RGB led app
- https://gerrit.zephyrproject.org/r/6394 : kernel/test: Use custom code in object tracing tests
- https://gerrit.zephyrproject.org/r/6396 : unified: Add object tracing support for kernel objects
- https://gerrit.zephyrproject.org/r/6409 : test: sprintf: remove bogus test when building with float enabled
- https://gerrit.zephyrproject.org/r/6411 : console: shell: Fix not printing selected module prompt
- https://gerrit.zephyrproject.org/r/6407 : tests/crypto/test_tcc_dh: increase timeouts for real HW
- https://gerrit.zephyrproject.org/r/6398 : tests/kernel/test_fifo: filter unified kernel for small memory
- https://gerrit.zephyrproject.org/r/6406 : tests/crypto/test_mbedtls: increase timeouts for HW
- https://gerrit.zephyrproject.org/r/6388 : Bluetooth: L2CAP: Handle LE connection response security errors
- https://gerrit.zephyrproject.org/r/6321 : dma qmsi: Add support for device power management
- https://gerrit.zephyrproject.org/r/6322 : flash qmsi: Add support for device power management
- https://gerrit.zephyrproject.org/r/6320 : quark se: Enable power management features in QMSI
- https://gerrit.zephyrproject.org/r/6093 : Bluetooth: RFCOMM: Introduce helper to initialize dlc
- https://gerrit.zephyrproject.org/r/6092 : Bluetooth: RFCOMM: Introduce helper to get session
- https://gerrit.zephyrproject.org/r/6185 : Bluetooth: RFCOMM: Define enum and macros for role and CR
- https://gerrit.zephyrproject.org/r/6309 : gpio qmsi: Remove stale comments
- https://gerrit.zephyrproject.org/r/6312 : ext qmsi: Ensure ISR definitions match between QMSI build and its users
- https://gerrit.zephyrproject.org/r/6310 : gpio qmsi: Remove unnecesary callback wrappers
- https://gerrit.zephyrproject.org/r/6311 : socs quark: Simplify IRQ configuration
- https://gerrit.zephyrproject.org/r/6365 : uart qmsi: Use provided macros to configure IRQ
- https://gerrit.zephyrproject.org/r/6313 : rtc qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6317 : gpio qmsi: Differentiate between the SoC GPIO and SS GPIO
- https://gerrit.zephyrproject.org/r/6318 : gpio qmsi: Enable SoC level GPIO to work on ARC too
- https://gerrit.zephyrproject.org/r/6316 : watchdog qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6319 : quark_se_c1000_ss_devboard: Define the user buttons
- https://gerrit.zephyrproject.org/r/6315 : aio qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6314 : dma qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6393 : samples: cpp synchronization: move to legacy/
- https://gerrit.zephyrproject.org/r/6391 : samples: philosophers: move legacy applications to legacy/
- https://gerrit.zephyrproject.org/r/6392 : samples: synchronization: move to legacy/
- https://gerrit.zephyrproject.org/r/6389 : eth: ksdk: Protect Ethernet frame buffer operations with IRQ lock.
- https://gerrit.zephyrproject.org/r/6374 : samples/mbedtls_dtlsclient: mbedTLS sample DTLS client app on Arduino 101.
- https://gerrit.zephyrproject.org/r/6375 : samples: pwm: use unified kernel
- https://gerrit.zephyrproject.org/r/6376 : samples: pwm: use unified kernel
- https://gerrit.zephyrproject.org/r/6333 : ztest: fix ztest syncronization issue when execution
- https://gerrit.zephyrproject.org/r/6377 : unified: allow passing most APIs as function pointers


STM32Cube SDK in Zephyr

Erwan Gouriou
 

Hi all,


There are growing number of STM32 based boards being ported in Zephyr
by the community. As part of ST, I can say that we are pleased to contribute
this way to Zephyr impact in IoT world.

In order to ease porting of STM32 devices, we'd like to introduce STM32Cube
SDK into Zephyr. Aim is to make porting fast and easy thanks to ST CSMIS
files, reduce code duplication and provide mature software with STM32Cube
adaptation layers (HAL and LL).

About STM32Cube CMSIS files:
Proposition for now is to move progressively towards the support of
STM32Cube
on available STM32 based boards and that new boards include STM32Cube CMSIS
files from start.

About STM32Cube Abstraction layers:
HAL and LL are 2 flavors of component based porting layers provided by
STM32Cube.
*Cube HAL provides high level, complete porting API
*Cube LL (Low Layers) provides basic set, optimized porting API
They could be used independently or mixed. HAL and LL provide abstraction
for full
STM32 family. Hence, one single HAL/LL based driver could be used on all
STM32
family.
Implementing HAL/LL based drivers is not mandatory. Though, by maximizing
code
reuse and providing proven maturity SW, using HAL/LL could be a good asset
for
STM32 Zephyr devices.
HAL/LL based drivers can co-exist with already available drivers.

STM32Cube SDKs (one per series) are available for download here:
http://www.st.com/en/embedded-software/stm32cube-embedded-software.html

If you're curious:
I've made a first change to introduce STM32Cube on stm32f1 series in Zephyr
and
implement serial driver with HAL/LL:
https://gerrit.zephyrproject.org/r/#/c/5761/5
STM32Cube is also being brought on stm32l4 in nucleo_l476rg porting by
Baylibre:
https://gerrit.zephyrproject.org/r/#/c/5194/


Erwan


Re: Handling unused but bit rotting code...

Marcus Shawcroft <marcus.shawcroft@...>
 

On 2 November 2016 at 18:42, Boie, Andrew P <andrew.p.boie(a)intel.com> wrote:
On Wed, 2016-11-02 at 11:36 +0000, Marcus Shawcroft wrote:
Sure, the drivers that I have yet to find a test case for are:

pwm/dw
gpio/mmio
adc/dw
pinmux_dev_qmsi
grove/temperature_sensor
grove/light_sensor
gpio/stm32
I feel that outside of extraordinary circumstances, a test program
should be added to show that a subsystem or driver at least *compiles*,
if not prove that it works.

Option 1 is clearly a good approach and indeed in the context of the
patch sets referred to above, this has happened. However it is not
always possible or practical...
Under what circumstances is adding a small sample to at least build
against the relevant APIs not possible/practical? Obviously it's not
always feasible to prove that something works correctly, especially an
external peripheral which may require some elaborate test apparatus,
but proving that something at least compiles seems trivial to me.
The trigger for this thread is pwm/dw where no board currently
supports the driver, it does not currently build but there is an
expectation that the driver will be useful in the future.

Cheers
/Marcus


Re: Porting to ARM Cortex-M7 / Atmel SAM E70 support

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

Hi Niheer,

The merge window for the release 1.6 closes on Nov 9th. Is there any chance the license issue could be solved before?

Thanks and regards,
Piotr


Re: stm32f7/cortex M7 port and M-7 assembler error

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

Hi,

If you haven't solved the issue yet it would be best if you check (and maybe post here) what are the actual options passed on to the assembler. To do it add V=1 to the invocation of make, as in
make BOARD=discovery_smt32f7 V=1
I understand that you don't have any problems compiling code for targets other than Cortex M7, i.e. your work environment is set up correctly.

Cheers,
Piotr


Re: Handling unused but bit rotting code...

Boie, Andrew P
 

On Wed, 2016-11-02 at 11:36 +0000, Marcus Shawcroft wrote:
Sure, the drivers that I have yet to find a test case for are:

pwm/dw
gpio/mmio
adc/dw
pinmux_dev_qmsi
grove/temperature_sensor
grove/light_sensor
gpio/stm32
I feel that outside of extraordinary circumstances, a test program
should be added to show that a subsystem or driver at least *compiles*,
if not prove that it works.

Option 1 is clearly a good approach and indeed in the context of the 
patch sets referred to above, this has happened. However it is not 
always possible or practical...
Under what circumstances is adding a small sample to at least build
against the relevant APIs not possible/practical? Obviously it's not
always feasible to prove that something works correctly, especially an
external peripheral which may require some elaborate test apparatus,
but proving that something at least compiles seems trivial to me.

Andrew


Re: Reg: Memory consumption command - Command similar to "top"

vishnuvaradan vishnuvaradan
 

Hi Anas

Thanks for the reply.

In the outdir I can see " Linker.cmd & Final-linker.cmd" files

Is the linker file inside the arch/processor/linker.ld is linked to above
files ?

Thanks again

On Wed, Nov 2, 2016 at 11:42 PM, Nashif, Anas <anas.nashif(a)intel.com> wrote:

# make ram_report

or

# make rom_report



For an analysis of all objects in the final binary



Anas



*From:* vishnuvaradan vishnuvaradan [mailto:vishnuvaradanr(a)gmail.com]
*Sent:* Wednesday, November 2, 2016 2:10 PM
*To:* devel(a)lists.zephyrproject.org
*Subject:* [devel] Reg: Memory consumption command - Command similar to
"top"



Hi all

Help me on the following

I have compiled the simple hello world example for a specific arch (eg
galileo or d2000)

Is there any command similar to "top" - ?


In the outdir following files are generated



1. Zephyr.map

2. Linker.cmd

3. Final-linker.cmd

4. linker.ld files under arch folder



what can I infer from the above files ?

My intention is to find how much memory (sram /flash ) will be consumed -
how to do this ?


Re: Reg: Memory consumption command - Command similar to "top"

Nashif, Anas
 

# make ram_report
or
# make rom_report

For an analysis of all objects in the final binary

Anas

From: vishnuvaradan vishnuvaradan [mailto:vishnuvaradanr(a)gmail.com]
Sent: Wednesday, November 2, 2016 2:10 PM
To: devel(a)lists.zephyrproject.org
Subject: [devel] Reg: Memory consumption command - Command similar to "top"

Hi all
Help me on the following
I have compiled the simple hello world example for a specific arch (eg galileo or d2000)
Is there any command similar to "top" - ?

In the outdir following files are generated


1. Zephyr.map

2. Linker.cmd

3. Final-linker.cmd

4. linker.ld files under arch folder

what can I infer from the above files ?
My intention is to find how much memory (sram /flash ) will be consumed - how to do this ?


Reg: Memory consumption command - Command similar to "top"

vishnuvaradan vishnuvaradan
 

Hi all

Help me on the following

I have compiled the simple hello world example for a specific arch (eg
galileo or d2000)

Is there any command similar to "top" - ?


In the outdir following files are generated



1. Zephyr.map

2. Linker.cmd

3. Final-linker.cmd

4. linker.ld files under arch folder



what can I infer from the above files ?
My intention is to find how much memory (sram /flash ) will be consumed -
how to do this ?


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 4
[ZEP-1165] support enums as IRQ line argument in IRQ_CONNECT()
https://jira.zephyrproject.org/browse/ZEP-1165

[ZEP-1164] ztest skip waiting the test case to finish its execution
https://jira.zephyrproject.org/browse/ZEP-1164

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

[ZEP-1163] LIB_INCLUDE_DIR is clobbered in Makefile second pass
https://jira.zephyrproject.org/browse/ZEP-1163


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

[ZEP-1046] Implement SRAM sharing between bootloader and Zephyr
https://jira.zephyrproject.org/browse/ZEP-1046

[ZEP-1121] Add config support for enabling SoCWatch in Zephyr
https://jira.zephyrproject.org/browse/ZEP-1121

[ZEP-775] Enable USB CDC by default on Arduino 101 and redirect serial to USB
https://jira.zephyrproject.org/browse/ZEP-775

[ZEP-700] provide mechanism to filter test cases based on available hardware
https://jira.zephyrproject.org/browse/ZEP-700

[ZEP-959] sync checkpatch.pl with upstream Linux
https://jira.zephyrproject.org/browse/ZEP-959

[ZEP-961] samples: other cases cannot execute after run aon_counter case
https://jira.zephyrproject.org/browse/ZEP-961

[ZEP-606] Doc files deleted from gerrit aren't deleted from website
https://jira.zephyrproject.org/browse/ZEP-606


CLOSED JIRA items within last 24 hours: 13
[ZEP-421] (Duplicate) Application Development Primer Rewrite
https://jira.zephyrproject.org/browse/ZEP-421

[ZEP-745] (Fixed) Revisit design of PWM Driver API
https://jira.zephyrproject.org/browse/ZEP-745

[ZEP-342] (Fixed) USB DFU
https://jira.zephyrproject.org/browse/ZEP-342

[ZEP-1140] (Fixed) Add a unified kernel version of power_mgr sample app for testing PM code with the new kernel
https://jira.zephyrproject.org/browse/ZEP-1140

[ZEP-739] (Fixed) warnings when building samples for quark_se devboard
https://jira.zephyrproject.org/browse/ZEP-739

[ZEP-1138] (Fixed) Recived packets not being passed to upper layer from IP stack when using ENC28J60 driver
https://jira.zephyrproject.org/browse/ZEP-1138

[ZEP-703] (Fixed) USB sample apps are broken after QMSI update
https://jira.zephyrproject.org/browse/ZEP-703

[ZEP-950] (Fixed) USB: Device is not listed by USB20CV test suite
https://jira.zephyrproject.org/browse/ZEP-950

[ZEP-1148] (Won't Do) unified timeout: 10 millisecond delay introduced in timeout
https://jira.zephyrproject.org/browse/ZEP-1148

[ZEP-607] (Cannot Reproduce) Shell APP doesn't work on Galileo board
https://jira.zephyrproject.org/browse/ZEP-607

[ZEP-780] (Won't Do) Samples:stub: should define default BOARD in /samples/stub/ Makefile
https://jira.zephyrproject.org/browse/ZEP-780

[ZEP-1152] (Duplicate) [net branch] Potential issues with handling of large packets in eth_enc28j60.c
https://jira.zephyrproject.org/browse/ZEP-1152

[ZEP-1139] (Fixed) Fix build error when power management is built with unified kernel
https://jira.zephyrproject.org/browse/ZEP-1139


RESOLVED JIRA items within last 24 hours: 14
[ZEP-783] (Fixed) ARM Cortex-M0/M0+ support
https://jira.zephyrproject.org/browse/ZEP-783

[ZEP-981] (Fixed) Add doxygen documentation to both include/kernel.h and include/legacy.h
https://jira.zephyrproject.org/browse/ZEP-981

[ZEP-859] (Fixed) Migrate ENC28J60 driver to YAIP IP stack
https://jira.zephyrproject.org/browse/ZEP-859

[ZEP-928] (Fixed) API changes to event handling
https://jira.zephyrproject.org/browse/ZEP-928

[ZEP-688] (Fixed) unify duplicated sections of arch linker scripts
https://jira.zephyrproject.org/browse/ZEP-688

[ZEP-521] (Fixed) ARM - add choice to floating point ABI selection
https://jira.zephyrproject.org/browse/ZEP-521

[ZEP-1119] (Fixed) move top level usb/ to sys/usb
https://jira.zephyrproject.org/browse/ZEP-1119

[ZEP-1120] (Fixed) move top level fs/ to sys/fs
https://jira.zephyrproject.org/browse/ZEP-1120

[ZEP-1145] (Fixed) system hang after tinycrypt HMAC test
https://jira.zephyrproject.org/browse/ZEP-1145

[ZEP-1149] (Fixed) port ztest framework to unified kernel
https://jira.zephyrproject.org/browse/ZEP-1149

[ZEP-1097] (Fixed) ENC28J60 driver fails on concurrent tx and rx
https://jira.zephyrproject.org/browse/ZEP-1097

[ZEP-711] (Cannot Reproduce) I2c: fails to write with mode fast plus
https://jira.zephyrproject.org/browse/ZEP-711

[ZEP-1098] (Fixed) ENC28J60 fails to receive big data frames
https://jira.zephyrproject.org/browse/ZEP-1098

[ZEP-962] (Cannot Reproduce) Quark SE C1000 GPIO30 is always high.
https://jira.zephyrproject.org/browse/ZEP-962


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/6393 : samples: cpp synchronization: move to legacy/
- https://gerrit.zephyrproject.org/r/6392 : samples: synchronization: move to legacy/
- https://gerrit.zephyrproject.org/r/6391 : samples: philosophers: move legacy applications to legacy/
- https://gerrit.zephyrproject.org/r/6389 : eth: ksdk: Protect Ethernet frame buffer operations with IRQ lock.
- https://gerrit.zephyrproject.org/r/6384 : stm32lx: spi add SPI driver for STM32Lx family
- https://gerrit.zephyrproject.org/r/6379 : c++: Add placement new and delete operators
- https://gerrit.zephyrproject.org/r/6377 : unified: allow passing most APIs as function pointers
- https://gerrit.zephyrproject.org/r/6387 : drivers: gpio: Remove mmio driver
- https://gerrit.zephyrproject.org/r/6388 : Bluetooth: L2CAP: Handle LE connection response security errors
- https://gerrit.zephyrproject.org/r/6385 : drivers/gpio_stm32: Make driver_api structure const.
- https://gerrit.zephyrproject.org/r/6382 : stm32l4x: pinmux: add support for STM32L4
- https://gerrit.zephyrproject.org/r/6380 : boards: Add support for the BBC micro:bit nRF51 board
- https://gerrit.zephyrproject.org/r/6378 : kernel tests: added test_thread_init
- https://gerrit.zephyrproject.org/r/6374 : samples/mbedtls_dtlsclient: mbedTLS sample DTLS client app on Arduino 101.
- https://gerrit.zephyrproject.org/r/6376 : samples: pwm: use unified kernel
- https://gerrit.zephyrproject.org/r/6375 : samples: pwm: use unified kernel
- https://gerrit.zephyrproject.org/r/6365 : uart qmsi: Use provided macros to configure IRQ
- https://gerrit.zephyrproject.org/r/6367 : DRAFT net: Remove legacy Contiki based uIP stack
- https://gerrit.zephyrproject.org/r/6369 : DRAFT net: Moved net/ to subsys/net
- https://gerrit.zephyrproject.org/r/6368 : DRAFT net: Removed CONFIG_NET_YAIP as useless
- https://gerrit.zephyrproject.org/r/6362 : tests: latency_measure: microkernel version works w/unified

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/5261 : pinmux: Add support for ARM LTD V2M Beetle Initialization
- https://gerrit.zephyrproject.org/r/5269 : sanitycheck: Add support for ARM LTD V2M Beetle Board
- https://gerrit.zephyrproject.org/r/5264 : samples: Add simple gpio test application
- https://gerrit.zephyrproject.org/r/5262 : pinmux: Add support for "runtime" pinmux on ARM LTD V2M Beetle
- https://gerrit.zephyrproject.org/r/5258 : gpio: Add ARM LTD CMSDK AHB GPIO driver
- https://gerrit.zephyrproject.org/r/5257 : samples: Add simple bringup application
- https://gerrit.zephyrproject.org/r/6308 : board_beetle: Add support for ARM LTD V2M Beetle Board
- https://gerrit.zephyrproject.org/r/5267 : serial: Add driver for CMSDK APB UART
- https://gerrit.zephyrproject.org/r/5615 : sanity_chk: add nucleo_l476rg board support
- https://gerrit.zephyrproject.org/r/5204 : pinmux/stm32: add pinmux definition for i2c
- https://gerrit.zephyrproject.org/r/5206 : stm32lx: add i2c driver for the L series
- https://gerrit.zephyrproject.org/r/5207 : nucleo_l476rg: add board support
- https://gerrit.zephyrproject.org/r/5195 : stm32l4: add clock control driver
- https://gerrit.zephyrproject.org/r/5205 : stm32l4: add pinconf settings for I2C
- https://gerrit.zephyrproject.org/r/5199 : stm32l4: add pinmux for USARTs
- https://gerrit.zephyrproject.org/r/5198 : stm32l4: add exti support
- https://gerrit.zephyrproject.org/r/5196 : stm32l4: add gpio support for l4
- https://gerrit.zephyrproject.org/r/5201 : stm32lx: add u(s)art driver for the L series
- https://gerrit.zephyrproject.org/r/5200 : stm32l4: add pinconf for USARTs
- https://gerrit.zephyrproject.org/r/5787 : drivers: flash: SoC KSDK
- https://gerrit.zephyrproject.org/r/6185 : Bluetooth: RFCOMM: Define macros for initiator flag and CR
- https://gerrit.zephyrproject.org/r/6083 : cc3200: Add support for the TI CC32xx SoC Series
- https://gerrit.zephyrproject.org/r/6092 : Bluetooth: RFCOMM: Introduce helper to get session
- https://gerrit.zephyrproject.org/r/6093 : Bluetooth: RFCOMM: Introduce helper to initialize dlc
- https://gerrit.zephyrproject.org/r/6307 : soc_beetle: Add support for ARM LTD Beetle SoC
- https://gerrit.zephyrproject.org/r/5254 : MAINTAINERS: Add maintainer for ARM LTD V2M Beetle Board
- https://gerrit.zephyrproject.org/r/5194 : stm32l4: add initial soc support for stm32l4
- https://gerrit.zephyrproject.org/r/6313 : rtc qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6335 : power: Update Quark SE PM layer with QMSI 1.3
- https://gerrit.zephyrproject.org/r/5660 : stm32cube: add ability to use ST headers
- https://gerrit.zephyrproject.org/r/5614 : stm32cube: add headers for STM32L4xx
- https://gerrit.zephyrproject.org/r/5203 : pinmux/stm32: add support for pinmux of port h
- https://gerrit.zephyrproject.org/r/5197 : stm32_exti: add support for controllers with more than 32 lines
- https://gerrit.zephyrproject.org/r/5515 : Bluetooth: HFP HF: SLC init send available CODEC
- https://gerrit.zephyrproject.org/r/4555 : Bluetooth: HFP HF: SLC connection-Send/Parse BRSF
- https://gerrit.zephyrproject.org/r/5766 : serial: Provide STM32Cube based serial driver on stm32f1
- https://gerrit.zephyrproject.org/r/5769 : stm32f1: Provide tick to STM32Cube
- https://gerrit.zephyrproject.org/r/5762 : stm32cube: Update ext/hal to include STM32Cube
- https://gerrit.zephyrproject.org/r/5764 : clock_control: have FLASH_BASE compatible with ST CMSIS files
- https://gerrit.zephyrproject.org/r/6192 : stm32f1: Adapt CONFIG_SOC values to STM32Cube values
- https://gerrit.zephyrproject.org/r/5768 : serial: Provide new numbering scheme for stm32 UART
- https://gerrit.zephyrproject.org/r/5761 : ext/hal: Introduce STM32Cube SDK for STM32F1xx family
- https://gerrit.zephyrproject.org/r/5791 : stm32cube: Add Zephyr build system files
- https://gerrit.zephyrproject.org/r/5763 : stm32f1: Enable STM32Cube SDK support on stm32f1 family
- https://gerrit.zephyrproject.org/r/6240 : clock/stm32: add STM32F107 and STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/5765 : stm32cube: Adapt STM32Cube for serial driver implementation
- https://gerrit.zephyrproject.org/r/4488 : Bluetooth: SDP: Server: Support ServiceSearchRequest
- https://gerrit.zephyrproject.org/r/6291 : [RFC] Bluetooth: SDP: Initial SDP client interface API
- https://gerrit.zephyrproject.org/r/6090 : Bluetooth: AVDTP: A2DP Profile Security setting(GAP)
- https://gerrit.zephyrproject.org/r/5162 : Bluetooth: A2DP: Shell command for A2DP connection
- https://gerrit.zephyrproject.org/r/6333 : ztest: fix ztest syncronization issue when execution
- https://gerrit.zephyrproject.org/r/6082 : ext: cc3200sdk: Enable build of CC3200 HAL
- https://gerrit.zephyrproject.org/r/6081 : ext: cc3200sdk: Import HAL for TI CC3200 SoC
- https://gerrit.zephyrproject.org/r/6080 : MAINTAINERS: Add maintainer for TI CC3200 SoC, board and SDK
- https://gerrit.zephyrproject.org/r/3337 : Script: Script to validate commit messages format.
- https://gerrit.zephyrproject.org/r/6317 : gpio qmsi: Differentiate between the SoC GPIO and SS GPIO
- https://gerrit.zephyrproject.org/r/6316 : watchdog qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6315 : aio qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6318 : gpio qmsi: Enable SoC level GPIO to work on ARC too
- https://gerrit.zephyrproject.org/r/6312 : ext qmsi: Ensure ISR definitions match between QMSI build and its users
- https://gerrit.zephyrproject.org/r/6314 : dma qmsi: Enable the driver to work on ARC
- https://gerrit.zephyrproject.org/r/6311 : socs quark: Simplify IRQ configuration
- https://gerrit.zephyrproject.org/r/6348 : drivers: Add get_pending_int API
- https://gerrit.zephyrproject.org/r/6334 : quark_se: Add restore info shared memory to linker
- https://gerrit.zephyrproject.org/r/2886 : thisnotcontaininfo
- https://gerrit.zephyrproject.org/r/6149 : Test: Ignore, just for testing purposes.
- https://gerrit.zephyrproject.org/r/2890 : Test2: Modify name in signature
- https://gerrit.zephyrproject.org/r/2889 : Test: testing commit message Missing blanck line after subject line and also writing a soooo long line, exciding limit of characters.
- https://gerrit.zephyrproject.org/r/2893 : Test: including second line with blank spaces and a tab.
- https://gerrit.zephyrproject.org/r/3363 : Commit: validate accent in name.
- https://gerrit.zephyrproject.org/r/2891 : Correct: Commit message with full compliance
- https://gerrit.zephyrproject.org/r/6014 : ext qmsi: Add config support and kernal events for enabling SoCWatch
- https://gerrit.zephyrproject.org/r/6319 : quark_se_c1000_ss_devboard: Define the user buttons
- https://gerrit.zephyrproject.org/r/6309 : gpio qmsi: Remove stale comments
- https://gerrit.zephyrproject.org/r/6310 : gpio qmsi: Remove unnecesary callback wrappers
- https://gerrit.zephyrproject.org/r/6321 : dma qmsi: Add support for device power management
- https://gerrit.zephyrproject.org/r/6322 : flash qmsi: Add support for device power management
- https://gerrit.zephyrproject.org/r/6320 : quark se: Enable power management features in QMSI

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/6383 : Bluetooth: Move controller code to subsys/bluetooth
- https://gerrit.zephyrproject.org/r/6381 : Bluetooth: Move Bluetooth host stack to subsys
- https://gerrit.zephyrproject.org/r/6370 : net: tcp: Fix flag goof in net_tcp_alloc()
- https://gerrit.zephyrproject.org/r/6371 : net: tcp: Properly ACK received TCP data
- https://gerrit.zephyrproject.org/r/6364 : tests: benchmark: enable for V2 kernel
- https://gerrit.zephyrproject.org/r/6372 : drivers: ieee802154_cc2520: fix unified build
- https://gerrit.zephyrproject.org/r/6355 : Makefile: Fix clobber of LIB_INCLUDE_DIR during second pass
- https://gerrit.zephyrproject.org/r/6366 : unified/tests: Remove nanokernel test part from latency_measure
- https://gerrit.zephyrproject.org/r/6363 : Merge bluetooth branch to master
- https://gerrit.zephyrproject.org/r/6358 : unified/doc: Update Kbuild Reference
- https://gerrit.zephyrproject.org/r/6361 : tests: app_kernel: exclude call_test() on unified
- https://gerrit.zephyrproject.org/r/6357 : unified/doc: Update Introducing Zephyr
- https://gerrit.zephyrproject.org/r/6359 : unified/doc: Update Power Management Document
- https://gerrit.zephyrproject.org/r/6360 : tests: move benchmark tests to legacy/
- https://gerrit.zephyrproject.org/r/6354 : tests/kernel/test_{fifo,lifo,stack}: filter unified kernel for small memory
- https://gerrit.zephyrproject.org/r/6350 : net: tcp: Correctly store the temporary connection handle
- https://gerrit.zephyrproject.org/r/6356 : benchmark: sys_kernel: do not build on systems with little RAM
- https://gerrit.zephyrproject.org/r/6077 : eth: ksdk: Update driver for native IP stack.
- https://gerrit.zephyrproject.org/r/6023 : net: Add support for embedding extra data to routing entries
- https://gerrit.zephyrproject.org/r/6024 : net: Add utility function to routing to return neighbor entry
- https://gerrit.zephyrproject.org/r/6025 : net: Make neighbor add function available
- https://gerrit.zephyrproject.org/r/6026 : net: Add API to set the IPv6 reachable timer
- https://gerrit.zephyrproject.org/r/6027 : net: Moved IPv6 neighbor information struct to ipv6.h file
- https://gerrit.zephyrproject.org/r/6028 : net: Add support for link cb in net_if
- https://gerrit.zephyrproject.org/r/6029 : net: Call context send cb when packet has been really sent
- https://gerrit.zephyrproject.org/r/6030 : net: Add utility function to return neighbor by index
- https://gerrit.zephyrproject.org/r/6031 : net: route: Add function to remove route by nexthop
- https://gerrit.zephyrproject.org/r/6032 : net: Add func that checks if address is global multicast one
- https://gerrit.zephyrproject.org/r/6033 : net: Add multicast route API support
- https://gerrit.zephyrproject.org/r/6034 : net: IPv6 neighbor debug prints enhanced
- https://gerrit.zephyrproject.org/r/6035 : net: Add function to traverse through IPv6 routes
- https://gerrit.zephyrproject.org/r/6036 : net: Neighbor cache did not link ll address properly
- https://gerrit.zephyrproject.org/r/6037 : net: Get IPv6 neighbor by using index
- https://gerrit.zephyrproject.org/r/6038 : net: Add utility to go through all network interfaces
- https://gerrit.zephyrproject.org/r/6039 : net: Add helper to check if the IPv6 address is part out subnet
- https://gerrit.zephyrproject.org/r/6040 : net: Add helper to find default IPv6 router
- https://gerrit.zephyrproject.org/r/6041 : net: Add IPv6 extension header type values to net_ip.h
- https://gerrit.zephyrproject.org/r/6155 : net: Add helpers to get network interface IPv6 addresses
- https://gerrit.zephyrproject.org/r/6042 : net: rpl: Initial commit
- https://gerrit.zephyrproject.org/r/6044 : net: rpl: MRH Objective Function support
- https://gerrit.zephyrproject.org/r/6045 : net: rpl: Objective Function Zero support
- https://gerrit.zephyrproject.org/r/6043 : net: tests: Unit tests for RPL
- https://gerrit.zephyrproject.org/r/6046 : net: Add IPv6 routing support
- https://gerrit.zephyrproject.org/r/6047 : net: Add more ICMPv6 option definitions
- https://gerrit.zephyrproject.org/r/6048 : net: nbuf: Add function to add stuff to IPv6 extension map
- https://gerrit.zephyrproject.org/r/6049 : net: Add IPv6 extension option defines
- https://gerrit.zephyrproject.org/r/6050 : net: Add extra parameter to ICMPv6 error API
- https://gerrit.zephyrproject.org/r/6051 : net: Add HBHO IPv6 extension handling support
- https://gerrit.zephyrproject.org/r/6052 : net: tests: Send IPv6 hop-by-hop option to IP stack
- https://gerrit.zephyrproject.org/r/6053 : net: rpl: Add IPv6 RPL option handling
- https://gerrit.zephyrproject.org/r/6054 : net: Fix IPv6 address debug print
- https://gerrit.zephyrproject.org/r/6244 : net: Make DEBUG config option naming consistent
- https://gerrit.zephyrproject.org/r/6286 : tests: do not build sensors for system with < 32k {S}RAM
- https://gerrit.zephyrproject.org/r/6301 : tests: common: add rand32 test
- https://gerrit.zephyrproject.org/r/3527 : console: shell: Support multiple modules
- https://gerrit.zephyrproject.org/r/6126 : console: Add support for DEL key
- https://gerrit.zephyrproject.org/r/6125 : console: Add support for HOME and END keys
- https://gerrit.zephyrproject.org/r/6121 : unified: API changes to event handling
- https://gerrit.zephyrproject.org/r/6270 : enc28j60: The MAX_BUFFER_LENGTH is now declared in header.
- https://gerrit.zephyrproject.org/r/6256 : enc28j60: Fixes an issue reading/writing from spi
- https://gerrit.zephyrproject.org/r/6257 : enc28j60: Fixes a reception issue for big frames.
- https://gerrit.zephyrproject.org/r/6258 : enc28j60: Improves interface with native IP stack
- https://gerrit.zephyrproject.org/r/6259 : enc28j60: Fixes an issue with concurrent tx and rx
- https://gerrit.zephyrproject.org/r/6330 : enc28j60: Fixes change to proper register bank
- https://gerrit.zephyrproject.org/r/6297 : net: ieee802154: Transform MAC between big and little endian
- https://gerrit.zephyrproject.org/r/6339 : boards: x86: Don't default to 'y' with NRF51_PM and WAIT_NOP
- https://gerrit.zephyrproject.org/r/4858 : drivers: pwm: re-design pwm API interfaces
- https://gerrit.zephyrproject.org/r/6327 : samples/zoap_server: Fix wrong reference count
- https://gerrit.zephyrproject.org/r/6326 : samples/zoap_server: Fix retrieving the wrong address
- https://gerrit.zephyrproject.org/r/6280 : samples: synchronization no need to set unified_capable tag
- https://gerrit.zephyrproject.org/r/6344 : samples: convert to unified applications
- https://gerrit.zephyrproject.org/r/6284 : tests: move individual common tests into one test
- https://gerrit.zephyrproject.org/r/6277 : tests: move kernel tests to tests/legacy
- https://gerrit.zephyrproject.org/r/6279 : tests: make generic kernel tests unified
- https://gerrit.zephyrproject.org/r/6345 : tests: stub: we should not be testing this
- https://gerrit.zephyrproject.org/r/6268 : unified/test Adapt sys_kernel test to unified kernel
- https://gerrit.zephyrproject.org/r/6346 : tests: exclude quark_d2000_crb from net/buf test
- https://gerrit.zephyrproject.org/r/6347 : tests: convert loopback test to unified kernel
- https://gerrit.zephyrproject.org/r/6341 : Bluetooth: shell: Add support for setting security level to l2cap_register


Re: Handling unused but bit rotting code...

Marcus Shawcroft <marcus.shawcroft@...>
 

On 2 November 2016 at 11:20, Nashif, Anas <anas.nashif(a)intel.com> wrote:
Marcus,
Do you have a list of the code you mention below?
Sure, the drivers that I have yet to find a test case for are:

pwm/dw
gpio/mmio
adc/dw
pinmux_dev_qmsi
grove/temperature_sensor
grove/light_sensor
gpio/stm32

Cheers
/Marcus


Anas

-----Original Message-----
From: Marcus Shawcroft [mailto:marcus.shawcroft(a)gmail.com]
Sent: Wednesday, November 2, 2016 4:43 AM
To: devel(a)lists.zephyrproject.org
Subject: [devel] Handling unused but bit rotting code...

Hi,

Recently I stumbled into a couple of examples of components within the zephyr tree that for whatever reason are currently unused, not compilable and not testable in current form. The code is retained in tree because it is expected to be useful at some point in the future.

The const config-info and const driver-api patches I posted a few weeks back are now complete bar those patches which impact drivers that currently cannot be compiled. I've refrained from pushing those patches to gerrit in order to avoid presenting changes that cannot be tested (or even compiled).

This means that those components for which I have not pushed the relevant patches are effectively 'bit rotting'.

There are a couple of different approaches to this situation:

1) Wire up some form of trivial test quickly.
2) Pull the component out of tree. Re-instate the driver (from git) and fix it up when someone has use for it (or it can be tested, or perhaps at least compiled).
3) Leave the component in the tree, don't take any change. Fix it up when it has use in the future.
4) Leave the component in the tree, take structural changes that cannot be compiled or tested, deal with the breakage in the future when the component has use/tests or compiles.
5) ?

Option 1 is clearly a good approach and indeed in the context of the patch sets referred to above, this has happened. However it is not always possible or practical...

Which leaves us with 2/3/4 for dealing with the awkward squad.

Does zephyr have a policy on dealing with this situation?

Cheers
/Marcus


Re: Handling unused but bit rotting code...

Nashif, Anas
 

Marcus,
Do you have a list of the code you mention below?

Anas

-----Original Message-----
From: Marcus Shawcroft [mailto:marcus.shawcroft(a)gmail.com]
Sent: Wednesday, November 2, 2016 4:43 AM
To: devel(a)lists.zephyrproject.org
Subject: [devel] Handling unused but bit rotting code...

Hi,

Recently I stumbled into a couple of examples of components within the zephyr tree that for whatever reason are currently unused, not compilable and not testable in current form. The code is retained in tree because it is expected to be useful at some point in the future.

The const config-info and const driver-api patches I posted a few weeks back are now complete bar those patches which impact drivers that currently cannot be compiled. I've refrained from pushing those patches to gerrit in order to avoid presenting changes that cannot be tested (or even compiled).

This means that those components for which I have not pushed the relevant patches are effectively 'bit rotting'.

There are a couple of different approaches to this situation:

1) Wire up some form of trivial test quickly.
2) Pull the component out of tree. Re-instate the driver (from git) and fix it up when someone has use for it (or it can be tested, or perhaps at least compiled).
3) Leave the component in the tree, don't take any change. Fix it up when it has use in the future.
4) Leave the component in the tree, take structural changes that cannot be compiled or tested, deal with the breakage in the future when the component has use/tests or compiles.
5) ?

Option 1 is clearly a good approach and indeed in the context of the patch sets referred to above, this has happened. However it is not always possible or practical...

Which leaves us with 2/3/4 for dealing with the awkward squad.

Does zephyr have a policy on dealing with this situation?

Cheers
/Marcus


Re: [RFC] [RFC] Add new SYS_LOG_BACKEND_FN to sys_log

Havusha, Yossi <yossi.havusha@...>
 

Hi Anas,
Thank you for your quick response,

I've created a Jira story ZEP-1172 and delivered the code to Gerrit https://tm-gerrit.ostc.intel.com/gerrit/4280

I'll work on a simple sample and will add that one as well.

Thanks,
Yossi

-----Original Message-----
From: Nashif, Anas
Sent: Tuesday, November 01, 2016 16:02
To: Havusha, Yossi <yossi.havusha(a)intel.com>; devel(a)lists.zephyrproject.org
Subject: RE: [devel] [RFC] [RFC] Add new SYS_LOG_BACKEND_FN to sys_log

Yossi,
Looks ok, I am fine with this.

Can you please put this into a JIRA story and if you have code already, submit it to gerrit.
You also need to submit a sample backend and testcases or samples to illustrate how this can be used.

Thanks,
Anas


-----Original Message-----
From: Havusha, Yossi [mailto:yossi.havusha(a)intel.com]
Sent: Thursday, October 27, 2016 4:44 AM
To: devel(a)lists.zephyrproject.org
Subject: [devel] [RFC] [RFC] Add new SYS_LOG_BACKEND_FN to sys_log

[devel] [RFC] Add new SYS_LOG_BACKEND_FN to sys_log.h ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

========
Overview
========
    Current system log implementation:
    • When using system log API (SYS_LOG_ERR(…), SYS_LOG_WRN(…),
      SYS_LOG_INF(…), SYS_LOG_DBG(…) ), each of the four SYS_LOG_X macros is
      calling the same macro - SYS_LOG_BACKEND_FN that should output the log
      message.
    • SYS_LOG_BACKEND_FN is mapped to printk or printf according to kconfig.

=====
Goals
=====
    • Have the ability to use various back ends to output the messages,
      i.e. different UART than the console, SPI, flash, FS, etc..
    • The users should use the log in asynchronous way (i.e. not wait to IO
      drivers).

==========
Suggestion
==========
    • Keep the same system log api.
    • Add the option to map SYS_LOG_BACKEND_FN to a new function hook
    • Users may register their own function to the hook function
    • Application developers may add various back ends, that will use their
      hook function to output the data to the required driver.
    • Multiple back ends at the same time can be also implemented at the same
      approach - the hook function will call all back ends

======================
Code change suggestion
======================
    At: /include/misc/sys_log.h
    
    /* setup the hook func */
    extern void (*_syslog_hook)(const char *fmt, ...);
    void _syslog_hook_install(void (*hook)(const char *, ...));
   
    /* decide print func */
    #if defined(CONFIG_LOGGER_EXTERNAL_HOOK)
    #define SYS_LOG_BACKEND_FN _syslog_hook
    #elif defined(CONFIG_STDOUT_CONSOLE)
    #include <stdio.h>
    #define SYS_LOG_BACKEND_FN printf
    #else
    #include <misc/printk.h>
    #define SYS_LOG_BACKEND_FN printk
    #endif /* CONFIG_STDOUT_CONSOLE */

     

---------------------------------------------------------------------
A member of the Intel Corporation group of companies

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
---------------------------------------------------------------------
A member of the Intel Corporation group of companies

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


Handling unused but bit rotting code...

Marcus Shawcroft <marcus.shawcroft@...>
 

Hi,

Recently I stumbled into a couple of examples of components within the
zephyr tree that for whatever reason are currently unused, not
compilable and not testable in current form. The code is retained in
tree because it is expected to be useful at some point in the future.

The const config-info and const driver-api patches I posted a few
weeks back are now complete bar those patches which impact drivers
that currently cannot be compiled. I've refrained from pushing those
patches to gerrit in order to avoid presenting changes that cannot be
tested (or even compiled).

This means that those components for which I have not pushed the
relevant patches are effectively 'bit rotting'.

There are a couple of different approaches to this situation:

1) Wire up some form of trivial test quickly.
2) Pull the component out of tree. Re-instate the driver (from git)
and fix it up when someone has use for it (or it can be tested, or
perhaps at least compiled).
3) Leave the component in the tree, don't take any change. Fix it up
when it has use in the future.
4) Leave the component in the tree, take structural changes that
cannot be compiled or tested, deal with the breakage in the future
when the component has use/tests or compiles.
5) ?

Option 1 is clearly a good approach and indeed in the context of the
patch sets referred to above, this has happened. However it is not
always possible or practical...

Which leaves us with 2/3/4 for dealing with the awkward squad.

Does zephyr have a policy on dealing with this situation?

Cheers
/Marcus

5741 - 5760 of 7586