- 25 Mar, 2021 2 commits
-
-
Kumar Gala authored
Move ptp_clock.h out of the top level include/ dir into include/drivers/ptp_clock.h and deprecated the old location. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Krzysztof Chruscinski authored
In modes where string duplication is not used, the code is still compiled. On some compilers it was failing due to calling strncpy which will do nothing because n is 0. Increase CONFIG_LOG_STRDUP_MAX_STRING to 2 to ensure that n is 1 in that case Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
-
- 24 Mar, 2021 18 commits
-
-
Johann Fischer authored
Update Disk section and add myself as a Disk maintainer. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
-
Johann Fischer authored
Use ep_idx in usbip_send_common() instead of endpoint address and get direction from endpoint address. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
-
Johann Fischer authored
USB setup packet is a part of USBIP_CMD_SUBMIT, but missing in struct usbip_submit. This patch fixes it and removes usbip_skip_setup() and adds an additional integrity check in handle_usb_control(). Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
-
Johann Fischer authored
The transfer length is not stored and processed properly. Use struct usb_ep_ctrl_prv, which we already have, to store the transfer length and data. Move usbip_recv() to handle_usb_control() and handle_usb_data(), and explicitly copy USB setup packet. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
-
Johann Fischer authored
Call the IN callback only if data in usb_dc_ep_write() is actually written to the intermediate buffer and sent. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
-
Johann Fischer authored
Use pointer to struct usb_ep_ctrl_prv, which allows to remove a few variables and simplifies subsequent improvements. Use consistently ep_idx in handle_usb_control() instead of ntohl(hdr->common.ep). Revise logging so that it is clearer what event is being processed. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
-
David Leach authored
In the change to DTS driven clock divider values wrong values were used in the dts file. Fixes: #33559 Signed-off-by: David Leach <david.leach@nxp.com>
-
Robert Lubos authored
Coverity complains about unchecked return value for `k_sem_take` which is called with `K_FOREVER` and thus cannot expire/timeout. Explicity ingore the return value to silence Coverity. CID: 219676 Fixes #33019 Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
-
Pete Skeggs authored
Add Z_SHELL_SET_FLAG_ATOMIC macro to use technique from shell_process() to atomically set and return the previous value. Change all void z_flag_*_set() functions to bool z_flag_*_set() and use macro to return previous value after setting. Modify shell_process() to use this modified z_flag_processing_set() function. Reorder flags to keep last_nl on byte boundary. Add public setters for insert_mode, echo, and mode_delete for completeness. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
-
Pete Skeggs authored
Update the shell documentation with the obscured input feature. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
-
Pete Skeggs authored
Using the new obscured user shell input feature, provide examples of using it in login and logout commands. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
-
Pete Skeggs authored
Add flag to shell_flags to control echo as obscure character (for passwords) or not. Add setter and getter functions. Modify shell echo to use this flag if set. Also add public setter for color mode and obscure mode. Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
-
Kumar Gala authored
The include of ${ZEPHYR_BASE}/drivers isn't needed anymore for board code so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Andrei Emeltchenko authored
Add README listing BIOS options for error injection. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
-
Ioannis Glaropoulos authored
When building the test for Cortex-M, use an undefined instruction to trigger a CPU fault, instead of null pointer de-referencing. That's because null-pointer access may, in TrustZone-enabled platforms, lead to a system crash (due to security violation). Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
-
Kumar Gala authored
The include of ${ZEPHYR_BASE}/drivers isn't needed anymore for board code so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Jacob Siverskog authored
reorganize code so that null pointer check is done prior to accessing element. Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
-
Joakim Andersson authored
Fix bluetooth audio compilation issue when BT_AUDIO is enabled but no Bluetooth host services has been enabled. This leads to an empty library file. Instead of creating a new library for audio add the sources to the parent library, similar to how bluetooth services are added. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
-
- 23 Mar, 2021 20 commits
-
-
Emil Gydesen authored
Add casting to (void) to explicitely ignore the return value of the notifi function calls. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Emil Gydesen authored
VOCS does not support the write long procedure, and thus should not accept any offset in write requests. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Emil Gydesen authored
Was requested in the review for ed2162c7 but was merged before it could be fixed. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
-
Luiz Augusto von Dentz authored
This adds bt_conn_iso function to safely access the struct bt_conn_iso within a bt_conn. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
Channel direction was actually a source of confusion since the spec does actually define the data path direction from controller point of view meaning input actually means transmit and output receive, also direction can be configured with different QoS settings. To make these APIs less confusing and allow QoS to be configured independently they are now split into RX (receiving) and TX (transmission) settings including its data path. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
If ACL has been disconnected any ISO handle shall be considered invalid as well. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
CHECKIF is preferred as it handles full runtime error handling in addition to just asserts. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
This fixes bt_iso_cleanup when there are still channels bound to the ACL connection. On top of it introduce bt_iso_chan_unbind which can be used to unbind channels and thus release the reference to the ACL connection if that has not been disconnected in which case the channels are unbind automatically. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
s_sdu refers to rx/input and m_sdu refers to tx/output. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
When the channel has just been bound but is not connected yet there is no need to send any command over the air but the disconnected callback shall still be called in order to notify the channel owner that it has reached disconnected state. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
When initiating a disconnection conn_disconnect would be called to send HCI_Disconnect but the controller may be quick enough to send Disconnect Complete event before setting BT_CONN_DISCONNECT which will then cause the invalid transition from BT_CONN_DISCONNECTED to BT_CONN_DISCONNECT and the connection won't be freed properly. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
This fixes a regression introduced by 4350021f which prevents references to be properly release when there is an ISO connection. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Kumar Gala authored
The include of ${ZEPHYR_BASE}/drivers isn't needed anymore for board code so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Kumar Gala authored
The include of ${ZEPHYR_BASE}/drivers isn't needed anymore for board code so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Kumar Gala authored
The include of ${ZEPHYR_BASE}/drivers isn't needed anymore for board code so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Kumar Gala authored
The include of ${ZEPHYR_BASE}/drivers isn't needed anymore for board code so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Carlo Caione authored
To match the parent directory name. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
-
Carlo Caione authored
The filter value is specified without the leading CONFIG_* so the test is never executed. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
-
Kumar Gala authored
Changed to use -ENOTSUP instead of -ENOSYS to be consistent with other driver APIs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-
Kumar Gala authored
The include of ${ZEPHYR_BASE}/drivers isn't needed anymore for board code so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
-