Skip to content

Commit

Permalink
NXPVEE-MIMXRT595-EVK v1.2.0
Browse files Browse the repository at this point in the history
This is the NXP VEE Port for i.MX RT595 EVK with a G1120B0MIPI
circular display.

Signed-off-by: Fabrice Goucem <[email protected]>
  • Loading branch information
fgoucemnxp committed Dec 5, 2023
1 parent db196ce commit 849b9d0
Show file tree
Hide file tree
Showing 85 changed files with 2,017 additions and 5,595 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ nxpvee-mimxrt595-evk-round-configuration/dropins/mocks/
nxpvee-mimxrt595-evk-round-configuration/dropins/scripts/
nxpvee-mimxrt595-evk-round-configuration/dropins/tools/license-checker.jar
nxpvee-mimxrt595-evk-round-configuration/dropins/tools/imagegenerator-vectorimage.jar
nxpvee-mimxrt595-evk-round-configuration/dropins/resources/os/
nxpvee-mimxrt595-evk-round-configuration/dropins/workbenchExtension_*
nxpvee-mimxrt595-evk-round-bsp/projects/microej/platform/
MIMXRT595-*-CM4hardfp_GCC48-*
Expand Down Expand Up @@ -40,3 +41,6 @@ CMakeCache.txt
.ninja_deps
build.ninja
rules.ninja
nxpvee-mimxrt595-evk-round-bsp/projects/nxpvee-ui/armgcc/tree_version.c
nxpvee-mimxrt595-evk-round-bsp/mcux-sdk
nxpvee-mimxrt595-evk-round-bsp/projects/nxpvee-ui/armgcc/debug
11 changes: 11 additions & 0 deletions .vscode/cmake-kits.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"name": "armgcc",
"keep": true,
"cmakeSettings": {
"LANGUAGE": "C",
"DEBUG_CONSOLE": "UART"
},
"toolchainFile": "${workspaceFolder}/nxpvee-mimxrt595-evk-round-bsp/mcux-sdk/core/tools/cmake_toolchain_files/armgcc.cmake"
}
]
15 changes: 15 additions & 0 deletions .vscode/cmake-variants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"build_type": {
"default": "debug",
"choices": {
"debug": {
"short": "debug",
"buildType": "debug"
},
"release": {
"short": "release",
"buildType": "release"
}
}
}
}
30 changes: 30 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"configurations": [
{
"type": "cppdbg",
"name": "Debug project configuration",
"request": "launch",
"cwd": "${workspaceRoot}",
"MIMode": "gdb",
"setupCommands": [
{
"text": "set remotetimeout 600"
},
{
"text": "set debug-file-directory"
}
],
"program": "",
"miDebuggerServerAddress": "",
"variables": {
"mcuxStopAtSymbol": "main",
"mcuxSerialNumber": "02280000082d27a600000000000000000000000097969905",
"mcuxAttach": "false",
"mcuxRemoteProbeType": ""
},
"logging": {
"engineLogging": false
}
}
]
}
26 changes: 26 additions & 0 deletions .vscode/mcuxpresso-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "1.1",
"toolchainPath": "${env:ARMGCC_DIR}",
"toolchainVersion": "GNU Arm Embedded Toolchain 10.3-2021.10",
"linkedProjects": [],
"trustZoneType": "none",
"debug": {
"linkserver": {
"device": "MIMXRT595S:EVK-MIMXRT595",
"core": "primary"
},
"pemicro": {},
"segger": {
"device": "MIMXRT595S_M33"
}
},
"projectType": "sdk-freestanding",
"sdk": {
"version": "2.12.1",
"path": "${workspaceFolder}/nxpvee-mimxrt595-evk-round-bsp/mcux-sdk",
"boardId": "evkmimxrt595",
"deviceId": "MIMXRT595S",
"coreId": "cm33_MIMXRT595S",
"manifestId": "SDK_2.x_EVK-MIMXRT595_manifest_v3_13"
}
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"cmake.configureOnOpen": false,
"C_Cpp.errorSquiggles": "disabled",
"cmake.preferredGenerators": [
"Ninja",
"Unix Makefiles",
"MinGW Makefiles"
],
"cmake.sourceDirectory": "${workspaceFolder}/nxpvee-mimxrt595-evk-round-bsp/projects/nxpvee-ui/armgcc",
"cmake.buildDirectory": "${workspaceFolder}/nxpvee-mimxrt595-evk-round-bsp/projects/nxpvee-ui/armgcc/${buildType}"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MIMXRT595-evk_platform-CM4hardfp_GCC48-1.1.0</name>
<name>MIMXRT595-evk_platform-CM4hardfp_GCC48-1.2.0</name>
<comment></comment>
<projects>
</projects>
Expand Down
33 changes: 29 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define del_dir
endef

BSP_DIR=$(BASE_DIR)/nxpvee-mimxrt595-evk-round-bsp
PLAT_DIR=$(BASE_DIR)/MIMXRT595-evk_platform-CM4hardfp_GCC48-1.1.0
PLAT_DIR=$(BASE_DIR)/MIMXRT595-evk_platform-CM4hardfp_GCC48-1.2.0
APP_DIR=$(BASE_DIR)/nxpvee-mimxrt595-evk-round-apps
FP_DIR=$(BASE_DIR)/nxpvee-mimxrt595-evk-round-fp
MOCK_DIR=$(BASE_DIR)/nxpvee-mimxrt595-evk-round-mock
Expand All @@ -47,14 +47,17 @@ ifeq ($(strip $(VERBOSE)),1)
JAVA_VERBOSE=-v
endif

USAGE?=eval
ifeq ($(strip $(PUBLISH)),1)
PUBLISH_ARTIFACTS=-Dskip.publish=false
else
PUBLISH_ARTIFACTS=
endif

ifeq ($(USAGE),prod)
USAGE?=eval

ifneq ($(MODULE_REPOSITORY_SETTINGS_FILE),)
MODULE_REPOSITORY_SETTINGS=--module-repository-settings-file=$(MODULE_REPOSITORY_SETTINGS_FILE)
endif
endif

MAIN ?=

Expand All @@ -66,3 +69,25 @@ MAIN.nxpvee-ui.java.app=com.nxp.simpleGFX.SimpleGFX
PROJS = nxpvee-ui

include Makefile.inc

help:
@echo "nxpvee-mimxrt1170-evk build system:"
@echo ""
@echo "Valid targets are:"
@echo " nxpvee-ui.prj build complete UI project"
@echo " nxpvee-ui-clean clean UI project"
@echo " nxpvee-ui-flash flash board using Jlink"
@echo " nxpvee-ui-flash_cmsisdap flash board using CMSIS"
@echo " nxpvee-ui-gdb debug UI project using gdb and Jlink"
@echo " nxpvee-ui-gdb_cmsisdap debug UI project using gdb and CMSIS"
@echo " nxpvee-ui-java_run run java simulation"
@echo " nxpvee-ui-java_rebuild rebuild java app"
@echo " nxpvee-validation.prj compile and run validation"
@echo ""
@echo "Valid options are:"
@echo " S2S_TTY set validation serial port i.e. ttyACM0"
@echo " VALIDATIONS='[option]+' overrides validation projetcs to be run
@echo " VERBOSE=1 compile in verbose mode"
@echo " QUIET=1 compile in quiet mode"
@echo " USAGE=[eval|prod] compile in eval or prod"
@echo " MAIN=com.nxp... overrides java MAIN"
10 changes: 8 additions & 2 deletions Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ endif

.java.configuration:
cd $(CONF_DIR) $(LINK) $(MICROEJ_BUILDKIT_PATH_VAR)/bin/mmm publish \
$(PUBLISH_ARTIFACTS) \
-Declipse.home="$(ECLIPSE_HOME)" \
-Dcom.microej.platformbuilder.architecture.usage=$(USAGE) \
$(MODULE_REPOSITORY_SETTINGS) \
Expand Down Expand Up @@ -71,7 +72,7 @@ javasec.prop :
-Declipse.home="$(ECLIPSE_HOME)" \
$(MODULE_REPOSITORY_SETTINGS) \
-Dcom.microej.platformbuilder.architecture.usage=$(USAGE) \
-Dplatform-loader.target.platform.dir=$(PLAT_DIR)/ \
-Dplatform-loader.target.platform.dir=$(PLAT_DIR)/source \
-Dplatform-launcher.platform.dir=$(PLAT_DIR)/source \
-Dapplication.main.class=$(if $(MAIN),$(MAIN),$(MAIN$@)) \
-Dlaunch.properties.jvm="-Djava.security.properties=$(BASE_DIR)/javasec.prop" \
Expand Down Expand Up @@ -110,7 +111,7 @@ $(addsuffix -java_run,$(PROJS)): .java.fp .java.mock .java.configuration
-Dapplication.main.class=$(if $(MAIN),$(MAIN),$(MAIN.$(@:%-java_run=%).java.app)) \
-Dplatform-launcher.platform.dir=$(PLAT_DIR)/source $(JAVA_VERBOSE)

$(addsuffix -java_rebuild,$(PROJS)):
$(addsuffix -java_rebuild,$(PROJS)): .java.fp .java.mock .java.configuration
$(call del_file,.*.java.app)
make .$(@:%-java_rebuild=%).java.app

Expand All @@ -125,6 +126,11 @@ $(addsuffix -clean,$(PROJS)):
$(call del_file,$(CONF_DIR)/dropins/imagegenerator-vectorimage.jar)
$(call del_file,$(CONF_DIR)/dropins/license-checker.jar)
$(call del_dir,$(CONF_DIR)/target~/)
$(call del_dir,$(CONF_DIR)/dropins/include)
$(call del_dir,$(CONF_DIR)/dropins/javaLibs)
$(call del_dir,$(CONF_DIR)/dropins/mocks)
$(call del_dir,$(CONF_DIR)/dropins/scripts)
$(call del_file,$(CONF_DIR)/dropins/workbenchExtension_launchScriptFramework.jar)
$(call del_dir,$(FP_DIR)/bin/)
$(call del_dir,$(FP_DIR)/lib/)
$(call del_dir,$(FP_DIR)/target~/)
Expand Down
Loading

0 comments on commit 849b9d0

Please sign in to comment.