Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Nordic's nRF52833 SoC #20222

Merged
merged 7 commits into from Nov 13, 2019

Conversation

barsok
Copy link
Collaborator

@barsok barsok commented Oct 29, 2019

The PR together with another PR in hal_nordic (zephyrproject-rtos/hal_nordic#12) provide support for compiling code for the nRF52833 cpu and PCA10100 development kit board.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Oct 29, 2019

All checks are passing now.

checkpatch (informational only, not a failure)

-:390: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,pca10100-dk" appears un-documented -- check ./dts/bindings/
#390: FILE: boards/arm/nrf52833_pca10100/nrf52833_pca10100.dts:12:
+	compatible = "nordic,pca10100-dk", "nordic,nrf52833-qiaa",

-:390: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nrf52833-qiaa" appears un-documented -- check ./dts/bindings/
#390: FILE: boards/arm/nrf52833_pca10100/nrf52833_pca10100.dts:12:
+	compatible = "nordic,pca10100-dk", "nordic,nrf52833-qiaa",

-:583: WARNING:LONG_LINE_COMMENT: line over 80 characters
#583: FILE: boards/arm/nrf52833_pca10100/nrf52833_pca10100.dts:205:
+	 * http://docs.zephyrproject.org/latest/guides/dts/index.html#flash-partitions

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

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

-:1341: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nRF52833-QIAA" appears un-documented -- check ./dts/bindings/
#1341: FILE: dts/arm/nordic/nrf52833_qiaa.dtsi:20:
+		compatible = "nordic,nRF52833-QIAA", "nordic,nRF52833", "nordic,nRF52", "simple-bus";

-:1341: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nRF52833" appears un-documented -- check ./dts/bindings/
#1341: FILE: dts/arm/nordic/nrf52833_qiaa.dtsi:20:
+		compatible = "nordic,nRF52833-QIAA", "nordic,nRF52833", "nordic,nRF52", "simple-bus";

-:1341: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "nordic,nRF52" appears un-documented -- check ./dts/bindings/
#1341: FILE: dts/arm/nordic/nrf52833_qiaa.dtsi:20:
+		compatible = "nordic,nRF52833-QIAA", "nordic,nRF52833", "nordic,nRF52", "simple-bus";

-:1341: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string "simple-bus" appears un-documented -- check ./dts/bindings/
#1341: FILE: dts/arm/nordic/nrf52833_qiaa.dtsi:20:
+		compatible = "nordic,nRF52833-QIAA", "nordic,nRF52833", "nordic,nRF52", "simple-bus";

-:1341: WARNING:LONG_LINE: line over 80 characters
#1341: FILE: dts/arm/nordic/nrf52833_qiaa.dtsi:20:
+		compatible = "nordic,nRF52833-QIAA", "nordic,nRF52833", "nordic,nRF52", "simple-bus";

-:2156: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#2156: FILE: tests/drivers/adc/adc_api/src/test_adc.c:37:
+      defined(CONFIG_BOARD_NRF52833_PCA10100) || \$

- total: 0 errors, 11 warnings, 2003 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 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.

@barsok barsok force-pushed the bsokol-support-nrf52833-pr branch 2 times, most recently from 27da06b to 28e2df5 Compare October 30, 2019 15:45
@barsok barsok added DNM This PR should not be merged (Do Not Merge) Blocked Blocked by another PR or issue labels Oct 30, 2019
Copy link
Contributor

@dbkinder dbkinder left a comment

Choose a reason for hiding this comment

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

Is there a documentation update needed for this change?

@dbkinder I have included the doc for the development board to this PR

@thoh-ot thoh-ot removed their request for review October 31, 2019 11:07
@ioannisg ioannisg removed Blocked Blocked by another PR or issue DNM This PR should not be merged (Do Not Merge) labels Nov 8, 2019
Copy link
Contributor

@dbkinder dbkinder left a comment

Choose a reason for hiding this comment

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

@ioannisg A couple of tweaks, otherwise LGTM.

boards/arm/nrf52833_pca10100/doc/index.rst Outdated Show resolved Hide resolved
boards/arm/nrf52833_pca10100/doc/index.rst Outdated Show resolved Hide resolved
@carlescufi
Copy link
Member

@dbkinder could you take another look?

@carlescufi carlescufi changed the title Add support for compilation for Nordic nRF52833 Add support for Nordic's nRF52833 SoC Nov 8, 2019
Copy link
Contributor

@dbkinder dbkinder left a comment

Choose a reason for hiding this comment

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

docs LGTM, thanks!

@carlescufi
Copy link
Member

Thanks @dbkinder!

Emil Obalski and others added 7 commits November 11, 2019 09:41
This commit adds basic support for nRF52833 SoC.
Changes affect introducing:
 - architecuture files (dtsi)
 - configuration of nrfx drivers
 - adaptation of inclusions based on chosen SoC
 - configuration of NFCT_PINS_AS_GPIOS depends on HAS_HW_NRF_NFCT.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
This commit adds support for nRF52833 development board.
Changes afffects:
 - Introduce files related to board description.
 - Add blank documentation file (for future update).
 - configuration files for build process.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
By adding new SoC to Zephyr drivers has to be updated.
Commit affects:
 - USB driver
	- support for nRF52833 added.
	- support for USB_DEVICE_REMOTE_WAKEUP in hid-mouse added.
 - SPI
 - IEEE 802.15.4
 - CLOCK CONTROL

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
Name convention for nordic USB driver changed
Kconfig files for custom boards have to be udapted accordingly.
Changes affect only name convention change.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
This commit adds support for bluetooth in nRF52833 SoC.
Bluetooth radio related files created and added to Zephyr.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
add support for nrf52833 and pca10100

Signed-off-by: Bartosz Sokolski <bartosz.sokolski@nordicsemi.no>
Update Zephyr manifest so it picks the tip of hal_nordic.

Signed-off-by: Bartosz Sokolski <bartosz.sokolski@nordicsemi.no>
Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
@ioannisg ioannisg added the TSC Topics that need TSC discussion label Nov 11, 2019
@ioannisg
Copy link
Member

Marking this with TSC, to consider pushing this after -rc1 tag, as exception, during feature-freeze. Although this does not really count as exception simply because the PR was ready before freeze, but could not be merged due to upstream CI issues.

Applications for the ``nrf52833_pca10100`` board configuration can be
built and flashed in the usual way (see :ref:`build_an_application`
and :ref:`application_run` for more details); however, the standard
debugging targets are not currently available.
Copy link
Member

Choose a reason for hiding this comment

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

why not? you enabled jlink, pyocd, and openocd runners

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree, this looks like a copy/paste error

@galak
Copy link
Collaborator

galak commented Nov 13, 2019

Approved by TSC for merge into 2.1

@galak galak removed the TSC Topics that need TSC discussion label Nov 13, 2019
@galak galak merged commit ecb0993 into zephyrproject-rtos:master Nov 13, 2019
@barsok barsok deleted the bsokol-support-nrf52833-pr branch January 31, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Changes to public APIs area: Bluetooth area: Boards area: Devicetree area: Modules area: Samples Samples area: SPI SPI bus area: Tests Issues related to a particular existing or missing test platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet