Skip to content

Commit

Permalink
[Telink] Add shell commands support (#23796)
Browse files Browse the repository at this point in the history
* Added shell CLI command "matter factoryreset" to Telink lighting-app

* [Telink] Restyled

* [Telink] use correct zephyr include path

* [Telink] reverted to using default shell commands set

Co-authored-by: Dmytro Huz <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jan 16, 2024
1 parent 907df68 commit 3277239
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion config/telink/app/zephyr.conf
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@ CONFIG_DYNAMIC_INTERRUPTS=y
# nvs_sector_size = flash_page_size * mult = 256 * 8 = 2048
CONFIG_SETTINGS_NVS_SECTOR_SIZE_MULT=8

# Shall settings
# Shell settings
CONFIG_SHELL=n
CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE=255
4 changes: 2 additions & 2 deletions src/lib/shell/MainLoopZephyr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <init.h>
#include <shell/shell.h>
#include <zephyr/init.h>
#include <zephyr/shell/shell.h>

#include <lib/core/CHIPError.h>
#include <lib/shell/Engine.h>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/shell/streamer_zephyr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

#include <cassert>

#include <shell/shell.h>
#include <shell/shell_uart.h>
#include <zephyr/shell/shell.h>
#include <zephyr/shell/shell_uart.h>

namespace chip {
namespace Shell {
Expand Down

0 comments on commit 3277239

Please sign in to comment.