Date   

Re: TCP/IPv4/uIP stack appears to be broken with recent commit

Jukka Rissanen
 

Hi Paul,

we can revert https://gerrit.zephyrproject.org/r/#/c/4282/6 if needed.
The patch fixed an issue Rohit had thou. Best would be to find a
solution that fixes both problems.

Cheers,
Jukka

On Tue, 2016-10-11 at 20:22 +0300, Paul Sokolovsky wrote:
Hello,

To make sure that my comment to
https://gerrit.zephyrproject.org/r/#/c/4282/6 isn't lost, I'd like to
dup it with this email. The patch above has broke echo_server
TCP/IPv4 for me. When run on frdm_k64f over Ethernet, the application
answers pings, but being telneted to port 4242, it doesn't echo TCP
data. Note that the issue of "The trouble is that that linkage
between
the outgoing buffer and the connection hasn't been established at the
point data_is_sent_and_acked() is called" has been fixed some time
ago
by https://gerrit.zephyrproject.org/r/#/c/4888/ .

Reverting just that commit fixes issue for me.


PCI enumeration and IRQ_CONNECT ?

Marcus Shawcroft <marcus.shawcroft@...>
 

Hi,

A question has come up in one of the config_info refactor patches
about the relationship between PCI enumeration and IRQ_CONNECT.... (
https://gerrit.zephyrproject.org/r/#/c/5427/2 )

Can anyone shed some light on how PCI enumeration and IRQ_CONNECT
interact in the DW GPIO, I2C and SPI drivers?

Specifically, the initialization of these drivers appears to be that:
- PCI enumeration populates driver_data->pci_dev via a call to pci_bus_scan()
- irq_num is pulled out of the pci_dev structure and stored in the
driver context.
- irq_enable() is called to enable the irq_num
- IRQ_CONNECT() is called to connect a hardwired (static) IRQ number
(e.g CONFIG_INTEL_PORT_0_IRQ) to the interrupt service routine.

Hence we have an statically configured interrupt number passed to
IRQ_CONNECT() and an irq_num returned from PCI enumeration, and no
obvious connection between the two.

How does the isr get connected to the interrupt from pci enumeration?

Cheers
/Marcus


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

Piotr Mienkowski <piotr.mienkowski@...>
 

Hi,

Just a quick question, are there maybe any news regarding Atmel's license issue? I.e. is Atmel going to provide its ASF library / register header files with Zephyr's compatible license?

Thanks,
Piotr


Re: Device driver configuration and driver_data distinction.

Francois Bedard <Francois.Bedard@...>
 

Hi,

The ARC EM Starter Kit board support is already in Zephyr as of release 1.4 (added by Chuck Jordan) but it doesn't use DW PWM at the moment.

Francois

-----Original Message-----
From: Tomasz Bursztyka [mailto:tomasz.bursztyka(a)linux.intel.com]
Sent: Tuesday, October 11, 2016 4:07 AM
To: devel(a)lists.zephyrproject.org
Subject: [devel] Re: Re: Re: Device driver configuration and driver_data distinction.

Hi Marcus,

All of the patches to achieve the above are all now on gerrit, most
have been merged already.

.. with the exception of the DW PWM driver, which so far as I can tell
does not compile for any board at this point in time,
https://jira.zephyrproject.org/browse/ZEP-1040. Is there a board that
this driver should work for?
Currently no.
However, if any pure ARC based boards come in, this might be found useful.

for instance
https://www.synopsys.com/dw/ipdir.php?ds=arc_em_starter_kit

Uses spi_dw, i2c_dw etc..

Tomasz


Re: TCP/IPv4/uIP stack appears to be broken with recent commit

Andy Ross
 

Paul Sokolovsky wrote (on Tuesday, October 11, 2016 10:22AM):
To make sure that my comment to
https://gerrit.zephyrproject.org/r/#/c/4282/6 isn't lost, I'd like to
dup it with this email. The patch above has broke echo_server
FWIW, I don't know enough about the uIP stack to add anything
technical, but:

An even better way to make sure that report isn't lost is to submit it
to the bug tracker. :)

https://jira.zephyrproject.org/

It should take the same LF authentication that gerrit does.

Andy


TCP/IPv4/uIP stack appears to be broken with recent commit

Paul Sokolovsky
 

Hello,

To make sure that my comment to
https://gerrit.zephyrproject.org/r/#/c/4282/6 isn't lost, I'd like to
dup it with this email. The patch above has broke echo_server
TCP/IPv4 for me. When run on frdm_k64f over Ethernet, the application
answers pings, but being telneted to port 4242, it doesn't echo TCP
data. Note that the issue of "The trouble is that that linkage between
the outgoing buffer and the connection hasn't been established at the
point data_is_sent_and_acked() is called" has been fixed some time ago
by https://gerrit.zephyrproject.org/r/#/c/4888/ .

Reverting just that commit fixes issue for me.

--
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 1
[ZEP-1051] mpool allocation failed after defrag twice...
https://jira.zephyrproject.org/browse/ZEP-1051


UPDATED JIRA items within last 24 hours: 6
[ZEP-784] Add support for Nordic Semiconductor nRF51822 SoC
https://jira.zephyrproject.org/browse/ZEP-784

[ZEP-779] Using current MinGW gcc version 5.3.0 breaks Zephyr build on Windows
https://jira.zephyrproject.org/browse/ZEP-779

[ZEP-724] build on windows failed: 'make: execvp: uname: File or path name too long'
https://jira.zephyrproject.org/browse/ZEP-724

[ZEP-735] Several Tests and Samples are broken for CONFIG_DEBUG
https://jira.zephyrproject.org/browse/ZEP-735

[ZEP-939] Different address used for advertising in non-connectable mode from oob data
https://jira.zephyrproject.org/browse/ZEP-939

[ZEP-982] Minimal libc has EWOULDBLOCK != EAGAIN
https://jira.zephyrproject.org/browse/ZEP-982


CLOSED JIRA items within last 24 hours: 1
[ZEP-907] (Fixed) Test memory pool support (with mailboxes)
https://jira.zephyrproject.org/browse/ZEP-907


RESOLVED JIRA items within last 24 hours: 5
[ZEP-793] (Fixed) DNS Resolver
https://jira.zephyrproject.org/browse/ZEP-793

[ZEP-605] (Fixed) SMP over BR/EDR
https://jira.zephyrproject.org/browse/ZEP-605

[ZEP-975] (Fixed) DNS client port to new IP stack
https://jira.zephyrproject.org/browse/ZEP-975

[ZEP-1014] (Fixed) [TCF] tests/bluetooth/init build fail
https://jira.zephyrproject.org/browse/ZEP-1014

[ZEP-1013] (Fixed) [TCF] samples/shell/microkernel build fail
https://jira.zephyrproject.org/browse/ZEP-1013


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/5443 : net: echo_server: Add Bluetooth support
- https://gerrit.zephyrproject.org/r/5442 : net: yaip: Add initial Bluetooth support
- https://gerrit.zephyrproject.org/r/5439 : board: Enable ETH_DW for quark_x1000 if ETHERNET is enabled.
- https://gerrit.zephyrproject.org/r/5438 : serial/ns16550: Move RW objects from driver config to driver context.
- https://gerrit.zephyrproject.org/r/5440 : tests: Add ethernet drivers to drivers/build_all
- https://gerrit.zephyrproject.org/r/5436 : i2c/dw: Move RW objects in config_info to driver_data
- https://gerrit.zephyrproject.org/r/5435 : spi/dw: Make config structure static.
- https://gerrit.zephyrproject.org/r/5426 : quark_se: Make ipm console config structure static.
- https://gerrit.zephyrproject.org/r/5424 : i2c/qmsi_ss: Make pointers to config_info const.
- https://gerrit.zephyrproject.org/r/5425 : ipm: Make config_info pointers const.
- https://gerrit.zephyrproject.org/r/5427 : spi/intel: Move RW driver context from config to runtime structure.
- https://gerrit.zephyrproject.org/r/5441 : eth/dw: Move RW objects from device config_info to device driver_data.
- https://gerrit.zephyrproject.org/r/5437 : gpio/dw: Move RW objects in config_info to driver_data
- https://gerrit.zephyrproject.org/r/5434 : net: yaip: Calculate UDP checksum in 6lowpan uncompression
- https://gerrit.zephyrproject.org/r/5433 : iot/dns: Add support for Arduino 101 and ENC28J60
- https://gerrit.zephyrproject.org/r/5428 : tests/bluetooth/init/testcase.ini: add missing kernel=micro
- https://gerrit.zephyrproject.org/r/5431 : samples: add tagging to avoid microkernel running on nano only targets
- https://gerrit.zephyrproject.org/r/5429 : enc28j60: Fixes and issue with the rx result status.
- https://gerrit.zephyrproject.org/r/5430 : net: yaip: Disable warning about unused label

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/5287 : unified/test: Fix issues affecting LIFO object test application
- https://gerrit.zephyrproject.org/r/5286 : unified/test: Fix issues affecting XIP test applications
- https://gerrit.zephyrproject.org/r/5285 : unified/test: Fix issues affecting static idt application
- https://gerrit.zephyrproject.org/r/5284 : unified/test: Fix issues affecting stack canary applications
- https://gerrit.zephyrproject.org/r/5282 : unified/test: Fix issues affecting task test applications
- https://gerrit.zephyrproject.org/r/5281 : unified: Add legacy DEFINE_TASK support
- https://gerrit.zephyrproject.org/r/5354 : kernel: Fix to DEFINE_TASK() macro
- https://gerrit.zephyrproject.org/r/5279 : unified: Enable legacy isr_task_id_get() & isr_task_priority_get()
- https://gerrit.zephyrproject.org/r/5278 : unified: Remove unimplemented kernel workload APIs
- https://gerrit.zephyrproject.org/r/5283 : unified/test: Fix issues affecting test_critical application
- https://gerrit.zephyrproject.org/r/5280 : unified: Extend unified kernel sanity test coverage
- https://gerrit.zephyrproject.org/r/5272 : unified/doc: Minor updates to thread sections in Kernel Primer
- https://gerrit.zephyrproject.org/r/5273 : unified/doc: Update memory pools section of Kernel Primer
- https://gerrit.zephyrproject.org/r/5064 : doc: yaip: Add a Network Management API usage document
- https://gerrit.zephyrproject.org/r/5390 : serial/uart_qmsi: Make pointers to config_info const.
- https://gerrit.zephyrproject.org/r/5393 : pwm: qmsi: Remove RW data from driver config structure.
- https://gerrit.zephyrproject.org/r/5388 : qmsi/dma: Remove unused channel[] from config_info
- https://gerrit.zephyrproject.org/r/5389 : i2c/qmsi: Make pointers to config_info const.
- https://gerrit.zephyrproject.org/r/5385 : gpio/sam3: Move RW data from driver config to runtime.
- https://gerrit.zephyrproject.org/r/5384 : i2c/sam3: Make config_info pointers const.
- https://gerrit.zephyrproject.org/r/5382 : quark: ipm: Make driver config structures static.
- https://gerrit.zephyrproject.org/r/5387 : qmsi/dma: Make config_info pointers const.
- https://gerrit.zephyrproject.org/r/5381 : tests: test_ipm: Make device config structures static.
- https://gerrit.zephyrproject.org/r/5232 : driver: Fixed Atmel SAM3 serial driver.
- https://gerrit.zephyrproject.org/r/5231 : arch/arm: add initial support for Cortex-M0/M0+
- https://gerrit.zephyrproject.org/r/5077 : net: yaip: Fix net_nbuf_read corner cases
- https://gerrit.zephyrproject.org/r/5006 : enc28j60: Adapt driver for native IP stack
- https://gerrit.zephyrproject.org/r/5355 : LICENSING: clarify licenses of imported / reused code
- https://gerrit.zephyrproject.org/r/5377 : doc: power_mgmt: Update references to PMA and control functions
- https://gerrit.zephyrproject.org/r/5379 : samples: TH02 temperature and humidity sensor sample
- https://gerrit.zephyrproject.org/r/5378 : sensors: add TH02 temperature sensor (Grove)
- https://gerrit.zephyrproject.org/r/4963 : samples: pwm: use new APIs and add more apps
- https://gerrit.zephyrproject.org/r/5164 : enc28j60: Modify echo client sample to support enc28j60
- https://gerrit.zephyrproject.org/r/5051 : enc28j60: Modify echo server sample to support enc28j60
- https://gerrit.zephyrproject.org/r/5194 : stm32l4: add initial soc support for stm32l4
- https://gerrit.zephyrproject.org/r/4883 : sanity: enable sanity multiple configuration
- https://gerrit.zephyrproject.org/r/5184 : net: dhcpv4: Implement XID
- https://gerrit.zephyrproject.org/r/5191 : net: Respect ether_type field.
- https://gerrit.zephyrproject.org/r/5137 : TEST: add changes to two different branches
- https://gerrit.zephyrproject.org/r/4541 : DONT MERGE
- https://gerrit.zephyrproject.org/r/5419 : drivers/pwm: fix pwm_qmsi_set_values() return error
- https://gerrit.zephyrproject.org/r/3114 : test: break doc
- https://gerrit.zephyrproject.org/r/5119 : iot/zoap: Add helper for generating tokens
- https://gerrit.zephyrproject.org/r/4917 : iot/zoap: Port to the native stack
- https://gerrit.zephyrproject.org/r/4457 : DONT MERGE
- https://gerrit.zephyrproject.org/r/5097 : iot/zoap: Add support for error 4.15
- https://gerrit.zephyrproject.org/r/5096 : zoap: Fix alignment of multiline function arguments
- https://gerrit.zephyrproject.org/r/5120 : samples/zoap_client: Use token generator helper

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/5336 : Bluetooth: Add well known keys to storage API for legacy pairing
- https://gerrit.zephyrproject.org/r/5224 : unified: clean-up timeout code for unpending a thread
- https://gerrit.zephyrproject.org/r/5221 : unified: streamline "timeout abort" internal interface
- https://gerrit.zephyrproject.org/r/5102 : unified: un-comment k_thread_[suspend|resume|abort_handler_set]
- https://gerrit.zephyrproject.org/r/5101 : dlist: add sys_dlist_peek_head_not_empty()
- https://gerrit.zephyrproject.org/r/5366 : unified: use _is_thread_pending() rather than poking in _timeout
- https://gerrit.zephyrproject.org/r/5225 : unified: remaining timeout cleanup
- https://gerrit.zephyrproject.org/r/5220 : unified/legacy: disable clock-based work_q APIs when no system clock
- https://gerrit.zephyrproject.org/r/5227 : unified: cleanup kernel initialization
- https://gerrit.zephyrproject.org/r/5104 : unified: cache the next thread to run
- https://gerrit.zephyrproject.org/r/5364 : unified: merge NANO_TIMERS and NANO_TIMEOUTS with SYS_CLOCK_EXISTS
- https://gerrit.zephyrproject.org/r/5223 : unified: streamline "timeout add" internal interfaces.
- https://gerrit.zephyrproject.org/r/5219 : unified: have __ticks_to_ms() return 0 when no system clock
- https://gerrit.zephyrproject.org/r/5103 : unified: use sys_dlist_peek_head_not_empty()
- https://gerrit.zephyrproject.org/r/5222 : unified/mem_pool: use K_NO_WAIT, not TICKS_NONE
- https://gerrit.zephyrproject.org/r/5365 : unified: do not compile out _k_neg_eagain when !CONFIG_ERRNO
- https://gerrit.zephyrproject.org/r/5367 : unified: fix remaining issues for building without SYS_CLOCK_EXIST
- https://gerrit.zephyrproject.org/r/5226 : unified: remove last instances of struct tcs
- https://gerrit.zephyrproject.org/r/5396 : quark_se: x86 core does not support ADC
- https://gerrit.zephyrproject.org/r/5394 : quark: dma: enable qmsi driver if DMA is selected
- https://gerrit.zephyrproject.org/r/5395 : frdm_k64: spi: fixed wrong kconfig used in driver
- https://gerrit.zephyrproject.org/r/5363 : unified: remove unused references from nano_private.h
- https://gerrit.zephyrproject.org/r/5397 : test: build all possible drivers on all platforms


Re: Device driver configuration and driver_data distinction.

Tomasz Bursztyka
 

Hi Marcus,

All of the patches to achieve the above are all now on gerrit, most
have been merged already.

.. with the exception of the DW PWM driver, which so far as I can tell
does not compile for any board at this point in time,
https://jira.zephyrproject.org/browse/ZEP-1040. Is there a board that
this driver should work for?
Currently no.
However, if any pure ARC based boards come in, this might be found useful.

for instance
https://www.synopsys.com/dw/ipdir.php?ds=arc_em_starter_kit

Uses spi_dw, i2c_dw etc..

Tomasz


Re: Device driver configuration and driver_data distinction.

Marcus Shawcroft <marcus.shawcroft@...>
 

Hi,

On 6 October 2016 at 17:55, Marcus Shawcroft <marcus.shawcroft(a)gmail.com> wrote:

Switching to const config_info will require the following:
1) Update ~50 drivers with an explicit const in any pointers they
construct when accessing their config_info structure. This change is
safe to make even when struct device {} has a a non const *config_info
2) Update a small subset of the above 50 to make their config
structures static. Not strictly necessary, but seems like the right
thing to do for all those drivers that are self contained within one
file.
3) Update ~12 drivers that currently have RW data within their RO
config data structure. This should be a straight forward mechanical
move of each RW object within config to the corresponding driver_data
structure.
4) Update ~12 drivers to put explict const in any pointers they
construct when accessing config_info
All of the patches to achieve the above are all now on gerrit, most
have been merged already.

.. with the exception of the DW PWM driver, which so far as I can tell
does not compile for any board at this point in time,
https://jira.zephyrproject.org/browse/ZEP-1040. Is there a board that
this driver should work for?

5) Update device {} to make config_info const
Once the above patches have been merged I'll post this one line patch.
Once this patch is applied all new drivers will need to consume their
config_info via a const * or they will get a build error.

6) Update all ~60 odd drivers to add const to their config structure
definitions.
Followed by these patches, 1 per driver, these patches are trivial,
they literally just add const to each definition of a drivers config
structure.

Cheers
/Marcus


Using ARM CMSIS in Zephyr

Piotr Mienkowski <piotr.mienkowski@...>
 

I should have asked this question some time ago. Most of the software out there in the wild which was developed for ARM Cortex-M processors is using CMSIS standard. In Zephyr we include core CMSIS files provided by ARM in ext/hal/cmsis folder however never use them.

Could someone who was there at the beginning shine more light on the following issues:
- What was the rationale to bypass CMSIS in Zephyr?
- What are the long term plans on using CMSIS?

Thanks and regards,
Piotr


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

Piotr Mienkowski <piotr.mienkowski@...>
 

What about the new set of System Control Registers added on M7 ?
Will they be wrapped up as part of the scs.h file ?
Yes, we probably should add them to the scs.h file.

I've uploaded a patch to gerrit adding preliminary support for Cortex-M7, but it covers only the M7 features which were present in M4 already. It certainly would be good to provide full M7 support.

I would prefer to focus currently on adding device drivers for the Atmel SAM E70 chipset I'm working with so if someone else would like to take over the task that would be great.


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 2
[ZEP-1049] linker: arc-elf32/bin/ld:linker.cmd:43: syntax error
https://jira.zephyrproject.org/browse/ZEP-1049

[ZEP-1050] dma_qmsi.c abuses IRQ_CONNECT
https://jira.zephyrproject.org/browse/ZEP-1050


UPDATED JIRA items within last 24 hours: 1
[ZEP-1044] Update control func name and documentation to indicate it is for PM only
https://jira.zephyrproject.org/browse/ZEP-1044


CLOSED JIRA items within last 24 hours: 7
[ZEP-1018] (Duplicate) ARM cortex_m linker script creates broken initialized data segment in binary.
https://jira.zephyrproject.org/browse/ZEP-1018

[ZEP-1015] (Fixed) [TCF] samples/power/power_hooks build fail
https://jira.zephyrproject.org/browse/ZEP-1015

[ZEP-746] (Fixed) API documentation doesn't link to conceptual documentation
https://jira.zephyrproject.org/browse/ZEP-746

[ZEP-967] (Fixed) Sanity doesnt build 'samples/usb/dfu' with assertions (-R)
https://jira.zephyrproject.org/browse/ZEP-967

[ZEP-968] (Duplicate) Sanity doesnt build 'samples/usb/cdc_acm' with assertions (-R)
https://jira.zephyrproject.org/browse/ZEP-968

[ZEP-969] (Duplicate) Sanity doesnt build 'samples/bluetooth/btusb' with assertions (-R)
https://jira.zephyrproject.org/browse/ZEP-969

[ZEP-970] (Fixed) Sanity doesnt build 'tests/kernel/test_build' with assertions (-R)
https://jira.zephyrproject.org/browse/ZEP-970


RESOLVED JIRA items within last 24 hours: 12
[ZEP-779] (Fixed) Using current MinGW gcc version 5.3.0 breaks Zephyr build on Windows
https://jira.zephyrproject.org/browse/ZEP-779

[ZEP-844] (Fixed) flashing "arduino_101_sss" build onto Arduino 101 breaks DFU
https://jira.zephyrproject.org/browse/ZEP-844

[ZEP-1025] (Fixed) Unified kernel build sometimes breaks on a missing .d dependency file.
https://jira.zephyrproject.org/browse/ZEP-1025

[ZEP-1034] (Won't Do) tests/bluetooth/shell/test_br does not fit `ROM' region with DEBUG on
https://jira.zephyrproject.org/browse/ZEP-1034

[ZEP-1033] (Won't Do) tests/bluetooth/init/test_17 does not fit `FLASH' region with asserts on
https://jira.zephyrproject.org/browse/ZEP-1033

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

[ZEP-577] (Fixed) Sample application source does not compile on Windows
https://jira.zephyrproject.org/browse/ZEP-577

[ZEP-867] (Fixed) misuse of "select" in SOC/board Kconfigs
https://jira.zephyrproject.org/browse/ZEP-867

[ZEP-982] (Fixed) Minimal libc has EWOULDBLOCK != EAGAIN
https://jira.zephyrproject.org/browse/ZEP-982

[ZEP-1031] (Fixed) qmsi: dma: driver test fails with LLVM
https://jira.zephyrproject.org/browse/ZEP-1031

[ZEP-1014] (Won't Do) [TCF] tests/bluetooth/init build fail
https://jira.zephyrproject.org/browse/ZEP-1014

[ZEP-1013] (Won't Do) [TCF] samples/shell/microkernel build fail
https://jira.zephyrproject.org/browse/ZEP-1013


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/5415 : hexiwear: Add support for hexiwear board
- https://gerrit.zephyrproject.org/r/5418 : sanitycheck: Add hexiwear board
- https://gerrit.zephyrproject.org/r/5417 : MAINTAINERS: Add frdm-k64f and hexiwear boards
- https://gerrit.zephyrproject.org/r/5421 : pinmux: Rename frdm_k64f pinmux dev driver to k64
- https://gerrit.zephyrproject.org/r/5416 : pinmux: Add hexiwear pinmux table
- https://gerrit.zephyrproject.org/r/5414 : pinmux: Rename frdm_k64f pinmux folder to k64
- https://gerrit.zephyrproject.org/r/5419 : drivers/pwm: fix pwm_qmsi_set_values() return error
- https://gerrit.zephyrproject.org/r/5413 : [Don't merge] sample app to reproduce ZEP-1036
- https://gerrit.zephyrproject.org/r/5412 : tests: move quark_se boot stub to tests
- https://gerrit.zephyrproject.org/r/5411 : move environmental_sensing sample to samples/bluetooth/
- https://gerrit.zephyrproject.org/r/5410 : move ipm sample to samples/drivers
- https://gerrit.zephyrproject.org/r/5409 : samples: move utility samples to samples/utilities
- https://gerrit.zephyrproject.org/r/5408 : samples: move kernel samples to samples/kernel
- https://gerrit.zephyrproject.org/r/5407 : add PIR example
- https://gerrit.zephyrproject.org/r/5406 : sensors: grove: add grove UV sensor
- https://gerrit.zephyrproject.org/r/5405 : sensors: add UV index channel
- https://gerrit.zephyrproject.org/r/5404 : samples: add light sensor sample using the grove kit
- https://gerrit.zephyrproject.org/r/5403 : samples: add temperature sensor sample using the grove kit
- https://gerrit.zephyrproject.org/r/5402 : sensors: make grove sensors depend on CONFIG_SENSOR
- https://gerrit.zephyrproject.org/r/5401 : samples: move grove lcd to samples/grove
- https://gerrit.zephyrproject.org/r/5400 : grove: fixed log level kconfig variable
- https://gerrit.zephyrproject.org/r/5399 : samples: move basic samples to samples/basic
- https://gerrit.zephyrproject.org/r/5398 : samples: add basic blinky application

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/5097 : iot/zoap: Add support for error 4.15
- https://gerrit.zephyrproject.org/r/5262 : pinmux: Add support for "runtime" pinmux on ARM LTD V2M Beetle
- https://gerrit.zephyrproject.org/r/5119 : iot/zoap: Add helper for generating tokens
- https://gerrit.zephyrproject.org/r/5096 : zoap: Fix alignment of multiline function arguments
- https://gerrit.zephyrproject.org/r/4917 : iot/zoap: Port to the native stack
- https://gerrit.zephyrproject.org/r/5120 : samples/zoap_client: Use token generator helper
- https://gerrit.zephyrproject.org/r/5171 : samples/mbedtls_dtlsclient: mbedTLS sample DTLS client app.
- https://gerrit.zephyrproject.org/r/5077 : net: yaip: Fix net_nbuf_read corner cases
- https://gerrit.zephyrproject.org/r/5231 : arch/arm: add initial support for Cortex-M0/M0+
- https://gerrit.zephyrproject.org/r/5218 : arm: move atomic operations selection to the Cortex-M Kconfig
- https://gerrit.zephyrproject.org/r/5396 : quark_se: x86 core does not support ADC
- https://gerrit.zephyrproject.org/r/5394 : quark: dma: enable qmsi driver if DMA is selected
- https://gerrit.zephyrproject.org/r/5395 : frdm_k64: spi: fixed wrong kconfig used in driver
- https://gerrit.zephyrproject.org/r/5323 : Bluetooth: A2DP: Set security level
- https://gerrit.zephyrproject.org/r/5336 : Bluetooth: Add well known keys to storage API for legacy pairing
- https://gerrit.zephyrproject.org/r/5355 : LICENSING: clarify licenses of imported / reused code
- https://gerrit.zephyrproject.org/r/5267 : serial: Add driver for CMSDK APB UART
- https://gerrit.zephyrproject.org/r/5185 : net: dhcpv4: Add received message debug.
- https://gerrit.zephyrproject.org/r/5184 : net: dhcpv4: Implement XID
- https://gerrit.zephyrproject.org/r/5191 : net: Respect ether_type field.
- https://gerrit.zephyrproject.org/r/5187 : net: dhcpv4: Adjust debug diagnostic wording.
- https://gerrit.zephyrproject.org/r/5186 : net: dhcpv4: Issue an NET_INFO when dhcpv4 allocates an IP.
- https://gerrit.zephyrproject.org/r/5397 : test: build all possible drivers on all platforms
- https://gerrit.zephyrproject.org/r/5223 : unified: streamline "timeout add" internal interfaces.
- https://gerrit.zephyrproject.org/r/5382 : quark: ipm: Make driver config structures static.
- https://gerrit.zephyrproject.org/r/5104 : unified: cache the next thread to run
- https://gerrit.zephyrproject.org/r/5287 : unified/test: Fix issues affecting LIFO object test application
- https://gerrit.zephyrproject.org/r/5286 : unified/test: Fix issues affecting XIP test applications
- https://gerrit.zephyrproject.org/r/5285 : unified/test: Fix issues affecting static idt application
- https://gerrit.zephyrproject.org/r/5284 : unified/test: Fix issues affecting stack canary applications
- https://gerrit.zephyrproject.org/r/5283 : unified/test: Fix issues affecting test_critical application
- https://gerrit.zephyrproject.org/r/5354 : kernel: Fix to DEFINE_TASK() macro
- https://gerrit.zephyrproject.org/r/5281 : unified: Add legacy DEFINE_TASK support
- https://gerrit.zephyrproject.org/r/5282 : unified/test: Fix issues affecting task test applications
- https://gerrit.zephyrproject.org/r/5363 : unified: remove unused references from nano_private.h
- https://gerrit.zephyrproject.org/r/5367 : unified: fix remaining issues for building without SYS_CLOCK_EXIST
- https://gerrit.zephyrproject.org/r/5227 : unified: cleanup kernel initialization
- https://gerrit.zephyrproject.org/r/5225 : unified: remaining timeout cleanup
- https://gerrit.zephyrproject.org/r/5365 : unified: do not compile out _k_neg_eagain when !CONFIG_ERRNO
- https://gerrit.zephyrproject.org/r/5280 : unified: Extend unified kernel sanity test coverage
- https://gerrit.zephyrproject.org/r/5224 : unified: clean-up timeout code for unpending a thread
- https://gerrit.zephyrproject.org/r/5366 : unified: use _is_thread_pending() rather than poking in _timeout
- https://gerrit.zephyrproject.org/r/5364 : unified: merge NANO_TIMERS and NANO_TIMEOUTS with SYS_CLOCK_EXISTS
- https://gerrit.zephyrproject.org/r/5226 : unified: remove last instances of struct tcs
- https://gerrit.zephyrproject.org/r/5279 : unified: Enable legacy isr_task_id_get() & isr_task_priority_get()
- https://gerrit.zephyrproject.org/r/5278 : unified: Remove unimplemented kernel workload APIs
- https://gerrit.zephyrproject.org/r/5273 : unified/doc: Update memory pools section of Kernel Primer
- https://gerrit.zephyrproject.org/r/5272 : unified/doc: Minor updates to thread sections in Kernel Primer

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/5420 : Bluetooth: tester: Add Identity Resolved event implementation
- https://gerrit.zephyrproject.org/r/5228 : net: yaip: arp: Fix issue with compiler optimization on Quark SE x86
- https://gerrit.zephyrproject.org/r/5319 : iot/dns: Remove legacy DNS client sample code
- https://gerrit.zephyrproject.org/r/5320 : iot/dns: Add DNS Client support for Zephyr
- https://gerrit.zephyrproject.org/r/5321 : iot/dns: Add DNS Client sample app
- https://gerrit.zephyrproject.org/r/5332 : Bluetooth: SMP: Check for connection role before BR/EDR pairing
- https://gerrit.zephyrproject.org/r/5183 : Bluetooth: tester: Rework discovery procedure
- https://gerrit.zephyrproject.org/r/5210 : unified: move code from nanokernel into unified kernel
- https://gerrit.zephyrproject.org/r/5270 : unified/doc: Minor updates to message queues in Kernel Primer
- https://gerrit.zephyrproject.org/r/5271 : unified/doc: Minor updates to event section of Kernel Primer
- https://gerrit.zephyrproject.org/r/5100 : unified/arm: fix saving of registers in __pendsv()
- https://gerrit.zephyrproject.org/r/5190 : Bluetooth: IPSS: Remove ipss_listen
- https://gerrit.zephyrproject.org/r/5330 : Bluetooth: L2CAP: Allow receiving fragmented buffers


Re: RFC: documenting licensing of imported components

Piotr Mienkowski <piotr.mienkowski@...>
 

As I understand it, the Kconfig tool is GPL2, but the Kconfig files used
by Zephyr are covered by Zephyr's license.
Now it's clear. Thanks!


Re: RFC: documenting licensing of imported components

Iván Briano <ivan.briano at intel.com...>
 

On Mon, 10 Oct 2016 13:46:32 +0000, Piotr Mienkowski wrote:
I'm a bit confused. There are plenty of Kconfig files that contain Apache license embedded in their header. The actual
# Licensed under the Apache License, Version 2.0 (the "License");
...
#
block. Does it mean that this license text should be removed/replaced with the GPL2 license?
As I understand it, the Kconfig tool is GPL2, but the Kconfig files used
by Zephyr are covered by Zephyr's license.


Re: RFC: documenting licensing of imported components

Piotr Mienkowski <piotr.mienkowski@...>
 

I'm a bit confused. There are plenty of Kconfig files that contain Apache license embedded in their header. The actual
# Licensed under the Apache License, Version 2.0 (the "License");
...
#
block. Does it mean that this license text should be removed/replaced with the GPL2 license?


JavaScript Runtime for Zephyr OS

Poussa, Sakari
 

Hi,

Intel has created a new open source project, JavaScript* Runtime for Zephyr* OS (ZJS), which makes JavaScript application development possible on Zephyr. ZJS is based on JerryScript (a lightweight JavaScript engine) and the Zephyr OS. The ZJS project provides a subset of Node.js APIs and JavaScript APIs to access sensors, actuators, and communications, as well as the tools to build applications with them. The resulting development method is easy to learn and great for rapid prototyping, especially for developers who have existing JavaScript skills. With ZJS the convenience and flexibility of JavaScript can be brought to even the very small devices.

The project is hosted on GitHub:

https://github.com/01org/zephyr.js

Currently supported boards and APIs are:

Boards
- Arduino 101*
- FRDM-K64F

APIs
- GPIO, AIO, I2C, PWM, UART
- BLE
- Buffer, Events (Node.JS* subset)
- OCF

The ZJS project is currently in early phase and we are looking for users and contributions. Feel free to give us feedback, file issues and send patches. We are looking forward to creating an open source community around the ZJS project.

Regards,
The ZJS team

Zephyr is a trademark of the Linux Foundation. *Other names and brands may be claimed as the property of others.


Re: [RFC] Real-time interrupts

Benjamin Walsh <benjamin.walsh@...>
 

On Wed, Oct 05, 2016 at 03:24:55PM +0000, Cufi, Carles wrote:


-----Original Message-----
From: Benjamin Walsh [mailto:benjamin.walsh(a)windriver.com]
Sent: Tuesday, October 04, 2016 18:46
To: Cufi, Carles <Carles.Cufi(a)nordicsemi.no>
Cc: Benjamin Walsh <benjamin.walsh(a)windriver.com>; Piotr Mienkowski
<piotr.mienkowski(a)schmid-telecom.ch>; devel(a)lists.zephyrproject.org
Subject: Re: [devel] Re: Re: Re: Re: [RFC] Real-time interrupts

So I gather from the thread and IRC conversations that it makes sense
to create an IRQ_CONNECT_DIRECT macro along with (light) documentation
on the rights and responsibilities of ISRs connected using this
mechanism. That way we can use this for the BLE Controller that could
serve as a reference for future hard real-time interrupts.

If there's no objections I will create a Jira issue with this
information.

Should this replace the zero latency interrupt (ZLI) infrastructure
that is currently in the kernel? Or should it live side-by-side with
it?
They're related, but not exactly the same.

ZLIs cannot call kernel functionalities, because lots of kernel
operations rely on locking interrupts, and ZLIs ignore interrupt
locking; "real-time" interrupts would still be able to call kernel
functionalities, if the invoke _IntExit() when they're done. Enabling
ZLI just punches a hole in the range of interrupt priorities that are
locked when locking interrupts.

Both ZLIs and RT interrupts have to be installed directly in the vector
table.

We also have to be careful about how we're handling tickless idle and
power management for RT interrupts.
Thanks for the info Ben.
I forgot about that, but we have a (very) simple sanity test for hooking
ISRs directly in the vector table:

tests/kernel/test_arm_m3_irq_vector_table

I've created a Jira issue for this:
https://jira.zephyrproject.org/browse/ZEP-1038

Carles
--
Benjamin Walsh, SMTS
Wind River Rocket
www.windriver.com
Zephyr kernel maintainer
www.zephyrproject.org


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 4
[ZEP-1045] Add/Enhance shim layer to wrap SOC specific PM implementations
https://jira.zephyrproject.org/browse/ZEP-1045

[ZEP-1047] Adapt to new PM related boot flow changes in QMSI boot loader
https://jira.zephyrproject.org/browse/ZEP-1047

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

[ZEP-1048] grove_lcd sample: sample does not work if you disable serial
https://jira.zephyrproject.org/browse/ZEP-1048


UPDATED JIRA items within last 24 hours: 5
[ZEP-19] IPSP node support
https://jira.zephyrproject.org/browse/ZEP-19

[ZEP-293] Reduce Kconfig variables in sensor drivers
https://jira.zephyrproject.org/browse/ZEP-293

[ZEP-721] Add FXOS8700 accelerometer/magnetometer sensor driver
https://jira.zephyrproject.org/browse/ZEP-721

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

[ZEP-955] Section misalignment
https://jira.zephyrproject.org/browse/ZEP-955


CLOSED JIRA items within last 24 hours: 1
[ZEP-1017] (Won't Do) GPIO set/reset broken on nRF52832
https://jira.zephyrproject.org/browse/ZEP-1017


RESOLVED JIRA items within last 24 hours: 0

6341 - 6360 of 8046