- Mar 15, 2019
-
-
Kumar Gala authored
Bump to 1.14-rc2. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Ulf Magnusson authored
- Remove DTFlash.extract(), which was just dispatching to either _extract_flash() or _extract_code_partition() depending on which magic string was passed in. Call them directly instead. - Fold constant and globally available parameter values into functions - Remove DTFlash._flash_node. It's easy to derive wherever it's needed, and it makes it clearer where it comes from (and means functions can be called in any order). - Remove DTFlash._flash_base_address, which is unused - Remove various unused parameters to functions Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Ulf Magnusson authored
def_label is the name used for macros and .conf file values. It can never have a slash in it. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Ulf Magnusson authored
- Fix broken code that was meant to turn the 'interrupts'/'interrupts-extended' value into a list if it wasn't. list(123) will error out instead of creating [123]. - Remove weird .split('/') on macro name - Rename 'props' to 'vals'. It's the value of a single property. - Get rid of a bare 'except:' - Rename l_fqn to full_name. Accidentally stumbled upon 'fqn' probably standing for "fully qualified name", but it's not obvious. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Ulf Magnusson authored
- Have get_parent_path() return None for the root ('/'). This is handy when looping over path components. - Move _find_parent_irq_node() out of the class, call it parent_irq_node(), and use get_parent_path() in it. - Add a global err() function for reporting errors. Use it if a node unexpectedly has no interrupt-parent. Previously, this would give a Python error instead. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Ulf Magnusson authored
It's not obligatory for Python classes to have an __init__(). Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Ulf Magnusson authored
Just returns a value, with no side effects. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Ulf Magnusson authored
CONFIG_WDT_SAM_DISABLE_AT_BOOT was removed in commit 2e01e86b ("drivers: watchdog: wdt_sam: use the generic disable option"), but some comments still talked about it. Replace it with CONFIG_WDT_DISABLE_AT_BOOT. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Jukka Rissanen authored
This is a revert of 45a4fbf2 and this commit removes the offending function references from Networking chapter in 1.14 release note. After the BSD socket documentation adds the function references we can revisit the release note and add back the function references. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
-
Benjamin Valentin authored
The SAM D21 Xplained Pro has a button connected to PA15, so enable it in the dts. Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
-
Maureen Helm authored
Refactors the apds9960 sensor driver to get the i2c device name, i2c device address, gpio device name, and gpio pin from a constant device configuration structure, rather than using hardcoded macros. This will make it easier to change the names of the macros and to instantiate multiple instances of the driver. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
-
Maureen Helm authored
Fixes the apds9960 i2c address on the reel_board. Found while converting the apds9960 driver to use the i2c address from device tree rather than a hardcoded value in apds9960.h. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
-
Ioannis Glaropoulos authored
Initialize a local struct variable to zero, to suppress un-initialized variable error. Fixes #14422. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
-
Erwan Gouriou authored
Following upgrade of newlib version in SDK 0.10.0, time_t changed from 4 to 8 bytes structure. As a consequence, ts requires a cast to u32_t before conversion to us to avoid overflow. Additionally, add a comment on RTC init value and fix a minor alignment issue. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
-
Henrik Malvik Halvorsen authored
The ADXL362 sensor data is converted to the expected output, m/s^2. Signed-off-by: Henrik Malvik Halvorsen <henrik.halvorsen@nordicsemi.no>
-
Michael Scott authored
The current flash configurations for all nRF52840's in Zephyr is VERY constrained when it comes to allowing samples any space for storage or custom areas. It only leaves the last 4 pages of flash for "storage". The nRF52840 is also capable of using OpenThread which defaults to using the last 4 pages of flash for storing OpenThread-related network data. This means that while using OpenThread under any configuration designed to use mcuboot partition slots, there is no space left over for storage of any kind. Let's adjust the partition table to set storage at 8 pages of flash (32k). This fixes the conflict with OpenThread and leaves room for future use cases that may arise. Signed-off-by: Michael Scott <mike@foundries.io>
-
Kumar Gala authored
The clang ARM assembler is a bit stricter than GNU as. Change mov to movs for ARMv6 case of z_arch_switch_to_main_thread. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Johan Hedberg authored
It was possible to freeze the application by pressing the user button too frequently. This was likely due to the stack not keeping up with the send requests and running out of buffers. Add rate-limiting to the app, so that at most one message per 500ms can be sent. Also add a user message if the user presses the button too many times in rapid succession, and inform the other badges of this misbehaving user. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-
Kumar Gala authored
This reverts commit fe9f8546 . Getting the following issues: releases/release-notes-1.14.rst:60: WARNING: 'any' reference target not found: getnameinfo releases/release-notes-1.14.rst:60: WARNING: 'any' reference target not found: shutdown releases/release-notes-1.14.rst:60: WARNING: 'any' reference target not found: freeaddrinfo releases/release-notes-1.14.rst:60: WARNING: 'any' reference target not found: gethostname releases/release-notes-1.14.rst:60: WARNING: 'any' reference target not found: getsockopt releases/release-notes-1.14.rst:60: WARNING: 'any' reference target not found: setsockopt releases/release-notes-1.14.rst:60: WARNING: 'any' reference target not found: select Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Henrik Malvik Halvorsen authored
Updated to add support for CS. DT config names updated to adhere to the DTS naming convention. Init and SPI configuration now follows the device datasheet. Signed-off-by: Henrik Malvik Halvorsen <henrik.halvorsen@nordicsemi.no>
-
Ulf Magnusson authored
Appears within an 'if UART_MCUMGR'. 'if FOO' is just shorthand for adding 'depends on FOO' to each item within the 'if'. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
-
Mariusz Skamra authored
This moves BTP specification from Zephyr so that it's accessible for all projects. Related auto-pts PR: https://github.com/intel/auto-pts/pull/244 Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
-
Song Qiang authored
The old defines make the Shippable tests fail. Convert the fixing ups for fxos8700 to use new defines introduced in #12491. Signed-off-by: Song Qiang <songqiang1304521@gmail.com>
-
Geoffroy Van Cutsem authored
It is also possible to use 'west' to build the 'hello_world' sample application for the UP2 (up_squared) board. This patch makes it explicit in the documentation. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
-
Emanuele Di Santo authored
Zephyr modules' Kconfig entries appear in a seemingly random spot in menuconfig. This patch moves those entries at the top of the menu, to improve their visibility and make their location predictable. Signed-off-by: Emanuele Di Santo <emdi@nordicsemi.no>
-
Paul Sokolovsky authored
To save binary size, currently just returns textual name of error code, e.g. EAI_FAIL -> "EAI_FAIL". Based on real usecases, can be replaced with user-friendly message later. (Current usecase is to allow/help to elaborate sockets API by proof-of-concept porting existing socket apps). Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
-
Benjamin Valentin authored
USB is already being configured in pinmux.c, but for it to be availiable it also needs to be enabled in the device tree. Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
-
Andy Ross authored
Per #13610, recent changes to this driver seem to have introduced unexpected latency regressions. This patch effectively reverts these patches which changed the meat of the driver: ac36886e drivers: nrf: timer: add inline qualifier where inlining is intended 084363a0 drivers: timer: nrf: refactor for speed and correctness 71882ff8 drivers: timer: nrf: drop unnecessary counter mask 4b24e88f drivers: timer: nrf: use irq_lock instead of spinlock While backporting these seemingly unrelated hygiene patches: 7cbdb6c5 drivers/timer: Restore non-tickless tick count behavior d30c9aea drivers: nrf_power_clock: Migrate to DTS. 75f77db4 include: misc: util.h: Rename min/max to MIN/MAX Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
-
David B. Kinder authored
We previously created an improved version of searchtools.js (used by the Sphinx search) to remove the reST tags shown in the search results. This has now been fixed in the upstream version of searchtools.js along with other speed and visual improvements, so we should remove our local copy. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
-
Sebastian Bøe authored
The latest release of the Windows toolchain has a critical bug, Windows users should install the next-to-latest release instead. To prevent Windows users from being affected we add a note about this in the documentation. Bug: https://github.com/zephyrproject-rtos/zephyr/issues/12257 Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
-
Michael Scott authored
Let's handle errors during periodic service work submit. Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
Normally, this bug wasn't apparent as the value is type-casted to a float32/64 type. However, once we start persisting these values they need the correct length. Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
Let's avoid future compile issues with this macro when passing in a type-casted value that isn't surrounded by parenthesis. Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
Occasionally we see a stack crash in LwM2M. This may have been due to the swap from net_app APIs to socket-based APIs. Let's raise the default stack by 1k. Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
To avoid missing important messages, let's change the resend packet message from a DBG to an INF. Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
When a context is closed to a server, we should clean up any existing observes along with it. Otherwise these will try to fire afterward. Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
We are already in sm_do_registration(), there's no need to check !sm_is_registered(). Either we are performing a full registration or a registration update. In both cases, sm_send_registration() is called. Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
If an error is received during registration update, we need to reset the status so that a full registration is performed. This was incorrectly being set to ENGINE_REGISTRATION_SENT. The correct status should be: ENGINE_DO_REGISTRATION Signed-off-by: Michael Scott <mike@foundries.io>
-
Michael Scott authored
send() returns -1 upon error and sets errno appropriately. Let's not bother saving the return code and instead share errno back to the user. Signed-off-by: Michael Scott <mike@foundries.io>
-
Jukka Rissanen authored
Contains major networking changes between 1.13 and 1.14 releases. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
-