Commit 6b93b493 authored by Ioannis Glaropoulos's avatar Ioannis Glaropoulos Committed by Carles Cufi
Browse files

boards: arm: nrf5340pdk: remove un-needed nrf5340pdk prefix



We do not need to have the nrf5340pdk_ prefix in the
partition configuration and sram planning files for
nrf5340 platforms because these files may be common
for any nrf5340 board variant. Also, we do not need
it in the common .dts header for the Application MCU.

Signed-off-by: default avatarIoannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
parent 6880603e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -261,7 +261,7 @@ LEDs on the board are working properly with Zephyr:

You can build and flash the examples to make sure Zephyr is running correctly on
your board. The button and LED definitions can be found in
:zephyr_file:`boards/arm/nrf5340pdk_nrf5340/nrf5340pdk_nrf5340_cpuapp_common.dts`.
:zephyr_file:`boards/arm/nrf5340pdk_nrf5340/nrf5340_cpuapp_common.dts`.

References
**********
+1 −3
Original line number Diff line number Diff line
@@ -5,8 +5,6 @@
 */

/ {
	model = "Nordic NRF5340 PDK NRF5340 Application";
	compatible = "nordic,nrf5340-pdk-nrf5340-cpuapp";

	chosen {
		zephyr,console = &uart0;
@@ -185,4 +183,4 @@
};

/* Include partition configuration file */
#include "nrf5340pdk_nrf5340_cpuapp_partition_conf.dts"
#include "nrf5340_cpuapp_partition_conf.dts"
+2 −2
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
 * - Lowest 64 kB SRAM allocated to Secure image (sram0_s)
 * - Middle 384 kB allocated to Non-Secure image (sram0_ns)
 * - Upper 64 kB SRAM allocated as Shared memory (sram0_shared)
 *   (see nrf5340pdk_nrf5340_shared_sram_planning_conf.dts)
 *   (see nrf5340_shared_sram_planning_conf.dts)
 */
&sram0_image {
	reg = <0x20000000 DT_SIZE_K(448)>;
@@ -57,4 +57,4 @@
};

/* Include shared RAM configuration file */
#include "nrf5340pdk_nrf5340_shared_sram_planning_conf.dts"
#include "nrf5340_shared_sram_planning_conf.dts"
+4 −1
Original line number Diff line number Diff line
@@ -6,9 +6,12 @@

/dts-v1/;
#include <nordic/nrf5340_cpuapp_qkaa_eng_a.dtsi>
#include "nrf5340pdk_nrf5340_cpuapp_common.dts"
#include "nrf5340_cpuapp_common.dts"

/ {
	model = "Nordic NRF5340 PDK NRF5340 Application";
	compatible = "nordic,nrf5340-pdk-nrf5340-cpuapp";

	chosen {
		zephyr,sram = &sram0_image;
		zephyr,flash = &flash0;
Loading