-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplelink: ti: Add CC2340R53, Mesh example and BLE FOTA to Demo II
- Add support for TI LP_EM_CC2340R53 board - Update crc-tool requirement to new name - Add support for Mesh example on LP_EM_CC2340R53 - Enable onchip/offchip BLE FOTA on cc2340r5x Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Cameron Soviero <[email protected]> Signed-off-by: Jenny Tong <[email protected]> Signed-off-by: Ging Gonzalez <[email protected]>
- Loading branch information
1 parent
970a7ec
commit 33a4f02
Showing
34 changed files
with
975 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright (c) 2024 Texas Instruments Incorporated | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
rsource "../lpf3_common/Kconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,6 @@ CONFIG_DYNAMIC_THREAD_STACK_SIZE=1500 | |
|
||
CONFIG_PM=n | ||
|
||
#CONFIG_BT_RECV_WORKQ_SYS=y | ||
|
||
CONFIG_BT_COMPANY_ID=0x000D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright (c) 2024 Texas Instruments Incorporated | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
rsource "../lpf3_common/Kconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Copyright (c) 2024 Texas Instruments Incorporated | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
rsource "../lpf3_common/Kconfig.defconfig" | ||
|
||
if BOARD_LP_EM_CC2340R53 | ||
|
||
|
||
if BT | ||
|
||
config ZEPHYR | ||
bool "Bluetooth TI Controller on ZEPHYR" | ||
|
||
help | ||
Bluetooth TI Controller on ZEPHYR OS. | ||
default y | ||
|
||
config BT_LL_HEAP_SIZE | ||
hex "LL Heap memory pool size (in bytes)" | ||
default 0x1800 | ||
|
||
config BT_HCI_ACL_FLOW_CONTROL | ||
default n | ||
|
||
endif # BT | ||
|
||
config BT_HCI_ACL_FLOW_CONTROL | ||
default n | ||
|
||
if BT_MESH | ||
|
||
config BT_TINYCRYPT_ECC | ||
default y | ||
|
||
config BT_LONG_WQ | ||
default y | ||
|
||
config BT_BUF_EVT_RX_SIZE | ||
default 255 | ||
|
||
config BT_BUF_ACL_RX_SIZE | ||
default 255 | ||
|
||
config BT_BUF_ACL_TX_SIZE | ||
default 251 | ||
|
||
config BT_BUF_CMD_TX_SIZE | ||
default 255 | ||
|
||
config BT_PERIPHERAL_PREF_TIMEOUT | ||
default 150 | ||
|
||
endif # BT_MESH | ||
|
||
endif # BOARD_LP_EM_CC2340R53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright (c) 2024 Texas Instruments Incorporated | ||
# Copyright (c) 2024 BayLibre, SAS | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_LP_EM_CC2340R53 | ||
select SOC_CC2340R53 | ||
|
||
config BOARD_USE_LF_XOSC | ||
bool "Use external low-frequency crystal" | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2024 Texas Instruments Incorporated | ||
# Copyright (c) 2024 BayLibre, SAS | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
board_runner_args(jlink "--device=CC2340R53") | ||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
board: | ||
name: lp_em_cc2340r53 | ||
vendor: ti | ||
socs: | ||
- name: cc2340r53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright (c) 2024 Texas Instruments Incorporated | ||
* Copyright (c) 2024 BayLibre, SAS | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
boosterpack_header: connector { | ||
compatible = "ti,boosterpack-header"; | ||
#gpio-cells = <2>; | ||
gpio-map = <3 0 &gpio0 22 0>, | ||
<4 0 &gpio0 20 0>, | ||
<7 0 &gpio0 18 0>, | ||
<8 0 &gpio0 3 0>, | ||
<9 0 &gpio0 24 0>, | ||
<10 0 &gpio0 0 0>, | ||
|
||
<12 0 &gpio0 9 0>, | ||
<13 0 &gpio0 10 0>, | ||
<14 0 &gpio0 12 0>, | ||
<15 0 &gpio0 13 0>, | ||
<17 0 &gpio0 19 0>, | ||
<18 0 &gpio0 11 0>, | ||
|
||
<23 0 &gpio0 23 0>, | ||
<24 0 &gpio0 25 0>, | ||
<25 0 &gpio0 1 0>, | ||
<26 0 &gpio0 2 0>, | ||
<27 0 &gpio0 5 0>, | ||
<28 0 &gpio0 7 0>, | ||
|
||
<36 0 &gpio0 8 0>, | ||
<37 0 &gpio0 21 0>, | ||
<38 0 &gpio0 6 0>, | ||
<39 0 &gpio0 14 0>, | ||
<40 0 &gpio0 15 0>; | ||
}; | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.