Date   

Suggestion: Package management for Zephyr

Richard Peters <mail@...>
 

Hi,

by comparing Zephyr to RIOT OS, an obvious difference is, that
RIOT uses a pkg mechanism based on makefiles and patches to integrate
3rdpary code from git repositories, like Buildroot
(https://buildroot.org/) does for Linux.
On a 'make', these 3rdparty repositories are getting pulled and then
built into the resulting firmware.

I think, Zephyr has some things in common with Buildroot, since it
enables developers to include a kernel, libraries and tools, but for
constrained devices in the IOT.

Wouldn't it be worth to have kind of a pkg-mechanism in order to
import 3rdparty code? The benefit is, that Zephyr can control through
the packages, which version from the a repository should be used and
which patches should be applied for better integration.
This would prevent Zephyrproject to include 3rdParty code direclty in
the repository, resulting in:
- prevention of bloating the repository over time
- keep the repository clean from different coding styles
- simpler integration of changes from remote repositories

Maybe it would be also a good idea to put the code in the 'ext' folder
without an official Git-Repo to GitHub and then to make a package for
integration. So we can consequently keep 3rdparty code out, make cloning
the zephyrproject git repo faster, also in the future.

Regards,
Richard


heads-up: net branch usage

Tomasz Bursztyka
 

Hi,

Since new native network stack has been merged to master I see many net
stack patches
going to master. Please don't.

Always send them to net branch.

It's easier for net maintainers to track what's going on, and also to
apply them relevantly.
Net maintainers cannot apply patches on master, so don't send any there.
(not to mention it's piling up more work on master branch maintainers
for whom it's easier
to just apply one merge request once in a while).

net branch is meant to be merged every week or so.

Thanks,

Tomasz


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 2
[ZEP-1486] I2C Slave Driver
https://jira.zephyrproject.org/browse/ZEP-1486

[ZEP-1482] ADC: ADC fails to work when fetch multiple sequence entries
https://jira.zephyrproject.org/browse/ZEP-1482


UPDATED JIRA items within last 24 hours: 4
[ZEP-1483] H:4 HCI driver (h4.c) should rely on UART flow control to avoid dropping packets
https://jira.zephyrproject.org/browse/ZEP-1483

[ZEP-1421] BMI160 gyroscope driver stops reporting after 1-5 minutes
https://jira.zephyrproject.org/browse/ZEP-1421

[ZEP-1475] k_free documentation should specify that NULL is valid
https://jira.zephyrproject.org/browse/ZEP-1475

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


CLOSED JIRA items within last 24 hours: 3
[ZEP-1427] (Done) wpanusb dongle / 15.4 communication instability
https://jira.zephyrproject.org/browse/ZEP-1427

[ZEP-1406] (Fixed) Update sensor driver paths in wiki
https://jira.zephyrproject.org/browse/ZEP-1406

[ZEP-953] (Fixed) CONFIG_HPET_TIMER_DEBUG build warning
https://jira.zephyrproject.org/browse/ZEP-953


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9357 : bluetooth: Add the ARG_UNUSED macro
- https://gerrit.zephyrproject.org/r/9358 : tests: add zephyr thread lifecycle test case with unified kernel
- https://gerrit.zephyrproject.org/r/9364 : samples: fix RST syntax and add headers
- https://gerrit.zephyrproject.org/r/9363 : arch: nrf5: Add option for enabling internal DCDC
- https://gerrit.zephyrproject.org/r/9360 : Bluetooth: RFCOMM: Respond to RPN command
- https://gerrit.zephyrproject.org/r/9359 : Bluetooth: RFCOMM: Pass session instead of dlc in make_uih_msg()
- https://gerrit.zephyrproject.org/r/9356 : quark_se: PM: Add multicore support
- https://gerrit.zephyrproject.org/r/9348 : net: buf: tailroom and headroom functions should take const pointer
- https://gerrit.zephyrproject.org/r/9351 : net: tcp: Store return value of net_buf_frags_len() on a size_t
- https://gerrit.zephyrproject.org/r/9347 : net: tcp: Be more consistent with namespaces for private funcs
- https://gerrit.zephyrproject.org/r/9345 : tests: introduce Makefile.test
- https://gerrit.zephyrproject.org/r/9354 : samples: task_profiler: Be explicit about python
- https://gerrit.zephyrproject.org/r/9353 : scripts: Explicitly call out python2
- https://gerrit.zephyrproject.org/r/9349 : net: slip: Do not remove fragments when sending data
- https://gerrit.zephyrproject.org/r/9352 : net: tcp: Use appdatalen when acknowledging packets
- https://gerrit.zephyrproject.org/r/9350 : net: tcp: Remove unused `retransmit_timer` field from `net_tcp`
- https://gerrit.zephyrproject.org/r/9344 : sanitycheck: reduce number of unnecessary configuration builds

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9340 : Bluetooth: SDP: Reset context on disconnection
- https://gerrit.zephyrproject.org/r/9339 : Bluetooth: SDP: Handle SSA PDU response
- https://gerrit.zephyrproject.org/r/9338 : Bluetooth: SDP: Introduce ContinuationState of PDU
- https://gerrit.zephyrproject.org/r/6719 : Bluetooth: A2DP: Stream End Point Structure
- https://gerrit.zephyrproject.org/r/9337 : Bluetooth: SDP: Validate Transaction ID of PDU
- https://gerrit.zephyrproject.org/r/9292 : Bluetooth: SDP: Implement ServiceSearchAttribute PDU
- https://gerrit.zephyrproject.org/r/9291 : Bluetooth: SDP: Start receiving response data on SDP PSM
- https://gerrit.zephyrproject.org/r/9290 : Bluetooth: SDP: Check params validness
- https://gerrit.zephyrproject.org/r/9269 : Bluetooth: SDP: Queue user UUID to be resolved
- https://gerrit.zephyrproject.org/r/9328 : Bluetooth: AVDTP: ADD Accept Incoming connection cb
- https://gerrit.zephyrproject.org/r/6717 : Bluetooth: A2DP: A2DP sink service record registration
- https://gerrit.zephyrproject.org/r/7492 : Bluetooth: A2DP: Added Preset Structure
- https://gerrit.zephyrproject.org/r/9331 : Bluetooth: A2DP: Adds accept state callback handlers
- https://gerrit.zephyrproject.org/r/6720 : Bluetooth: A2DP: Stream End Point Registration
- https://gerrit.zephyrproject.org/r/9307 : Bluetooth: SDP: Refactor bt_sdp_discover API
- https://gerrit.zephyrproject.org/r/7511 : drivers/console: Set default init priority to (KERNEL_INIT_PRIORITY_DEVICE - 1).
- https://gerrit.zephyrproject.org/r/9314 : RFC: Bluetooth: Controller: replace work with lockless mayfly bottom-halves
- https://gerrit.zephyrproject.org/r/9231 : net: if: Add NET_IF_UP flag
- https://gerrit.zephyrproject.org/r/9335 : net: l2: Add enable callback
- https://gerrit.zephyrproject.org/r/9228 : hexiwear_k64: Set pinmux for SPI0
- https://gerrit.zephyrproject.org/r/9336 : tests: spi: Add support for SPI_K64
- https://gerrit.zephyrproject.org/r/9275 : i2c_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep
- https://gerrit.zephyrproject.org/r/9276 : spi_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep
- https://gerrit.zephyrproject.org/r/5162 : Bluetooth: A2DP: Shell command for A2DP connection
- https://gerrit.zephyrproject.org/r/7030 : Bluetooth: HFP HF: SLC Connection send/parse CIND
- https://gerrit.zephyrproject.org/r/7263 : Bluetooth: samples: handsfree application indicator callback
- https://gerrit.zephyrproject.org/r/7077 : Bluetooth: HFP HF: SLC query indicators present value
- https://gerrit.zephyrproject.org/r/7076 : Bluetooth: AT: Change API name skip_whitespace to skip_space
- https://gerrit.zephyrproject.org/r/8922 : scripts: Add device tree parser script
- https://gerrit.zephyrproject.org/r/9281 : tests: add zephyr message queue test case with unified kernel
- https://gerrit.zephyrproject.org/r/9282 : samples: heartrate-monitor: Switch to unified kernel
- https://gerrit.zephyrproject.org/r/8963 : Sanity: switch tee use for --log-file
- https://gerrit.zephyrproject.org/r/9009 : net: tcp: Swap tcp->context backpointers
- https://gerrit.zephyrproject.org/r/9106 : net: tcp: Precompute appdata properly
- https://gerrit.zephyrproject.org/r/8917 : net: tcp: Select correct source address for SYNACK packets
- https://gerrit.zephyrproject.org/r/9216 : samples/basic/disco: Add support for Nucleo F401RE and A101
- https://gerrit.zephyrproject.org/r/9053 : cc3200: Use peripheral driver library functions from ROM
- https://gerrit.zephyrproject.org/r/9333 : samples: net: STDOUT_CONSOLE is not necessary
- https://gerrit.zephyrproject.org/r/6378 : kernel tests: added test_thread_init
- https://gerrit.zephyrproject.org/r/7465 : tests/kernel: added mbox api test
- https://gerrit.zephyrproject.org/r/8637 : tests/kernel: added test_workq_api
- https://gerrit.zephyrproject.org/r/7064 : arch: added support for the riscv32 architecture
- https://gerrit.zephyrproject.org/r/9067 : random: Introduce random device API.
- https://gerrit.zephyrproject.org/r/6410 : initial xtensa code drop
- https://gerrit.zephyrproject.org/r/9068 : samples: Add random driver sample.

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9362 : Bluetooth: Move buffer allocation helpers to buf.h
- https://gerrit.zephyrproject.org/r/9361 : doc/porting/arch.rst: Typo fix.
- https://gerrit.zephyrproject.org/r/9343 : rtc: qmsi: Fix wrong comment in driver init
- https://gerrit.zephyrproject.org/r/9342 : arch: remove instances of fiberRtnValueSet()
- https://gerrit.zephyrproject.org/r/9341 : misc: add ceiling_fraction() macro
- https://gerrit.zephyrproject.org/r/8897 : samples/zoap-client: Fix using wrong addresses
- https://gerrit.zephyrproject.org/r/7733 : drivers: i2c_shim: grant arc the access to i2c on I/O fabric
- https://gerrit.zephyrproject.org/r/8708 : drivers: spi_shim: grant arc the access to spi on I/O fabric
- https://gerrit.zephyrproject.org/r/8783 : drivers: adc108s102: use unified kernel
- https://gerrit.zephyrproject.org/r/8899 : samples: i2c_fram: update some comments
- https://gerrit.zephyrproject.org/r/8928 : driver: pwm: give arc the access to pwm
- https://gerrit.zephyrproject.org/r/9112 : tests: spi: correct a spi buffer length issue
- https://gerrit.zephyrproject.org/r/9310 : arc/nios2: rename sys_cycle_get_32 to k_cycle_get_32
- https://gerrit.zephyrproject.org/r/9311 : drivers: fix timeout in hp206
- https://gerrit.zephyrproject.org/r/9270 : kernel: add flag that tells the system is handling timeouts
- https://gerrit.zephyrproject.org/r/9312 : drivers: hp206 driver does not need 2000 ticks/s frequency
- https://gerrit.zephyrproject.org/r/9309 : kernel: optimize ms-to-ticks for certain tick frequencies
- https://gerrit.zephyrproject.org/r/9077 : samples/mbedtls_sslclient: Using native IP stack
- https://gerrit.zephyrproject.org/r/9274 : drivers: eliminate nano/micro kernel usage
- https://gerrit.zephyrproject.org/r/9279 : kernel: fix all nanokernel usage in comments
- https://gerrit.zephyrproject.org/r/9263 : hexiwear_k64: Disable unused pinmux ports by default
- https://gerrit.zephyrproject.org/r/9264 : frdm_k64f: Disable unused pinmux ports by default
- https://gerrit.zephyrproject.org/r/9265 : pinmux: Merge ksdk pinmux dev into regular ksdk pinmux driver


Re: SPI and I2C slave API

Richard Peters <mail@...>
 

On Wed, Dec 21, 2016 at 1:38 PM, Richard Peters <mail(a)richardpeters.de&gt;
wrote:


At the time of developing the software support, we found that the Quark
hardware Designware IP block did not have support for slave mode enabled.
Not much more that could be done.

As far as K64F boards go, that isn't one I can say much about. Anyone from
NXP?
I have created a ticket in Jira: https://jira.zephyrproject.org/browse/ZEP-1486. Some discussion on this would be great. I think designing a generic API for I2C- Slave mode is not only an issue of NXP, but because their chips support this, they could be more interested than intel in this case. Are there maintainers from NXP in this mailing list?


Re: SPI and I2C slave API

Dan Kalowsky
 

On Wed, Dec 21, 2016 at 1:38 PM, Richard Peters <mail(a)richardpeters.de>
wrote:

No slave support yet at least for quark platforms.
Ok thank you,
but shoudn't be this a high prioriy issue, since this are basic
peripherals?
Is I2C- and SPI-Slave support planned for the next release?
At the time of developing the software support, we found that the Quark
hardware Designware IP block did not have support for slave mode enabled.
Not much more that could be done.

As far as K64F boards go, that isn't one I can say much about. Anyone from
NXP?

--
"Do you expect me to talk?"
"No Mr. Bond, I expect you to die."


Re: SPI and I2C slave API

Richard Peters <mail@...>
 

No slave support yet at least for quark platforms.
Ok thank you,
but shoudn't be this a high prioriy issue, since this are basic peripherals?
Is I2C- and SPI-Slave support planned for the next release?


Re: SPI and I2C slave API

Liu, Baohong
 

-----Original Message-----
From: Richard Peters [mailto:mail(a)richardpeters.de]
Sent: Wednesday, December 21, 2016 12:49 PM
To: devel(a)lists.zephyrproject.org
Subject: [devel] SPI and I2C slave API

Hi,

the documentation and examples do not include samples for i2c slave
functionallity. Same for SPI.
I need an I2C-Slave on a K64f board. Is this supported in Zephyr?
If so, how to use it?
No slave support yet at least for quark platforms.


Thank you,
Richard


SPI and I2C slave API

Richard Peters <mail@...>
 

Hi,

the documentation and examples do not include samples for i2c slave
functionallity. Same for SPI.
I need an I2C-Slave on a K64f board. Is this supported in Zephyr?
If so, how to use it?

Thank you,
Richard


SPI and I2C slave API

Richard Peters <mail@...>
 

Hi,

the documentation and examples do not include samples for i2c slave
functionallity. Same for SPI.
I need an I2C-Slave on a K64f board. Is this supported in Zephyr?
If so, how to use it?

Thank you,
Richard


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 6
[ZEP-1479] SDK not working when installed before required distro packages
https://jira.zephyrproject.org/browse/ZEP-1479

[ZEP-1480] Update supported distros in getting started guide
https://jira.zephyrproject.org/browse/ZEP-1480

[ZEP-1476] Echo_client doesn't response ipv4 ping request affer enable ipv4
https://jira.zephyrproject.org/browse/ZEP-1476

[ZEP-1481] Bluetooth fails to init
https://jira.zephyrproject.org/browse/ZEP-1481

[ZEP-1477] I2C: I2C fails to work on ARC after waken up from deep sleep
https://jira.zephyrproject.org/browse/ZEP-1477

[ZEP-1478] SPI: SPI fails to work on ARC after waken up from deep sleep
https://jira.zephyrproject.org/browse/ZEP-1478


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

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

[ZEP-1288] Define _arc_v2_irq_unit device
https://jira.zephyrproject.org/browse/ZEP-1288

[ZEP-1223] Add save/restore support to arcv2_irq_unit
https://jira.zephyrproject.org/browse/ZEP-1223

[ZEP-1224] Add save/restore support to arcv2_timer_0/sys_clock
https://jira.zephyrproject.org/browse/ZEP-1224

[ZEP-1222] Add save/restore support to ARC core
https://jira.zephyrproject.org/browse/ZEP-1222

[ZEP-664] Extend spi_qmsi_ss driver to support save/restore peripheral context
https://jira.zephyrproject.org/browse/ZEP-664

[ZEP-666] Extend i2c_qmsi_ss driver to support save/restore peripheral context
https://jira.zephyrproject.org/browse/ZEP-666

[ZEP-1351] FDRM k64f SPI does not work
https://jira.zephyrproject.org/browse/ZEP-1351


CLOSED JIRA items within last 24 hours: 6
[ZEP-790] (Done) ICMPv4
https://jira.zephyrproject.org/browse/ZEP-790

[ZEP-1248] (Fixed) Checkpatch should stop the CI build
https://jira.zephyrproject.org/browse/ZEP-1248

[ZEP-1150] (Fixed) CI does not use ccache
https://jira.zephyrproject.org/browse/ZEP-1150

[ZEP-1444] (Duplicate) Arduino_101 doesn't response ipv4 ping request affer enable ipv4
https://jira.zephyrproject.org/browse/ZEP-1444

[ZEP-946] (Fixed) Galileo Gen1 board support dropped?
https://jira.zephyrproject.org/browse/ZEP-946

[ZEP-1361] (Fixed) IP stack is broken
https://jira.zephyrproject.org/browse/ZEP-1361


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9307 : Bluetooth: SDP: Refactor bt_sdp_discover API
- https://gerrit.zephyrproject.org/r/9340 : Bluetooth: SDP: Reset context on disconnection
- https://gerrit.zephyrproject.org/r/9339 : Bluetooth: SDP: Handle SSA PDU response
- https://gerrit.zephyrproject.org/r/9338 : Bluetooth: SDP: Introduce ContinuationState of PDU
- https://gerrit.zephyrproject.org/r/9337 : Bluetooth: SDP: Validate Transaction ID of PDU
- https://gerrit.zephyrproject.org/r/9309 : kernel: optimize ms-to-ticks for certain tick frequencies
- https://gerrit.zephyrproject.org/r/9336 : tests: spi: Add support for SPI_K64
- https://gerrit.zephyrproject.org/r/9334 : net: buf: Fix a debug message missing a parameter
- https://gerrit.zephyrproject.org/r/9332 : tests: net: Fix format issues
- https://gerrit.zephyrproject.org/r/9333 : samples: net: STDOUT_CONSOLE is not necessary
- https://gerrit.zephyrproject.org/r/9335 : net: l2: Add enable callback
- https://gerrit.zephyrproject.org/r/9325 : gpio/stm32: provide GPIO driver implementation for STM32F3X family
- https://gerrit.zephyrproject.org/r/9314 : RFC: Bluetooth: Controller: replace work with lockless mayfly bottom-halves
- https://gerrit.zephyrproject.org/r/9316 : samples/zoap_server: Use the correct option for TAP
- https://gerrit.zephyrproject.org/r/9315 : samples/zoap_client: Use the correct option for TAP
- https://gerrit.zephyrproject.org/r/9317 : net: Fix receving packets using TAP interface
- https://gerrit.zephyrproject.org/r/9313 : tests: kernel: test_critical: Porting legacy tests to unified kernel
- https://gerrit.zephyrproject.org/r/9308 : binutils (riscv32): modify repository branch
- https://gerrit.zephyrproject.org/r/9311 : drivers: fix timeout in hp206
- https://gerrit.zephyrproject.org/r/9310 : arc/nios2: rename sys_cycle_get_32 to k_cycle_get_32
- https://gerrit.zephyrproject.org/r/9312 : drivers: hp206 driver does not need 2000 ticks/s frequency

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9067 : random: Introduce random device API.
- https://gerrit.zephyrproject.org/r/9292 : Bluetooth: SDP: Implement ServiceSearchAttribute PDU
- https://gerrit.zephyrproject.org/r/9291 : Bluetooth: SDP: Start receiving response data on SDP PSM
- https://gerrit.zephyrproject.org/r/9290 : Bluetooth: SDP: Check params validness
- https://gerrit.zephyrproject.org/r/9269 : Bluetooth: SDP: Queue user UUID to be resolved
- https://gerrit.zephyrproject.org/r/8963 : Sanity: switch tee use for --log-file
- https://gerrit.zephyrproject.org/r/8930 : subsys: disk: Refactor disk_access stuff into a directory
- https://gerrit.zephyrproject.org/r/9237 : samples: echo: Support connecting CC2520 to Hexiwear
- https://gerrit.zephyrproject.org/r/9236 : samples: cc2520: Add configuration for CC2520 and hexiwear_k64
- https://gerrit.zephyrproject.org/r/9228 : hexiwear_k64: Set pinmux for SPI0
- https://gerrit.zephyrproject.org/r/9068 : samples: Add random driver sample.
- https://gerrit.zephyrproject.org/r/9146 : net: buf: Let's make use of func/line parameters when available
- https://gerrit.zephyrproject.org/r/8813 : driver: ethernet: adds reset signal to enc28j60 driver
- https://gerrit.zephyrproject.org/r/9263 : hexiwear_k64: Disable unused pinmux ports by default
- https://gerrit.zephyrproject.org/r/9264 : frdm_k64f: Disable unused pinmux ports by default
- https://gerrit.zephyrproject.org/r/9265 : pinmux: Merge ksdk pinmux dev into regular ksdk pinmux driver
- https://gerrit.zephyrproject.org/r/9095 : net: buf: Change NET_BUF_DEBUG to NET_BUF_LOG and add a level option
- https://gerrit.zephyrproject.org/r/9096 : net: ip: Improve logging by adding a dedicated sys_log level
- https://gerrit.zephyrproject.org/r/9145 : net: log: Do not select STDOUT_CONSOLE
- https://gerrit.zephyrproject.org/r/9231 : net: if: Add NET_IF_UP flag
- https://gerrit.zephyrproject.org/r/9229 : gpio: Support drive strength configuration.
- https://gerrit.zephyrproject.org/r/9032 : net: statistics: Fix comment length issue
- https://gerrit.zephyrproject.org/r/9071 : net: statistics: Expose relevant information through net mgmt API
- https://gerrit.zephyrproject.org/r/9070 : net: statistics: Have a dedicated struct for rpl data
- https://gerrit.zephyrproject.org/r/9033 : net: statistics: Move current statistics code to its own file
- https://gerrit.zephyrproject.org/r/9034 : net: statistics: Make statistics calculation fully private
- https://gerrit.zephyrproject.org/r/9035 : net: statistics: Provide specific Kconfig options
- https://gerrit.zephyrproject.org/r/8824 : drivers: spi_k64: Set PCS as activ low and continuous per default
- https://gerrit.zephyrproject.org/r/7626 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/7623 : clock/stm32: add STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/7615 : boards: add initial support for STM32373C-EVAL with SoC STM32F373VC
- https://gerrit.zephyrproject.org/r/7611 : boards: add initial support for STM3210C-EVAL board with SoC STM32F107VC
- https://gerrit.zephyrproject.org/r/7614 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/7625 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/7622 : clock/stm32: add STM32F107 reset and clock control
- https://gerrit.zephyrproject.org/r/4934 : Bluetooth: A2DP: Adds Disconnect API
- https://gerrit.zephyrproject.org/r/7496 : soc/stm32f1: Add the new type of SoC STM32F107
- https://gerrit.zephyrproject.org/r/7613 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/9230 : gpio/nrf5: Support drive strength configuration.
- https://gerrit.zephyrproject.org/r/9221 : samples: net: Fix Makefile and conf file
- https://gerrit.zephyrproject.org/r/9216 : samples/basic/disco: Add support for Nucleo F401RE and A101
- https://gerrit.zephyrproject.org/r/8952 : samples: disco: updated disco app to be board dependent
- https://gerrit.zephyrproject.org/r/9275 : i2c_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep
- https://gerrit.zephyrproject.org/r/22 : ci: test: checkpatch: error braces
- https://gerrit.zephyrproject.org/r/27 : ci: test: checkpatch: warning space
- https://gerrit.zephyrproject.org/r/8953 : boards: nucleo_f103rb: added ED1_GPIO_PORT, LED1_GPIO_PIN and LED2_GPIO_PIN definitions
- https://gerrit.zephyrproject.org/r/8893 : drivers: spi_k64: Fix premature shutdown of SPI

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9298 : mailmap: added axy (for Anas Nashif)
- https://gerrit.zephyrproject.org/r/9326 : eth/ksdk: Use k_sem_init() initial count
- https://gerrit.zephyrproject.org/r/9327 : eth/ksdk: Use k_sem instead of nano_sem
- https://gerrit.zephyrproject.org/r/9300 : driver: Add ARG_UNUSED to console and uart drivers
- https://gerrit.zephyrproject.org/r/9301 : drivers/slip: Use the right data-type
- https://gerrit.zephyrproject.org/r/9302 : misc/byteorder: Use the right data-type
- https://gerrit.zephyrproject.org/r/9303 : misc/logger: Add ARG_UNUSED
- https://gerrit.zephyrproject.org/r/9304 : net: Add ARG_UNUSED
- https://gerrit.zephyrproject.org/r/9305 : net/utils: Use the right data-type
- https://gerrit.zephyrproject.org/r/9306 : samples/net/echo_client: Add ARG_UNUSED
- https://gerrit.zephyrproject.org/r/9318 : drivers/sensor/bmi160: Remove compiler warnings
- https://gerrit.zephyrproject.org/r/9319 : drivers/sensor: Add the ARG_UNUSED macro
- https://gerrit.zephyrproject.org/r/9320 : drivers: Add the ARG_UNUSED macro
- https://gerrit.zephyrproject.org/r/9321 : shell: Init structure and add the ARG_UNUSED macro
- https://gerrit.zephyrproject.org/r/9322 : samples: Add the ARG_UNUSED macro
- https://gerrit.zephyrproject.org/r/9323 : drivers/usb: Use the right data-type
- https://gerrit.zephyrproject.org/r/9324 : arch/arc, usb, ztest: Add the ARG_UNUSED macro
- https://gerrit.zephyrproject.org/r/9299 : Bluetooth: Add timeout to event & ACL buffer allocation functions
- https://gerrit.zephyrproject.org/r/9297 : net: remove obsolete net_testing.h
- https://gerrit.zephyrproject.org/r/9294 : sensor: Introduce tap and double tap triggers
- https://gerrit.zephyrproject.org/r/9295 : fxos8700: Add support for tap and double tap triggers
- https://gerrit.zephyrproject.org/r/9287 : doc: remove device_sync_call documentation
- https://gerrit.zephyrproject.org/r/9289 : kernel: document behavior of k_free
- https://gerrit.zephyrproject.org/r/9003 : drivers: gpio_cmsdk_ahb: Fix erronous if statements
- https://gerrit.zephyrproject.org/r/6129 : compare footprint: add sanity args files
- https://gerrit.zephyrproject.org/r/9021 : dhcpv4: Report address acquisition.
- https://gerrit.zephyrproject.org/r/8997 : samples: net: Add echo_client build test for frdm CC2520 configuration
- https://gerrit.zephyrproject.org/r/8962 : arc: em_starterkit default changed to EM7D
- https://gerrit.zephyrproject.org/r/9277 : tests: add zephyr alerts test case
- https://gerrit.zephyrproject.org/r/9049 : sanity: filter the build-all test for ethernet
- https://gerrit.zephyrproject.org/r/7763 : doc: Add environment variables to getting_started.rst
- https://gerrit.zephyrproject.org/r/9048 : hosttools-tarball: remove openocd-legacy
- https://gerrit.zephyrproject.org/r/9293 : doc: add note about order of SDK installation
- https://gerrit.zephyrproject.org/r/9273 : Merge arm branch into master
- https://gerrit.zephyrproject.org/r/9212 : samples/logger-hook: fix ring buffer usage and initialize variables.


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 4
[ZEP-1474] BLE Connection Parameter Request/Response Processing
https://jira.zephyrproject.org/browse/ZEP-1474

[ZEP-1471] Support for NXP KW2xD MCU
https://jira.zephyrproject.org/browse/ZEP-1471

[ZEP-1470] Enabling CONFIG_FP_SHARING on ARM causes usage fault
https://jira.zephyrproject.org/browse/ZEP-1470

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


UPDATED JIRA items within last 24 hours: 21
[ZEP-21] BT 4.2 Controller-based link-layer privacy
https://jira.zephyrproject.org/browse/ZEP-21

[ZEP-19] IPSP node support
https://jira.zephyrproject.org/browse/ZEP-19

[ZEP-1284] Remove arch/arm/core/gdb_stub.S and all the abstractions it introduced
https://jira.zephyrproject.org/browse/ZEP-1284

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

[ZEP-630] Features support matrix for supported boards
https://jira.zephyrproject.org/browse/ZEP-630

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

[ZEP-1178] Provide a MinGW environment for Building on Windows
https://jira.zephyrproject.org/browse/ZEP-1178

[ZEP-1429] NXP MCR20A Driver
https://jira.zephyrproject.org/browse/ZEP-1429

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

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

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

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

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

[ZEP-1150] CI does not use ccache
https://jira.zephyrproject.org/browse/ZEP-1150

[ZEP-1421] BMI160 gyroscope driver stops reporting after 1-5 minutes
https://jira.zephyrproject.org/browse/ZEP-1421

[ZEP-1442] Samples/net/dhcpv4_client: Build fail as No rule to make target `prj_.conf
https://jira.zephyrproject.org/browse/ZEP-1442

[ZEP-951] CONFIG_GDB_INFO build not working on ARM
https://jira.zephyrproject.org/browse/ZEP-951

[ZEP-1323] Eliminate references to "fiber", "task", and "nanokernel" under ./include
https://jira.zephyrproject.org/browse/ZEP-1323

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

[ZEP-953] CONFIG_HPET_TIMER_DEBUG build warning
https://jira.zephyrproject.org/browse/ZEP-953

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


CLOSED JIRA items within last 24 hours: 2
[ZEP-1320] (Fixed) Update Architecture Porting Guide
https://jira.zephyrproject.org/browse/ZEP-1320

[ZEP-1324] (Fixed) Get rid of references to CONFIG_NANOKERNEL
https://jira.zephyrproject.org/browse/ZEP-1324


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9293 : doc: add note about order of SDK installation
- https://gerrit.zephyrproject.org/r/9273 : Merge arm branch into master
- https://gerrit.zephyrproject.org/r/9292 : Bluetooth: SDP: Implement ServiceSearchAttribute Request
- https://gerrit.zephyrproject.org/r/9295 : fxos8700: Add support for tap and double tap triggers
- https://gerrit.zephyrproject.org/r/9294 : sensor: Introduce tap and double tap triggers
- https://gerrit.zephyrproject.org/r/9291 : Bluetooth: SDP: Start receiving response data on SDP PSM
- https://gerrit.zephyrproject.org/r/9290 : Bluetooth: SDP: Check params validness
- https://gerrit.zephyrproject.org/r/9269 : Bluetooth: SDP: Queue user UUID to be resolved
- https://gerrit.zephyrproject.org/r/9289 : kernel: document behavior of k_free
- https://gerrit.zephyrproject.org/r/9287 : doc: remove device_sync_call documentation
- https://gerrit.zephyrproject.org/r/9274 : drivers: eliminate nano/micro kernel usage
- https://gerrit.zephyrproject.org/r/9279 : kernel: fix all nanokernel usage in comments
- https://gerrit.zephyrproject.org/r/9270 : kernel: add flag that tells the system is handling timeouts
- https://gerrit.zephyrproject.org/r/9282 : samples: heartrate-monitor: Switch to unified kernel
- https://gerrit.zephyrproject.org/r/9281 : tests: add zephyr message queue test case with unified kernel
- https://gerrit.zephyrproject.org/r/9280 : tests: kernel: test_slab: Porting memory map tests to unified
- https://gerrit.zephyrproject.org/r/9278 : tests: kernel: test_context: Porting legacy tests to unified kernel
- https://gerrit.zephyrproject.org/r/9277 : tests: add zephyr alerts test case
- https://gerrit.zephyrproject.org/r/9275 : i2c_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep
- https://gerrit.zephyrproject.org/r/9276 : spi_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep
- https://gerrit.zephyrproject.org/r/9272 : DONOT MERGE: testing --log
- https://gerrit.zephyrproject.org/r/9263 : hexiwear_k64: Disable unused pinmux ports by default
- https://gerrit.zephyrproject.org/r/9264 : frdm_k64f: Disable unused pinmux ports by default
- https://gerrit.zephyrproject.org/r/9265 : pinmux: Merge ksdk pinmux dev into regular ksdk pinmux driver

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/8953 : boards: nucleo_f103rb: added ED1_GPIO_PORT, LED1_GPIO_PIN and LED2_GPIO_PIN definitions
- https://gerrit.zephyrproject.org/r/9212 : samples/logger-hook: fix ring buffer usage and initialize variables.
- https://gerrit.zephyrproject.org/r/7623 : clock/stm32: add STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/7622 : clock/stm32: add STM32F107 reset and clock control
- https://gerrit.zephyrproject.org/r/7613 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/7626 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/7625 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/7615 : boards: add initial support for STM32373C-EVAL with SoC STM32F373VC
- https://gerrit.zephyrproject.org/r/7614 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/7611 : boards: add initial support for STM3210C-EVAL board with SoC STM32F107VC
- https://gerrit.zephyrproject.org/r/7496 : soc/stm32f1: Add the new type of SoC STM32F107
- https://gerrit.zephyrproject.org/r/9231 : net: if: Add NET_IF_UP flag
- https://gerrit.zephyrproject.org/r/9061 : tests: Add Zephyr watchdog timer test case
- https://gerrit.zephyrproject.org/r/22 : ci: test: checkpatch: error braces
- https://gerrit.zephyrproject.org/r/27 : ci: test: checkpatch: warning space
- https://gerrit.zephyrproject.org/r/7664 : second test
- https://gerrit.zephyrproject.org/r/6708 : script: collect random build issues
- https://gerrit.zephyrproject.org/r/9096 : net: ip: Improve logging by adding a dedicated sys_log level
- https://gerrit.zephyrproject.org/r/9072 : boards: arm: add support for redbear ble nano 2
- https://gerrit.zephyrproject.org/r/9095 : net: buf: Change NET_BUF_DEBUG to NET_BUF_LOG and add a level option

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9271 : CI: implement ccache for sanity.
- https://gerrit.zephyrproject.org/r/9296 : Install ccache on build nodes
- https://gerrit.zephyrproject.org/r/9267 : Bluetooth: SDP: Attempt reuse existing SDP client session
- https://gerrit.zephyrproject.org/r/9283 : net: Device driver_api is const, honour it.
- https://gerrit.zephyrproject.org/r/9284 : ieee802165: Device driver_api is const, honour it.
- https://gerrit.zephyrproject.org/r/9285 : eth/config: Group ethernet driver configuration into one menu.
- https://gerrit.zephyrproject.org/r/9286 : eth/enc28j60: CONFIG_ETHERNET no longer exists.
- https://gerrit.zephyrproject.org/r/9248 : sanity_chk: add nucleo_f411re to arm list of boards for sanity
- https://gerrit.zephyrproject.org/r/9266 : tests: GDB server only works on qemu_x86 now
- https://gerrit.zephyrproject.org/r/9247 : kernel: add missing ___kernel_t_arch_OFFSET
- https://gerrit.zephyrproject.org/r/9246 : Bluetooth: Make BR/EDR discovery be limited only by time
- https://gerrit.zephyrproject.org/r/9245 : Bluetooth: shell: Fix br-discovery help message
- https://gerrit.zephyrproject.org/r/9244 : samples: disable single threaded hello world for configs that fail
- https://gerrit.zephyrproject.org/r/6775 : verify: change to stop the build as soon as possible
- https://gerrit.zephyrproject.org/r/9223 : echo_server: Fix frdm_k64f build in the absence of CC2520
- https://gerrit.zephyrproject.org/r/9026 : Bluetooth: AVDTP: Add AVDTP_Timer & Handler
- https://gerrit.zephyrproject.org/r/9015 : Bluetooth: AVDTP: Add AVDTP Pending Request
- https://gerrit.zephyrproject.org/r/9241 : samples: remove obsolete KERNEL_TYPE
- https://gerrit.zephyrproject.org/r/9049 : sanity: filter the build-all test for ethernet
- https://gerrit.zephyrproject.org/r/9239 : Bluetooth: SDP: Add connected and disconnected handlers
- https://gerrit.zephyrproject.org/r/9238 : Bluetooth: SDP: Initial implementation of bt_sdp_discover API
- https://gerrit.zephyrproject.org/r/9211 : tracing: rename CONFIG_DEBUG_TRACING_KERNEL_OBJECTS
- https://gerrit.zephyrproject.org/r/9235 : tests: add gdb server test
- https://gerrit.zephyrproject.org/r/9234 : debug: gdb: move to new kernel APIs
- https://gerrit.zephyrproject.org/r/9210 : kconfig: group options into menus
- https://gerrit.zephyrproject.org/r/9209 : kernel: move kernel code to kernel/ directly
- https://gerrit.zephyrproject.org/r/7029 : Bluetooth: AT: Command parsing for range of values
- https://gerrit.zephyrproject.org/r/9215 : kernel: remove unused and obsolete headers
- https://gerrit.zephyrproject.org/r/9197 : kconfig: remove unused TASK_DEBUG options
- https://gerrit.zephyrproject.org/r/9194 : kernel: kconfig: replace task/fiber with threads
- https://gerrit.zephyrproject.org/r/9198 : doc: rename shell section to simply: Shell
- https://gerrit.zephyrproject.org/r/9207 : x86: remove obsolete comment about tasks/fibers
- https://gerrit.zephyrproject.org/r/9195 : kernel: kconfig: move event logger options into file
- https://gerrit.zephyrproject.org/r/9204 : debug: fixed style and align code
- https://gerrit.zephyrproject.org/r/9206 : kernel: fixed description of THREAD_CUSTOM_DATA
- https://gerrit.zephyrproject.org/r/9192 : kernel: rename NANOKERNEL_TICKLESS_IDLE_SUPPORTED
- https://gerrit.zephyrproject.org/r/9196 : kernel: kconfig: move power management options out
- https://gerrit.zephyrproject.org/r/9199 : logging: move sys_log to subsys/logging
- https://gerrit.zephyrproject.org/r/9193 : kernel: Isolate logger options
- https://gerrit.zephyrproject.org/r/9203 : debug: move debug features from misc to subsys/debug
- https://gerrit.zephyrproject.org/r/9205 : object_tracing: fixed style
- https://gerrit.zephyrproject.org/r/9208 : kernel: merge kernel Kconfigs into one
- https://gerrit.zephyrproject.org/r/9214 : kernel: remove nano/micro wording and usage
- https://gerrit.zephyrproject.org/r/6291 : Bluetooth: SDP: Initial SDP client interface API
- https://gerrit.zephyrproject.org/r/9242 : arm: remove old GDB_INFO support
- https://gerrit.zephyrproject.org/r/9243 : timer: hpet: rename debug function to avoid conflict
- https://gerrit.zephyrproject.org/r/9182 : tinycrypt: Update TinyCrypt to version 0.2.5
- https://gerrit.zephyrproject.org/r/9240 : Bluetooth: shell: Add option to specify BR/EDR discovery length


Configuring an app

David Brown
 

In porting the Mynewt bootloader to Zepyr, I'd like to be able to have
configuration options for this new app.

Right now, the best I've been able to come up with is something like
having:

subdir-ccflags-y += -DENABLE_BLAH_BLAH

and the likes. This works reasonably well, but ends up making the
configuration for the app separate from the configuration of the rest
of Zephyr.

The builder of the app would then edit the Makefile and likely
either comment/un-comment, or change "-n" to "-y" to control these
options.

Is this the intended way of doing this kind of configuration, or is
there a desire for Kconfig to be able to use Kconfig files in an app?

Thanks,
David


Trying Nucleo-64 STM32F411RE

Piotr Król <piotr.krol at 3mdeb.com...>
 

Hi all,

I'm trying to run some examples (ie. hello_world, blinky) from arm
branch on Nucleo-64 STM32F411RE, but have problem with verifying if it
works. What I tried:

In hello_world directory:
make BOARD=nucleo_f411re
make BOARD=nucleo_f411re flash

Board seem to flash correctly. I OpenOCD master branch compiled locally.

$ make BOARD=nucleo_f411re flash
make[1]: Entering directory '/path/to//src/zephyr-project'
make[2]: Entering directory '/path/to//src/zephyr-project/samples/hello_world/outdir/nucleo_f411re'
Using /path/to//src/zephyr-project as source for kernel
GEN ./Makefile
CHK include/generated/version.h
CHK misc/generated/configs.c
CHK include/generated/offsets.h
CHK misc/generated/sysgen/prj.mdef
Flashing nucleo_f411re
Flashing Target Device
Open On-Chip Debugger 0.9.0-dirty (2016-08-02-16:04)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
none separate
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Info : STLINK v2 JTAG v27 API v2 SWIM v15 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.234714
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
TargetName Type Endian TapName State
-- ------------------ ---------- ------ ------------------ ------------
0* stm32f4x.cpu hla_target little stm32f4x.cpu running
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800203c msp: 0x20000750
auto erase enabled
Info : device id = 0x10006431
Info : flash size = 512kbytes
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000042 msp: 0x20000750
wrote 16384 bytes from file /path/to//src/zephyr-project/samples/hello_world/outdir/nucleo_f411re/zephyr.bin in 0.727563s (21.991 KiB/s)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800203c msp: 0x20000750
verified 12876 bytes in 0.118510s (106.103 KiB/s)
shutdown command invoked
Done flashing
make[2]: Leaving directory '/path/to//src/zephyr-project/samples/hello_world/outdir/nucleo_f411re'
make[1]: Leaving directory '/path/to//src/zephyr-project'

IIUC from defconfig:
# enable USART2 - passthrough to STLINK v2 connector
CONFIG_UART_STM32_PORT_2=y
CONFIG_UART_STM32_PORT_2_BAUD_RATE=115200
# enable console on this port by default
CONFIG_UART_CONSOLE_ON_DEV_NAME="UART_2"

I should have output on UART exposed by STLINK, in my case /dev/ttyACM0 under
Debian Linux. Unfortunately no output. What more is needed to push printk
output to UART ?

I tried also to compile blinky example, but it fails during compilation. My
understanding is that defines used there were not provided for F411. disco
example compiles fine, but doesn't seem to blink with LED1 and LED2.

I also tried to use debugger to step through and see what happen but it looks
like STM32 never hit main: https://gist.github.com/pietrushnic/c2e74de9ff1d11e8e2d442dd30d8ae0a

What is correct procedure to verify STM32 F411RE code ?

Best Regards,
--
Piotr Król
Embedded Systems Consultant
http://3mdeb.com | @3mdeb_com


Where should special purpose GPIO drivers go?

Jon Medhurst (Tixy) <tixy@...>
 

I know $subject it's an oxymoron but it's accurate. I have some special
purpose registers to drive hardwired fixed function pins and I'm making
these available to the rest of the system using drivers which implement
the GPIO API. I was wondering whereabouts under the drivers/ directory
they belong.

E.g. one register type is for accessing a pair open collector data/clk
pins wired for bitbang I2C [1]. Does the driver for this belong under
drivers/i2c because it's being used for I2C or under drivers/gpio
because it implements the GPIO API, or somewhere else?

I also have a general purpose driver to represent any 32-bit memory
mapped register using the GPIO API, where would that live? I created
that because my SoC (actually FPGA [2]) has several miscellaneous
registers, some of the bits of which are used for things like SPI chip
select, so I need a GPIO based API to use with the SPI driver.

Note, the SoC also has proper GPIO but the above functions aren't part
of that IP block, so I believe separate drivers are appropriate.

[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0447j/Bbajdjeg.html
[2] https://www.arm.com/products/tools/development-boards/versatile-express/cortex-m-prototyping-system.php

--
Tixy


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9231 : net: if: Add NET_IF_UP flag
- https://gerrit.zephyrproject.org/r/9243 : timer: hpet: rename debug function to avoid conflict
- https://gerrit.zephyrproject.org/r/9242 : arm: remove old GDB_INFO support
- https://gerrit.zephyrproject.org/r/9230 : gpio/nrf5: Support drive strength configuration.
- https://gerrit.zephyrproject.org/r/9241 : samples: remove obsolete KERNEL_TYPE
- https://gerrit.zephyrproject.org/r/9240 : Bluetooth: shell: Add option to specify BR/EDR discovery length
- https://gerrit.zephyrproject.org/r/9238 : Bluetooth: SDP: Initial implementation of bt_sdp_discover API
- https://gerrit.zephyrproject.org/r/9237 : samples: echo: Support connecting CC2520 to Hexiwear
- https://gerrit.zephyrproject.org/r/9239 : Bluetooth: SDP: Add connected and disconnected handlers
- https://gerrit.zephyrproject.org/r/9236 : samples: cc2520: Add configuration for CC2520 and hexiwear_k64
- https://gerrit.zephyrproject.org/r/9235 : tests: add gdb server test
- https://gerrit.zephyrproject.org/r/9234 : debug: gdb: move to new kernel APIs
- https://gerrit.zephyrproject.org/r/9229 : gpio: Support drive strength configuration.
- https://gerrit.zephyrproject.org/r/9228 : hexiwear_k64: Set pinmux for SPI0
- https://gerrit.zephyrproject.org/r/9216 : samples/basic/disco: Add support for Nucleo F401RE and A101
- https://gerrit.zephyrproject.org/r/9227 : dhcpv4: Add support for router option.
- https://gerrit.zephyrproject.org/r/9226 : dhcpv4: Add option parsing diagnostics.
- https://gerrit.zephyrproject.org/r/9225 : echo-client: Adjust print format specified to match parameter type.
- https://gerrit.zephyrproject.org/r/9223 : echo_server: Fix frdm_k64f build in the absence of CC2520
- https://gerrit.zephyrproject.org/r/9221 : samples: net: Fix Makefile and conf file
- https://gerrit.zephyrproject.org/r/9215 : kernel: remove unused and obsolete headers

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/6291 : Bluetooth: SDP: Initial SDP client interface API
- https://gerrit.zephyrproject.org/r/9204 : debug: fixed style and align code
- https://gerrit.zephyrproject.org/r/9209 : kernel: move kernel code to kernel/ directly
- https://gerrit.zephyrproject.org/r/9195 : kernel: kconfig: move event logger options into file
- https://gerrit.zephyrproject.org/r/9198 : doc: rename shell section to simply: Shell
- https://gerrit.zephyrproject.org/r/9205 : object_tracing: fixed style
- https://gerrit.zephyrproject.org/r/9072 : boards: arm: add support for redbear ble nano 2
- https://gerrit.zephyrproject.org/r/9194 : kernel: kconfig: replace task/fiber with threads
- https://gerrit.zephyrproject.org/r/9203 : debug: move debug features from misc to subsys/debug
- https://gerrit.zephyrproject.org/r/9196 : kernel: kconfig: move power management options out
- https://gerrit.zephyrproject.org/r/9211 : tracing: rename CONFIG_DEBUG_TRACING_KERNEL_OBJECTS
- https://gerrit.zephyrproject.org/r/9208 : kernel: merge kernel Kconfigs into one
- https://gerrit.zephyrproject.org/r/9210 : kconfig: group options into menus
- https://gerrit.zephyrproject.org/r/9199 : logging: move sys_log to subsys/logging
- https://gerrit.zephyrproject.org/r/9193 : kernel: Isolate logger options
- https://gerrit.zephyrproject.org/r/9206 : kernel: fixed description of THREAD_CUSTOM_DATA
- https://gerrit.zephyrproject.org/r/9192 : kernel: rename NANOKERNEL_TICKLESS_IDLE_SUPPORTED
- https://gerrit.zephyrproject.org/r/9197 : kconfig: remove unused TASK_DEBUG options
- https://gerrit.zephyrproject.org/r/9207 : x86: remove obsolete comment about tasks/fibers
- https://gerrit.zephyrproject.org/r/9212 : logging: fix ring buffer usage and initialize variables.
- https://gerrit.zephyrproject.org/r/5504 : dma: Introduce STM32F4x DMA driver
- https://gerrit.zephyrproject.org/r/9213 : scripts: fixed typo swab->swap
- https://gerrit.zephyrproject.org/r/9214 : kernel: remove nano/micro wording and usage

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9224 : Bluetooth: controller: Move call to k_sem_give() out of the ISR
- https://gerrit.zephyrproject.org/r/9222 : Bluetooth: RFCOMM: Respond to RLS command
- https://gerrit.zephyrproject.org/r/9186 : k64f: Default the ETH_KSDK on if NET_L2_ETHERNET enabled.
- https://gerrit.zephyrproject.org/r/9187 : dhcpv4_client: Remove unnecessary ETH_KSDK configuration.
- https://gerrit.zephyrproject.org/r/9188 : dhcpv4: Adjust prj file selection.
- https://gerrit.zephyrproject.org/r/7028 : Bluetooth: AT: Improve API() to work with buffer increment
- https://gerrit.zephyrproject.org/r/9115 : Bluetooth: RFCOMM: Remove unneeded NULL checks


mqtt - tcp client connection - samples

Jorge Ramirez <jorge.ramirez-ortiz@...>
 

Hi,

I am looking for some sample code that shows how to connect an mqtt
publisher/subscriber to a broker or gateway.

The MQTT code in lib/iot requires that before the MQTT connect packet
can be sent, the MQTT device needs to have established a TCP connection
to the broker.

However the TCP_connect test code in tests/net/tcp/src/main.c has been
compiled out (last time I asked it was work in progress (scheduled for
December) since the actual stack support was not there yet).

I can see the following cards in JIRA:

* ZEP-613: TCP/UDP client and server mode functionality [in progress]
https://jira.zephyrproject.org/browse/ZEP-613

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


A far as I can see lib/iot/mqtt contains the MQTT high level API - this
was delivered a couple of weeks ago;
however there is no MQTT sample code other than the MQTT packet
validation in tests/iot/.

I suppose the MQTT sample code and the actual functionality is still
blocked by ZEP-613?

TIA
Jorge


Re: Eddystone TLM

Carles Cufi
 

Hi Marcio, Luiz,

-----Original Message-----
From: Luiz Augusto von Dentz [mailto:luiz.dentz(a)gmail.com]
Sent: Monday, December 19, 2016 12:00
To: Marcio Montenegro <mtuxpe(a)gmail.com>
Cc: devel(a)lists.zephyrproject.org
Subject: [devel] Re: Eddystone TLM

Hi Marcio,

Well I don't think the HCI interface, up to 4.2, offers this kind of
interface, it does have commands to set the AD and then enable it but
the link layer don't tell us exactly when the advertisement is sent over
the air.
Even if we had such an interface we still wouldn't know for sure if a potential observer/scanner had received the adv packet at all. One way to address this would be to add a Vendor Specific HCI event on reception of a Scan Request event. This has been done in the past with good results, and it can be used by the app as a confirmation that an advertisement packet has been received by a peer. It obviously requires scannable advertising.


There is perhaps some ways to build around with new commands added in
Bluetooth 5.0, for example there is LE Advertising Set Terminated Event
which we might support eventually but it would probably require some API
changes, or adding a new ones, to deal with multiple advertisement
instances, etc.
There is already a radio_active_callback() in the current Bluetooth Controller in Zephyr that can be used for this purpose in combined builds (Host + Controller). What it might be missing is an ID of some sort indicating which kind of operation (conn event, adv event, etc) took place.
We would of course need to expose this to the application via a public interface.

Thanks,

Carles

5681 - 5700 of 7756