David B. Kinder
f72a50b96d
doc: remove extra space after nested list
...
Remove extra spacing after a nested list.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2019-12-10 21:43:54 -05:00
Ulf Magnusson
d748cb6118
tests: net: all: check_net_options.sh: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
0521eaf578
bsim_bt: run_parallel.sh: Remove semicolons at ends of lines
...
Not needed in sh.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
072188d0e8
bsim_bt: run_parallel.sh: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
9446554969
bt_sim: basic_conn_encrypted_split.sh: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
d779de1f54
bt_sim: basic_conn_encrypted.sh: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
0d8495c756
zephyr_env.sh: Remove semicolons at ends of lines
...
Not needed in sh.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
0194d04c49
zephyr-env.sh: Use lowercase for internal vars
...
ci: run_ci: Use lowercase for internal variables
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
ed4f3cd354
bsim_bt: basic_conn_split.sh: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
c69a501df6
bsim_bt: basic_conn.sh: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
d3d79ef4eb
bsim_bt: compile.sh: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
94d1db03af
ci: run_ci: Remove semicolons at ends of lines
...
Not needed in sh.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Ulf Magnusson
85625aa27f
ci: run_ci: Use lowercase for internal vars
...
This makes it possible to tell at a glance which variables are internal
to the script and which ones are parameters to it, which is very
helpful.
This convention is pretty common. See e.g. Google's shell style guide at
https://google.github.io/styleguide/shell.xml#Naming_Conventions , and
https://github.com/icy/bash-coding-style#naming-and-styles . It's older
than those though.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-10 14:34:46 -08:00
Anas Nashif
e71293ea44
kernel: kernel.h doxygen cleanup
...
Cleanup of document APIs and structure, mostly making doxygen aware of
documented members.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-12-10 17:22:34 -05:00
Vinayak Kariappa Chettimada
5f10154724
Bluetooth: controller: split: Fix HCI LE Add Device to Whitelist
...
According to BT Spec v5.1 Vol 2 Part E Section 7.8.16, if the
device is already in the White List, the controller should not
add the device to the White List and should return success.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2019-12-10 22:29:15 +02:00
Vinayak Kariappa Chettimada
09f7364cf8
Bluetooth: controller: legacy: Fix HCI LE Add Device to Whitelist
...
According to BT Spec v5.1 Vol 2 Part E Section 7.8.16, if the
device is already in the White List, the controller should not
add the device to the White List and should return success.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2019-12-10 22:29:15 +02:00
Johan Hedberg
fcbfb53525
tests: mesh: Fix build for bbc_microbit
...
A recent patch changed the default ISR stack size for bbc_microbit
which causes this app to consume more RAM than is available. Fix this
by specifying an explicit stack size.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-12-10 12:56:37 -05:00
Erwan Gouriou
ce14186a07
modules: modules: stm32 hal: Provide help section to HAL/LL symbols
...
Provide a help section for each STM32Cube API Kconfig symbols
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-12-10 12:44:10 -05:00
Erwan Gouriou
f5080ce015
modules: stm32 hal: Rename USE_STM32_HAL_CRYPT and _CRYPT_EX
...
Cf https://github.com/zephyrproject-rtos/hal_stm32/pull/29
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-12-10 12:44:10 -05:00
Torsten Rasmussen
08eabb83b2
cmake: Zephyr module processing set modules path
...
This commit introduces the variable:
ZEPHYR_${MODULE}_MODULE_DIR that can be used for modules to obtain
locations of other modules.
As example: a module which requires the knowledge of mcuboot con now
fetch this information using ZEPHYR_MCUBOOT_MODULE_DIR.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2019-12-10 17:43:55 +01:00
Joakim Andersson
e4136178ed
Bluetooth: Host: Fix duplicate whitelist entries issue
...
If the whitelist already exists in the controller then the controller
should not add the device tot the whitelist and should return success.
In that case the counting of entries in the whitelist in the host will
be wrong.
Remove all whitelist counting in the host, and instead rely on the error
reported by the controller for this.
The controller should return error if the whitelist is full.
The controller should return error if use of whitelist was requested but
the whitelist was empty.
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2019-12-10 17:54:10 +02:00
Anas Nashif
1d25eba4fd
tests: obj tracing: fix counting
...
We break out of the while loop on a 2 count then we assert on 2, this
seems to never fail. Count to the end and then assert.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-12-10 10:40:16 -05:00
Anas Nashif
5d94b89512
tests: fifo: assert of NULL from k_fifo_get
...
Fix Null pointer dereferences.
Fixes #20877
Coverity CID: 205823
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-12-10 10:39:59 -05:00
Andrei Emeltchenko
07bee26f8f
ipm: Correct IPM API error codes
...
Indicates that error codes are negative.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2019-12-10 10:26:38 -05:00
Andrei Emeltchenko
e770c8d855
drivers: ipm: Cleanup IPM Kconfig
...
Make all option be hidden behind IPM menu
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2019-12-10 10:26:38 -05:00
Martí Bolívar
0186eade51
scripts: add new west build "build.cmake-args" config option
...
This option, if set, will add arguments to CMake whenever a new build
system is being generated.
It doesn't affect other invocations of CMake, such as when cmake(1) is
run in build tool mode to actually compile the application.
See the documentation changes for details.
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2019-12-10 16:19:18 +01:00
Maureen Helm
5a19106396
boards: arm: Add arduino header to all mimxrt boards
...
Adds a device tree nexus node to define which gpio pins are mapped from
the soc to the arduino header.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:49:31 -06:00
Maureen Helm
851e397d19
boards: arm: Add arduino header to all frdm boards
...
Adds a device tree nexus node to define which gpio pins are mapped from
the soc to the arduino header.
The frdm_kw41z board excludes the arduino A0 pin because it cannot be
muxed as a gpio on the soc.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:49:31 -06:00
Andrei Gansari
487dc7cb94
soc: enable secure mode for LPC55xxx
...
Devices that are SECURE enabled may require sometimes to enable secure
bits on CMSE register.
Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
2019-12-10 08:48:56 -06:00
Maureen Helm
38c57c9c15
tests: spi_loopback: Add lpc board configurations
...
Adds board-specific configurations for the lpcxpresso54114 and
lpcxpresso55s69 to the spi_loopback test.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:48:56 -06:00
Maureen Helm
5472961ca0
boards: lpcxpresso54114: Enable spi instance 5
...
Enables spi instance 5 on the lpcxpresso54114 board. Configures pinmuxes
and clocks, and updates board documentation accordingly.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:48:56 -06:00
Maureen Helm
ea5c3b6e04
boards: lpcxpresso55s69: Enable spi instance 8
...
Enables the high-speed spi instance 8 on the lpcxpresso55s69 board.
Configures pinmuxes and clocks, and updates board documentation
accordingly.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:48:56 -06:00
Maureen Helm
3efd339e7e
soc: nxp_lpc: Enable the mcux flexcomm spi driver
...
Enables the mcux flexcomm spi driver on lpc54xxx and lpc55xxx socs.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:48:56 -06:00
Maureen Helm
a63676761b
drivers: spi: Add mcux flexcomm driver
...
Adds a shim layer around the mcux lpc flexcomm driver to adapt it to the
zephyr spi interface. It leverages heavily from the existing mcux dspi
shim driver.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:48:56 -06:00
Maureen Helm
d55d532ebd
drivers: spi: Add configs for instances 7 and 8
...
Adds configs for spi instances 7 and 8.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:48:56 -06:00
Maureen Helm
30415e9246
dts: Add spi bindings and nodes for lpc socs
...
Adds spi device tree bindings and nodes for the lpc54xxx and lpc55s6x
socs in preparation for adding a new spi driver.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-10 08:48:56 -06:00
Daniel Leung
6af99f4a97
tests: counter_basic_api: fix for counting down counters
...
Some tests assume that the counters are always counting up
without regard to their capabilitiy bits. So fix the tests
if those counters are counting down.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2019-12-10 08:24:51 -06:00
Kumar Gala
1342dadc36
include: Remove compat include headers
...
Remove the compat headers as its been 2 releases since we introduced
them.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
f562478819
west.yml: Update modules for include fixes
...
Update west.yml to point to newer versions of fatfs, nffs, and mcumgr
to pull in fixes for using proper include files.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
6561b19bc5
include: Fix use of <crc.h> -> <sys/crc.h>
...
Fix #include <crc.h> as it has been deprecated and
should be #include <sys/crc.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
13342d984f
include: Fix use of <base64.h> -> <sys/base64.h>
...
Fix #include <base64.h> as it has been deprecated and
should be #include <sys/base64.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
82e05450ca
include: Fix use of <power.h> -> <power/power.h>
...
Fix #include <power.h> as it has been deprecated and
should be #include <power/power.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
f4edd477b7
include: Fix use of <fs.h> -> <fs/fs.h>
...
Fix #include <fs.h> as it has been deprecated and
should be #include <fs/fs.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
ec4714a5ea
include: Fix use of <nvs/nvs.h> -> <fs/nvs.h>
...
Fix #include <nvs/nvs.h> as it has been deprecated and
should be #include <fs/nvs.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
2fab7413f7
include: Fix use of <flash_map.h> -> <storage/flash_map.h>
...
Fix #include <flash_map.h> as it has been deprecated and
should be #include <storage/flash_map.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
ebbd3cc078
include: Fix use of <atomic.h> -> <sys/atomic.h>
...
Fix #include <atomic.h> as it has been deprecated and
should be #include <sys/atomic.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
9415a114a0
include: Fix use of <json.h> -> <data/json.h>
...
Fix #include <json.h> as it has been deprecated and
should be #include <data/json.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
cd0f8d5c4f
include: Fix use of <sys_io.h> -> <sys/sys_io.h>
...
Fix #include <sys_io.h> as it has been deprecated and
should be #include <sys/sys_io.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
530b9a7132
include: Fix use of <i2c.h> -> <drivers/i2c.h>
...
Fix #include <i2c.h> as it has been deprecated and
should be #include <drivers/i2c.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Kumar Gala
bb9efbfbd0
include: Fix use of <gpio.h> -> <drivers/gpio.h>
...
Fix #include <gpio.h> as it has been deprecated and
should be #include <drivers/gpio.h>.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00