Skip to content

Commit

Permalink
Remove 'v1' version specifier from Aludel Elixir board
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wilson <chris@cgnd.dev>
  • Loading branch information
cdwilson committed Mar 15, 2024
1 parent 35a8ab9 commit bfb70c2
Show file tree
Hide file tree
Showing 26 changed files with 52 additions and 46 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.1] - 2024-03-15

### Fixed

- Remove `v1` version specifier from Aludel Elixir board (`aludel_elixir_v1``aludel_elixir`).

## [1.1.0] - 2024-03-15

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: Apache-2.0

set(mcuboot_OVERLAY_CONFIG
"${CMAKE_CURRENT_LIST_DIR}/aludel_elixir_v1_mcuboot.conf"
"${CMAKE_CURRENT_LIST_DIR}/aludel_elixir_mcuboot.conf"
CACHE STRING "MCUBOOT configuration")
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

if SOC_NRF9160_SICA

config BOARD_ALUDEL_ELIXIR_V1
bool "Golioth Aludel Elixir v1"
config BOARD_ALUDEL_ELIXIR
bool "Golioth Aludel Elixir"

config BOARD_ALUDEL_ELIXIR_V1_NS
bool "Golioth Aludel Elixir v1 non-secure"
config BOARD_ALUDEL_ELIXIR_NS
bool "Golioth Aludel Elixir non-secure"

endif # SOC_NRF9160_SICA
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# Copyright (c) 2023 Golioth, Inc.
# SPDX-License-Identifier: Apache-2.0

if BOARD_ALUDEL_ELIXIR_V1 || BOARD_ALUDEL_ELIXIR_V1_NS
if BOARD_ALUDEL_ELIXIR || BOARD_ALUDEL_ELIXIR_NS

config BOARD
default "aludel_elixir_v1"
default "aludel_elixir"

# By default, if we build for a Non-Secure version of the board,
# enable building with TF-M as the Secure Execution Environment.
config BUILD_WITH_TFM
default y if BOARD_ALUDEL_ELIXIR_V1_NS
default y if BOARD_ALUDEL_ELIXIR_NS

if BUILD_WITH_TFM

Expand All @@ -37,16 +37,16 @@ DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition

config FLASH_LOAD_SIZE
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
depends on BOARD_ALUDEL_ELIXIR_V1 && TRUSTED_EXECUTION_SECURE
depends on BOARD_ALUDEL_ELIXIR && TRUSTED_EXECUTION_SECURE

if BOARD_ALUDEL_ELIXIR_V1_NS
if BOARD_ALUDEL_ELIXIR_NS

config FLASH_LOAD_OFFSET
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION))

config FLASH_LOAD_SIZE
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))

endif # BOARD_ALUDEL_ELIXIR_V1_NS
endif # BOARD_ALUDEL_ELIXIR_NS

endif # BOARD_ALUDEL_ELIXIR_V1 || BOARD_ALUDEL_ELIXIR_V1_NS
endif # BOARD_ALUDEL_ELIXIR || BOARD_ALUDEL_ELIXIR_NS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/dts-v1/;
#include <nordic/nrf9160_sica.dtsi>
#include "aludel_elixir_v1_common.dtsi"
#include "aludel_elixir_common.dtsi"

/ {
chosen {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2023 Golioth, Inc.
# SPDX-License-Identifier: Apache-2.0

identifier: aludel_elixir_v1
identifier: aludel_elixir
name: Golioth-Aludel-Elixir-v1
type: mcu
arch: arm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "aludel_elixir_v1_common_B.dtsi"
#include "aludel_elixir_common_A.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "aludel_elixir_v1_common_A.dtsi"
#include "aludel_elixir_common_B.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "aludel_elixir_v1_common-pinctrl.dtsi"
#include "aludel_elixir_common-pinctrl.dtsi"

/ {
model = "Golioth Aludel Elixir v1";
compatible = "golioth,aludel-elixir-v1";
model = "Golioth Aludel Elixir";
compatible = "golioth,aludel-elixir";

chosen {
zephyr,console = &uart0;
Expand Down Expand Up @@ -185,4 +185,4 @@ qwiic_i2c: &i2c2 {};
};

/* Include partition configuration file */
#include "aludel_elixir_v1_partition_conf.dtsi"
#include "aludel_elixir_partition_conf.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "aludel_elixir_v1_common_A-pinctrl.dtsi"
#include "aludel_elixir_common_A-pinctrl.dtsi"

/ {
mikrobus_header_1: mikrobus-connector-1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "aludel_elixir_v1_common_B-pinctrl.dtsi"
#include "aludel_elixir_common_B-pinctrl.dtsi"

/ {
mikrobus_header_1: mikrobus-connector-1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

CONFIG_SOC_SERIES_NRF91X=y
CONFIG_SOC_NRF9160_SICA=y
CONFIG_BOARD_ALUDEL_ELIXIR_V1=y
CONFIG_BOARD_ALUDEL_ELIXIR=y

# Enable MPU
CONFIG_ARM_MPU=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ CONFIG_SIZE_OPTIMIZATIONS=y
# This disables the external NOR flash in mcuboot.
#
# On ncs >= v2.4.0, the w25q32jv node in the the devicetree for the
# aludel_elixir_v1 board automatically enables SPI_NOR (due to
# aludel_elixir board automatically enables SPI_NOR (due to
# compatible = "jedec,spi-nor") which uses the SPI3 peripheral.
#
# Some reference designs (such as the CAN Asset Tracker) remap the SPI3
# peripheral to the Click headers on the the aludel_elixir_v1 board.
# peripheral to the Click headers on the the aludel_elixir board.
# If CONFIG_SPI_NOR is enabled, it breaks the SPI3 functionality in the app.
#
# Since we're not currently using the external NOR flash in mcuboot, we'll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/dts-v1/;
#include <nordic/nrf9160ns_sica.dtsi>
#include "aludel_elixir_v1_common.dtsi"
#include "aludel_elixir_common.dtsi"

/ {
chosen {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "aludel_elixir_v1_common_B.dtsi"
#include "aludel_elixir_common_A.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "aludel_elixir_v1_common_A.dtsi"
#include "aludel_elixir_common_B.dtsi"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

CONFIG_SOC_SERIES_NRF91X=y
CONFIG_SOC_NRF9160_SICA=y
CONFIG_BOARD_ALUDEL_ELIXIR_V1_NS=y
CONFIG_BOARD_ALUDEL_ELIXIR_NS=y

# Enable MPU
CONFIG_ARM_MPU=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
*/

/*
* Default Flash planning for aludel_elixir_v1.
* Default Flash planning for aludel_elixir.
*
* Zephyr build for nRF9160 with ARM TrustZone-M support,
* implies building Secure and Non-Secure Zephyr images.
*
* Secure image will be placed, by default, in flash0
* (or in slot0, if MCUboot is present).
* Secure image will use sram0 for system memory.
*
* Non-Secure image will be placed in slot0_ns, and use
* sram0_ns for system memory.
*
* Note that the Secure image only requires knowledge of
* the beginning of the Non-Secure image (not its size).
*/

&slot0_partition {
reg = <0x00010000 0x40000>;
* implies building Secure and Non-Secure Zephyr images.
*
* Secure image will be placed, by default, in flash0
* (or in slot0, if MCUboot is present).
* Secure image will use sram0 for system memory.
*
* Non-Secure image will be placed in slot0_ns, and use
* sram0_ns for system memory.
*
* Note that the Secure image only requires knowledge of
* the beginning of the Non-Secure image (not its size).
*/

&slot0_partition {
reg = <0x00010000 0x40000>;
};

&slot0_ns_partition {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2023 Golioth, Inc.
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_BOARD_ALUDEL_ELIXIR_V1_NS)
if(CONFIG_BOARD_ALUDEL_ELIXIR_NS)
set(TFM_PUBLIC_KEY_FORMAT "full")
endif()

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit bfb70c2

Please sign in to comment.