forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nuvoton: Migrate to new memory bankc information (#382)
* Nuvoton: Remove unsupported armclang and iar toolchains Armclang and IAR toolchains are not supported in Mbed CE. Remove them for clean. * Nuvoton: Migrate to new style memory bank information Change memory bank symbols: 1. MBED_APP_START/SIZE -> MBED_CONFIGURED_ROM_BANK_IROM1_START/SIZE NOTE: IROM2 for M2354 2. MBED_RAM_APP_START/SIZE -> MBED_CONFIGURED_RAM_BANK_IRAM1_START/SIZE NOTE: IRAM2 for M2354 3. APPLICATION_ADDR/SIZE -> MBED_CONFIGURED_ROM_BANK_IROM1_START/SIZE 4. APPLICATION_RAM_ADDR/SIZE -> MBED_CONFIGURED_RAM_BANK_IRAM1_START/SIZE 5. -> MBED_CONFIGURED_RAM_BANK_XRAM1_START/SIZE NOTE: Specific to NUC472 6. NU_HYPERRAM_START/SIZE -> MBED_CONFIGURED_RAM_BANK_HYPERRAM1_START/SIZE NOTE: Specific to M467
- Loading branch information
Showing
37 changed files
with
371 additions
and
1,719 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
targets/TARGET_NUVOTON/TARGET_M2354/device/TOOLCHAIN_ARMC6/M2354.sct
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
targets/TARGET_NUVOTON/TARGET_M2354/device/partition_M2354_mem.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright (c) 2020, Nuvoton Technology Corporation | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#include <assert.h> | ||
#include "partition_M2354_mem.h" | ||
|
||
/* Check MBED_ROM_BANK_NS_CODE_START and friends | ||
* | ||
* These symbols must be resolved by TF-M exported region_defs.h. | ||
*/ | ||
static_assert(MBED_ROM_BANK_NS_CODE_START == NS_CODE_START, | ||
"MBED_ROM_BANK_NS_CODE_START not equal TF-M imported NS_CODE_START"); | ||
static_assert(MBED_ROM_BANK_NS_CODE_SIZE == NS_CODE_SIZE, | ||
"MBED_ROM_BANK_NS_CODE_SIZE not equal TF-M imported NS_CODE_SIZE"); | ||
static_assert(MBED_RAM_BANK_NS_DATA_START == NS_DATA_START, | ||
"MBED_RAM_BANK_NS_DATA_START not equal TF-M imported NS_DATA_START"); | ||
static_assert(MBED_RAM_BANK_NS_DATA_SIZE == NS_DATA_SIZE, | ||
"MBED_RAM_BANK_NS_DATA_SIZE not equal TF-M imported NS_DATA_SIZE"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 0 additions & 112 deletions
112
targets/TARGET_NUVOTON/TARGET_M2354/device/partition_M2354_mem.icf.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.