boards: shields: add mchp_rnbd451_bt#98043
boards: shields: add mchp_rnbd451_bt#98043JamesLiu-Microchip wants to merge 4 commits intozephyrproject-rtos:mainfrom
Conversation
|
Hello @JamesLiu-Microchip, and thank you very much for your first pull request to the Zephyr project! |
|
@JamesLiu-Microchip , fix compliance issues |
e09cf21 to
05b00d6
Compare
05b00d6 to
0291576
Compare
|
| Navigate to the project root directory. For example, if the Zephyr workspace was setup | ||
| following the Application Development section in the Zephyr Project Documentation, | ||
| use the following command. | ||
|
|
||
| ``cd zephyrproject`` | ||
|
|
||
| Append the above mentioned ``prj.conf`` configurations to each ``prj.conf`` in Example #1~#5. | ||
| Build the applications located in ``zephyr/samples/bluetooth`` using the following commands: | ||
|
|
||
| +----+---------------------+------------------------------------------------------------------------------------------------------------+ | ||
| | No | Example name | Build command | | ||
| +====+=====================+============================================================================================================+ | ||
| | 1 | Peripheral | west build -p always -b sam_e54_xpro --shield mchp_rnbd451_bt zephyr/samples/bluetooth/peripheral | | ||
| +----+---------------------+------------------------------------------------------------------------------------------------------------+ | ||
| | 2 | HID Peripheral | west build -p always -b sam_e54_xpro --shield mchp_rnbd451_bt zephyr/samples/bluetooth/peripheral_hids | | ||
| +----+---------------------+------------------------------------------------------------------------------------------------------------+ | ||
| | 3 | Peripheral Identity | west build -p always -b sam_e54_xpro --shield mchp_rnbd451_bt zephyr/samples/bluetooth/peripheral_identity | | ||
| +----+---------------------+------------------------------------------------------------------------------------------------------------+ | ||
| | 4 | Central Multilink | west build -p always -b sam_e54_xpro --shield mchp_rnbd451_bt zephyr/samples/bluetooth/central_multilink | | ||
| +----+---------------------+------------------------------------------------------------------------------------------------------------+ | ||
| | 5 | Central/Gatt Write | west build -p always -b sam_e54_xpro --shield mchp_rnbd451_bt zephyr/samples/bluetooth/central_gatt_write | | ||
| +----+---------------------+------------------------------------------------------------------------------------------------------------+ | ||
|
|
||
|
|
||
| For more information on building the applications, refer to the `Building | ||
| <https://docs.zephyrproject.org/latest/develop/west/build-flash-debug.html#building-west-build>`_ | ||
| section. | ||
|
|
||
| Flash the Applications | ||
| ********************** | ||
| To flash the built application, use the following command: | ||
|
|
||
| ``west flash`` |
There was a problem hiding this comment.
Just give one example of building one sample application, for a given board. No need for more
See for example https://docs.zephyrproject.org/latest/boards/shields/adafruit_aht20/doc/index.html#programming
There was a problem hiding this comment.
Hi @kartben , Document was revised according to your review. could you please help to confirm again? Thank you.
0291576 to
a342382
Compare
nandojve
left a comment
There was a problem hiding this comment.
Hi @JamesLiu-Microchip ,
Thank you for the newer changes.
I found a few minor things, overall, LGTM!
Make sure you rebase before push.
@kartben ,
Is it possible to create vendor folder in shields ?
I see that it is starting to get a little messy for some vendors and I would like to avoid it.
a342382 to
343ebf7
Compare
|
needs rebase |
343ebf7 to
481fb8c
Compare
|
Hi @JamesLiu-Microchip , |
19fb0e2 to
fa9f6a4
Compare
fa9f6a4 to
746bb8d
Compare
705f67f to
ddb1d85
Compare
|
ping @kartben |
boards/shields/mchp_rnbd451_bt/mchp_rnbd451_bt_mikrobus.overlay
Outdated
Show resolved
Hide resolved
| }; | ||
| }; | ||
|
|
||
| sercom5_uart_default: sercom5_uart_default { |
There was a problem hiding this comment.
| sercom5_uart_default: sercom5_uart_default { | |
| sercom5_uart_default: sercom5-uart-default { |
There was a problem hiding this comment.
There are other pin control definitions in this file; I prefer to reserve underscores to keep the style consistent.
There was a problem hiding this comment.
There was a problem hiding this comment.
Has committed the change. However, I only revised the node I added and preserved the original underscore style use by others.
There was a problem hiding this comment.
This change makes twister-build fail because the "sercom1_uart_default" node is already defined in two overlay files in the tests/drivers/uart folder. The device tree compiler treats both as the same label and reports a duplicate definition. Do you have any suggestions?
Changing the definition in the tests/drivers/uart folder is not a good idea because it would alter definitions by other people and is not related to the original feature that was added.
There was a problem hiding this comment.
It's just 2 instances. Fixing test issues is part of any PR.
https://github.com/search?q=repo%3Azephyrproject-rtos%2Fzephyr%20path%3A%2F%5Etests%5C%2F%2F%20sercom1_uart_default&type=code
If the nodes in the tests represent the same one in the board, just use the node phandle (&sercom1_uart_default {) in the test instead of redefining the node. If it's another node, give the test or board node a different node name.
|
|
||
| **Figure 1: RNBD451 Add-on Board** |
There was a problem hiding this comment.
| **Figure 1: RNBD451 Add-on Board** |
There was a problem hiding this comment.
Has committed the change.
|
|
||
| **Figure 2: ATMBUSADAPTER-XPRO - mikroBUS Adapter** |
There was a problem hiding this comment.
| **Figure 2: ATMBUSADAPTER-XPRO - mikroBUS Adapter** |
There was a problem hiding this comment.
Has committed the change.
There was a problem hiding this comment.
Has committed the change.
There was a problem hiding this comment.
this should be named exactly like the shield - mchp_rnbd451_bt_mikrobus.webp
There was a problem hiding this comment.
Has committed the change.
ddb1d85 to
3e9702b
Compare
|
ping @JarmouniA |
The Xplained Pro layout provide a standard 20 pin header. A board can have one or more headers and can share pins. The extension headers are given names EXTn where n ϵ [1…7], n is determined by which ID pin is connected to the embedded debugger. Signed-off-by: James Liu <James.Liu2@microchip.com>
Add xprpo-header support in sam_e54_xpro Signed-off-by: James Liu <James.Liu2@microchip.com>
Expand SERCOM serial ports in the sam_e54_xpro board. This add and enable sercom0, sercom1 and sercom5 ports which are located in the xplained pro header. It makes use of the microchip,xpro-header to easy use with shields. Signed-off-by: James Liu <James.Liu2@microchip.com>
Add board support for the Microchip RNBD451 shield. This shield is compatible with a development board that includes a mikroBUS socket. Signed-off-by: James Liu <James.Liu2@microchip.com>
fd9f88a
3e9702b to
fd9f88a
Compare
|



Add board support for the Microchip RNBD451 shield. This shield is compatible with a development board that includes a mikroBUS socket. This shield is intended to enable Bluetooth Low Energy functionality.