Johan Hedberg
7d4682e302
Bluetooth: samples: Fix timeout passed to k_sleep()
...
Use the appropriate K_SECONDS() macro to pass a timeout to k_sleep().
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2020-04-01 20:03:15 +03:00
Kumar Gala
a44f4cf484
samples: sensor: sht3xd: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
666c39a3cb
samples: basic: servo_motor: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
77450c950a
samples: bluetooth: hci_uart: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
a027c94613
samples: net: wifi: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
0cd03a6ebe
samples: net: gsm_modem: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
14903e49f0
samples: sensor: ti_hdc: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
1605c312a0
samples: sensor: tmp116: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
d270a07d1e
samples: sensor: bme280: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
7908daf5ef
samples: sensor: adxl372: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
9c688bb5cb
samples: sensor: ms5837: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
9898c51641
samples: sensor: bme680: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
b8a36f665b
samples: drivers: ht16k33: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
2d7cc8f774
samples: subsys: canbus: canopen: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
ce41833a10
samples: subsys: fs: fat_fs: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
a21afb83b1
samples: bluetooth: central: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
caa6c06f73
samples: bluetooth: peripheral_ht: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
cb98936b83
samples: bluetooth: scan_adv: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
1252388c6d
samples: bluetooth: peripheral_hr: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
2dfd21b2e8
samples: bluetooth: beacon: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
e51b896cfb
samples: bluetooth: peripheral_dis: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
d1b934d068
samples: bluetooth: peripheral_sc_only: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
a92be467cc
samples: bluetooth: mesh_demo: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
43b74049de
samples: bluetooth: mesh: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
9b76cb113f
samples: bluetooth: ipsp: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
4921f2a292
samples: bluetooth: peripheral_hids: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
7712f5d025
samples: bluetooth: peripheral_esp: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
3f76fa958b
samples: bluetooth: hci_spi: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
5b74caa808
samples: bluetooth: peripheral: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
a5f718214c
samples: bluetooth: central_hr: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
9b897eab70
samples: bluetooth: eddystone: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
77b8bb9c57
samples: bluetooth: peripheral_csc: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
dd7a4d93ef
samples: bluetooth: ibeacon: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Kumar Gala
5cd4ce3b79
samples: subsys: ipc: openamp: Move dts overlays under boards
...
Move the dts overlay under a boards/ dir to make it match conf files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-01 10:44:31 -04:00
Jukka Rissanen
02fe85d5e0
net: Remove leftovers for obsolete net stacks shell command
...
The "net stacks" shell command support was just removed, but
the net_stacks linker section was left around.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2020-04-01 10:41:58 -04:00
Arnaud Pouliquen
f6800aa1c4
samples: add openamp sample relying on resource table
...
This sample is designed to respond to the Linux
rpmsg sample client.
It should be platform independent and based on the
the integration of a resource table in the elf file.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-04-01 09:21:15 -05:00
Arnaud Pouliquen
325331b7f9
dts: extend stm32mp1 sram declaration to 300 kB by default
...
64 kB of memory is reserved for the inter-processor
communication. this makes sense only if RPMsg is used.
Allow to use this memory for firmware data by default.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-04-01 09:21:15 -05:00
Arnaud Pouliquen
5c310521d1
stm32mp1: update resource table management
...
Rebase the resource table management to
the new implementation in open-amp module
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-04-01 09:21:15 -05:00
Arnaud Pouliquen
25ec73986b
lib: open-amp: add helper to add resource table in project
...
The resource table is needed by the Linux kernel OS
for a rpmsg generic support, but is also recognised by OpenAMP.
This table allows to add trace based on the RAM console
and to support rpmsg protocol.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-04-01 09:21:15 -05:00
Anas Nashif
175b8a7393
samples: use K_MSEC with k_sleep()
...
Couple of samples missing the conversion.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-04-01 09:25:42 -04:00
Martí Bolívar
47f4a85d14
Makefile: ZEPHYR_BASE is not needed anymore
...
Ever since we have Zephyr support as a CMake package, the
documentation build system does not need this environment variable to
work.
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-04-01 15:20:56 +02:00
Robert Lubos
94490d3f19
net: openthread: Check if ed_scan API is implemented before use
...
Verify that `ed_scan` is implemented by the radio driver before use. In
case it's not, return appropriate error code to OpenThread.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-04-01 15:41:31 +03:00
Robert Lubos
111313581d
net: ieee802154_radio: Enable ed_scan unconditionally
...
Energy scan procedure, while introduced specifically for OpenThread in
Zephyr, may also be used by other upper layers (like Zigbee).
Therefore, disable conditional inclusion of the `ed_scan` API.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-04-01 15:41:31 +03:00
Vinayak Kariappa Chettimada
b7e35ae4a3
Bluetooth: controller: legacy: Fix slave latency during conn update
...
Fix regression in cancelling slave latency during Connection
Update Procedure.
Slave latency should not be applied between the ack of a
Connection Update Indication PDU and until the instant.
When caching was introduced, implementation missed this
consideration.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-04-01 14:41:00 +02:00
Vinayak Kariappa Chettimada
fd343ee3c8
Bluetooth: controller: nRF: Revert use of ticker compat mode as default
...
Ticker is now fixed to avoid catch up of periodic timeout under
large ISR latencies.
Revert commit a749e28d98
("Bluetooth: controller: split:
nRF: Use ticker compat mode as default").
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-04-01 14:40:52 +02:00
Vinayak Kariappa Chettimada
7b89438f4b
Bluetooth: controller: Consider must_expire while avoiding catchup
...
If must_expire is set for a ticker instance, then ticker
expiry shall still perform catchup.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-04-01 14:40:52 +02:00
Vinayak Kariappa Chettimada
6cb43749a4
Bluetooth: controller: Fix ticks_slot_previous calculation
...
Fix ticks_slot_previous calculation in the ticker_job when
tickers are skipped.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-04-01 14:40:52 +02:00
Vinayak Kariappa Chettimada
b263c2860e
Bluetooth: controller: Fix ticker state on skipped
...
Reset ticker state in ticker_job for ticker instances that
have been skipped in the ticker_worker.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-04-01 14:40:52 +02:00
Vinayak Kariappa Chettimada
32352a1041
Bluetooth: controller: Remove lazy handling in ticker_worker
...
Removed lazy handling from ticker_worker as it is now taken
care in ticker_job.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-04-01 14:40:52 +02:00
Vinayak Kariappa Chettimada
7182c7062e
Bluetooth: controller: Fix ticker catch up on ISR latency
...
Fix ticker to avoid catch up of periodic timeouts in case of
large ISR latencies like in case of flash erase scenarios.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-04-01 14:40:52 +02:00