Skip to content

Conversation

@Mierunski
Copy link

Add support for nrf52820 soc and emulated development for nrf52820 on nrf52833dk

@zephyrbot
Copy link

zephyrbot commented Apr 29, 2020

All checks passed.

checkpatch (informational only, not a failure)

-:122: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nrf52833-dk-nrf52820" appears un-documented -- check ./dts/bindings/
#122: FILE: boards/arm/nrf52833dk_nrf52820/nrf52833dk_nrf52820.dts:12:
+	compatible = "nordic,nrf52833-dk-nrf52820";

-:409: WARNING:LONG_LINE_COMMENT: line over 80 characters
#409: FILE: dts/arm/nordic/nrf52820.dtsi:80:
+			/* uart can be either UART or UARTE, for the user to pick */

-:410: WARNING:LONG_LINE_COMMENT: line over 80 characters
#410: FILE: dts/arm/nordic/nrf52820.dtsi:81:
+			/* compatible = "nordic,nrf-uarte" or "nordic,nrf-uart"; */

-:632: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nRF52820-QDAA" appears un-documented -- check ./dts/bindings/
#632: FILE: dts/arm/nordic/nrf52820_qdaa.dtsi:20:
+		compatible = "nordic,nRF52820-QDAA", "nordic,nRF52820", "nordic,nRF52", "simple-bus";

-:632: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nRF52820" appears un-documented -- check ./dts/bindings/
#632: FILE: dts/arm/nordic/nrf52820_qdaa.dtsi:20:
+		compatible = "nordic,nRF52820-QDAA", "nordic,nRF52820", "nordic,nRF52", "simple-bus";

-:632: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nRF52" appears un-documented -- check ./dts/bindings/
#632: FILE: dts/arm/nordic/nrf52820_qdaa.dtsi:20:
+		compatible = "nordic,nRF52820-QDAA", "nordic,nRF52820", "nordic,nRF52", "simple-bus";

-:632: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "simple-bus" appears un-documented -- check ./dts/bindings/
#632: FILE: dts/arm/nordic/nrf52820_qdaa.dtsi:20:
+		compatible = "nordic,nRF52820-QDAA", "nordic,nRF52820", "nordic,nRF52", "simple-bus";

-:632: WARNING:LONG_LINE: line over 80 characters
#632: FILE: dts/arm/nordic/nrf52820_qdaa.dtsi:20:
+		compatible = "nordic,nRF52820-QDAA", "nordic,nRF52820", "nordic,nRF52", "simple-bus";

- total: 0 errors, 8 warnings, 1328 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Your patch has style problems, please review.

NOTE: Ignored message types: AVOID_EXTERNS BRACES CONFIG_EXPERIMENTAL CONST_STRUCT DATE_TIME FILE_PATH_CHANGES MINMAX NETWORKING_BLOCK_COMMENT_STYLE PRINTK_WITHOUT_KERN_LEVEL SPDX_LICENSE_TAG SPLIT_STRING VOLATILE

NOTE: If any of the errors are false positives, please report
      them to the maintainers.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

@carlescufi carlescufi added this to the v2.3.0 milestone Apr 29, 2020
@anangl
Copy link
Member

anangl commented Apr 29, 2020

@Mierunski You need to add a change in west.yml that will point to pull/37/head as the hal_nordic module revision to be used. This way the changes from zephyrproject-rtos/hal_nordic#37 will be checked by CI.

@Mierunski Mierunski added the DNM This PR should not be merged (Do Not Merge) label Apr 30, 2020
@Mierunski Mierunski force-pushed the nrf52820_support branch from bef7e4c to e2a18d9 Compare May 4, 2020 07:39
@Mierunski Mierunski force-pushed the nrf52820_support branch from e2a18d9 to 361778e Compare May 4, 2020 14:08
@Mierunski Mierunski force-pushed the nrf52820_support branch from 361778e to a1f7161 Compare May 4, 2020 14:45
@carlescufi
Copy link
Member

@Mierunski please rebase, the failure in CI was due to an unrelated issue

Copy link
Member

@ioannisg ioannisg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did a pass; no more comments except the one mentioned by @anangl and @sigurdnev

@carlescufi
Copy link
Member

@Mierunski and @anangl if the nrfx update is backwards compatible, let's have it as its own, separate, first commit.

@Mierunski Mierunski force-pushed the nrf52820_support branch from 353f06e to 0b4f1e4 Compare May 6, 2020 13:29
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean I can develop using psychically nRF52833 SoC, as this is just trimmed down die? Or I should replace it?

@Mierunski Mierunski force-pushed the nrf52820_support branch 2 times, most recently from 18dacdc to 9cdc491 Compare May 8, 2020 09:04
@Mierunski Mierunski force-pushed the nrf52820_support branch from 9cdc491 to 2ec48a8 Compare May 8, 2020 10:40
Change west.yml nordic hal module to point to 2.2.0 nrfx version.

Signed-off-by: Mieszko Mierunski <[email protected]>
@Mierunski Mierunski force-pushed the nrf52820_support branch from 2ec48a8 to 789c9bb Compare May 8, 2020 10:45
@Mierunski Mierunski force-pushed the nrf52820_support branch from 789c9bb to 72a3ab8 Compare May 8, 2020 10:51
Mierunski added 3 commits May 8, 2020 12:52
This commit adds basic support for nRF52820 SoC.
Changes affect introducing:
 - architecuture files (dtsi)
 - configuration of nrfx drivers
 - adaptation of inclusions based on chosen SoC

Signed-off-by: Mieszko Mierunski <[email protected]>
This commit adds support for nRF52820 development on nRF52833DK.
Changes afffects:
 - Introduce files related to board description.
 - Add blank documentation file (for future update).
 - configuration files for build process.

Signed-off-by: Mieszko Mierunski <[email protected]>
This commit adds support for bluetooth in nRF52820 SoC.
Bluetooth radio related files created and added to Zephyr.

Signed-off-by: Mieszko Mierunski <[email protected]>
Copy link
Member

@ioannisg ioannisg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, now, thanks @Mierunski

@Mierunski Mierunski removed the DNM This PR should not be merged (Do Not Merge) label May 8, 2020
@Mierunski
Copy link
Author

@ioannisg All green

@ioannisg ioannisg requested review from lemrey and rlubos May 8, 2020 12:20
@ioannisg ioannisg merged commit f93924c into zephyrproject-rtos:master May 8, 2020
@Mierunski Mierunski deleted the nrf52820_support branch May 11, 2020 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants