summaryrefslogtreecommitdiffstatshomepage
path: root/tools
diff options
context:
space:
mode:
authorPhilipp Ebensberger <philipp.ebensberger@3bricks-software.de>2021-08-20 21:41:58 +0200
committerPhilipp Ebensberger <philipp.ebensberger@3bricks-software.de>2021-09-14 13:52:52 +0200
commit0d7366c9126f1b306d5cd4eaebe26c801f0e01d8 (patch)
tree8ec6b494b762192250835558b652dec28ee5f4aa /tools
parent426785a19eeb12aef7383fbda4693575d8c4dddf (diff)
downloadmicropython-0d7366c9126f1b306d5cd4eaebe26c801f0e01d8.tar.gz
micropython-0d7366c9126f1b306d5cd4eaebe26c801f0e01d8.zip
mimxrt: Rework flash configuration.
- Moves definition of BOARD_FLASH_SIZE and other header files related to flash configuration into the Makefile. - Adds board specific clock_config.h. - Adds board.h, pin_mux.h, and peripherals.h as they are required by NXP MCU SDK in order to use our own clock_config.h. - Renames board specific FlexSPI configuration files. - Updates flash frequency of MIMXRT1020_EVK - Creates separated flash_config files for QSPI NOR and QSPI Hyper flash. - Unifies VFS start address to be @ 1M for 1010 and 1020 boards. - Unifies 1050EVK boards - Adds support to both NOR and HyperFlash on boards with both capabilities. - Adds automatic FlexRAM initialization to start-up code based on linker script and NXP HAL. - Applies code formatting to all files in mimxrt port. With this change the flash configuration is restructured and organized. This simplifies the configuration process and provides a better overview of each board's settings. With the integration of clock_config.h, board.h, pin_mux.h, and peripherals.h we gain better control of the settings and clock configurations. Furthermore the implementation of an explicit FlexRAM setup improves the system performance and allows for performance tuning. Signed-off-by: Philipp Ebensberger
Diffstat (limited to 'tools')
-rwxr-xr-xtools/autobuild/build-mimxrt-latest.sh2
-rwxr-xr-xtools/codeformat.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/autobuild/build-mimxrt-latest.sh b/tools/autobuild/build-mimxrt-latest.sh
index 4db65c0916..f5bc1397a5 100755
--- a/tools/autobuild/build-mimxrt-latest.sh
+++ b/tools/autobuild/build-mimxrt-latest.sh
@@ -34,4 +34,4 @@ fi
do_build TEENSY40 TEENSY40 hex
do_build TEENSY41 TEENSY41 hex
do_build MIMXRT1020_EVK MIMXRT1020_EVK bin
-do_build MIMXRT1050_EVKB MIMXRT1050_EVKB bin
+do_build MIMXRT1050_EVK MIMXRT1050_EVK bin
diff --git a/tools/codeformat.py b/tools/codeformat.py
index a5d64739aa..ab12745fa5 100755
--- a/tools/codeformat.py
+++ b/tools/codeformat.py
@@ -52,6 +52,7 @@ PATHS = [
"examples/**/*.py",
"extmod/**/*.py",
"ports/**/*.py",
+ "ports/mimxrt/**/*.[ch]",
"py/**/*.py",
"tools/**/*.py",
"tests/**/*.py",