Skip to content

Commit

Permalink
NPA-MCXN947-FRDM v1.0.0
Browse files Browse the repository at this point in the history
This is NXP Platform Accelerator for MCXN947 Freedom board with
a LCD-PAR-S035 display panel.

Signed-off-by: Guido Roncarolo <[email protected]>
  • Loading branch information
groncarolonxp authored and fgoucemnxp committed Apr 5, 2024
1 parent 273934a commit 20c03d1
Show file tree
Hide file tree
Showing 584 changed files with 91,070 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
*~
*.swo
*.swp
cscope.*
tags

**/CMakeCache.txt
**/build_log.txt
**/cmake_install.cmake
**/flexspi_nor_debug/
**/flexspi_nor_release/
**/output.map
**/CMakeFiles
**/clean
**/armgcc/Makefile
**/flexspi_nor_sdram_debug/
**/flexspi_nor_sdram_release/
**/*.ninja_deps
**/*.ninja_log
**/build.ninja
**/rules.ninja

*.s
*.i

microej/MCXN947-*-CM4hardfp_GCC48-*/build/
microej/MCXN947-*-CM4hardfp_GCC48-*/source/

BuildKit/bin/
BuildKit/conf/
BuildKit/lib/
BuildKit/microej-build-repository/
BuildKit/microej-module-repository/
BuildKit/release.properties

.java.app
.java.configuration
.java.fp
.java.mock
.*.java.app
.*.java.configuration
.*.java.fp
.*.java.mock
javasec.prop

**/redlink.err
**/redlink.log
**/.gdb_history
gdb.cmd
**/application.out
**/bin
test_results/*
bsp/projects/nxpvee-ui/armgcc/debug/
microej/vee-port-configuration/dropins/*.jar
microej/vee-port-configuration/dropins/include
microej/vee-port-configuration/dropins/javaAPIs
microej/vee-port-configuration/dropins/javaLibs
microej/vee-port-configuration/dropins/mocks
microej/vee-port-configuration/dropins/resources/
microej/vee-port-configuration/dropins/scripts
microej/vee-port-configuration/dropins/tools/*
microej/vee-port-configuration/dropins/workbenchExtension_launchScriptFramework.jar
microej/vee-port-configuration/dropins/gpio/gpio_default.properties
bsp/projects/nxpvee-ui/armgcc/build_log.txt
bsp/projects/nxpvee-ui/armgcc/release/
bsp/projects/microej/platform/
scripts/pylib/build_helpers/__pycache__/
scripts/west_commands/__pycache__/
scripts/west_commands/runners/__pycache__/
/build
bsp/projects/nxpvee-ui/armgcc/tree_version.c
bsp/mcux-sdk/
14 changes: 14 additions & 0 deletions .vscode/cmake-kits.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"name": "armgcc",
"keep": true,
"cmakeSettings": {
"LANGUAGE": "C",
"DEBUG_CONSOLE": "UART",
"POSTPROCESS_UTILITY": "${command:mcuxpresso.postProcessPath}",
"SdkRootDirPath": "${command:mcuxpresso.repoPath}"
},
"keep": true,
"toolchainFile": "${workspaceFolder}/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"
}
}
}
}
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"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": "", // Remote GDB server address. If this is provided, "debugServerPath" will not be auto-completed.
"variables": {
"mcuxStopAtSymbol": "main", // Initial breakpoint
"mcuxSerialNumber": "", // Probe serial number. If not specified, the one from the selected debug probe (in extension view) will be used.
"mcuxAttach": "false", // Start debug in attach mode
"mcuxRemoteProbeType": "", // Remote Probe Type ("LinkServer", "SEGGER", "PEmicro") used only when connecting to a remote server
},
"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.4",
"toolchainPath": "${env:ARMGCC_DIR}",
"linkedProjects": [],
"trustZoneType": "none",
"multicoreType": "none",
"debug": {
"linkserver": {
"device": "MCXN947:FRDM-MCXN947",
"core": "cm33_core0"
},
"pemicro": {},
"segger": {
"device": "Cortex-M33"
}
},
"projectType": "sdk-freestanding",
"sdk": {
"version": "2.14.0",
"path": "${workspaceFolder}/bsp/mcux-sdk/core/",
"boardId": "frdmmcxn947",
"deviceId": "MCXN947",
"coreId": "cm33_core0_MCXN947",
"manifestId": "SDK_2.x_FRDM-MCXN947_manifest_v3_13"
}
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"cmake.configureOnOpen": false,
"C_Cpp.errorSquiggles": "disabled",
"cmake.preferredGenerators": [
"Unix Makefiles",
"Ninja",
"MinGW Makefiles"
],
"cmake.sourceDirectory": "${workspaceFolder}/",
"cmake.buildDirectory": "${workspaceFolder}/build/${buildType}",

"cmake.configureArgs": [
"-DENABLE_NET=1",
"-DENABLE_SEC=1",
"-DENABLE_AI=0",
"-DJMAIN=com.nxp.simpleGFX.SimpleGFX"
]
}
33 changes: 33 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cmake",
"label": "CMake: build",
"command": "build",
"targets": [
"all"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"detail": "CMake template build task"
},
{
"type": "cmake",
"label": "CMake: clean",
"command": "clean",
"problemMatcher": [],
"detail": "CMake template clean task"
},
{
"type": "cmake",
"label": "CMake: configure",
"command": "configure",
"problemMatcher": [],
"detail": "CMake template configure task"
}
]
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.0.0] - Date TBD

### Added

- Add MicroEJ CORE support.
- Add MicroEJ FS support.
- Add MicroEJ display support.
- Add MicroEJ NET support.
- Add MicroEJ ECOM-NETWORK support.
- Add NXP AI support.
- Initial release of the VEE Port.
70 changes: 70 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
cmake_minimum_required(VERSION 3.2)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE debug)
endif()

if(NOT CMAKE_TOOLCHAIN_FILE)
set(CMAKE_TOOLCHAIN_FILE "bsp/mcux-sdk/core/tools/cmake_toolchain_files/armgcc.cmake")
endif()

project(947Vee)


SET(PROJDIRPATH ${CMAKE_CURRENT_SOURCE_DIR})
SET(JC ${CMAKE_CURRENT_SOURCE_DIR}/microej/CMake/jcc.py)

option(VALIDATION "with(out) VALIDATION option")
if(VALIDATION)
add_definitions(-DVALIDATION)
endif(VALIDATION)


set(ZEPHYR_BASE ${CMAKE_CURRENT_SOURCE_DIR} CACHE STRING "")
set(CACHED_BOARD mcxn9xxbrk_cm33_cpu0 CACHE STRING "")
set(ZEPHYR_RUNNERS_YAML ${CMAKE_CURRENT_SOURCE_DIR}/build/runners.yaml CACHE STRING "")
set(CONFIG_FLASH_BASE_ADDRESS 0x10000000 CACHE STRING "")
set(CMAKE_GDB gdb-multiarch CACHE STRING "")
set(BOARD_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE STRING "")


add_custom_target(runners_yaml_props_target)
add_custom_target(config_props_target)


set(ignoreMe "${WEST_PYTHON}")

include(cmake/modules/extensions.cmake OPTIONAL)
include(cmake/board/board.cmake OPTIONAL)


add_subdirectory(microej)
add_subdirectory(bsp/projects/nxpvee-ui/armgcc)
add_subdirectory(cmake/flash)

add_dependencies(nxpvee_ui.elf APPS)

function(config_append content)
# Append ${content}\n to a target property which is later evaluated as a
# generator expression when writing the flash runner yaml file.
# We define this function here to have access to the `flash` target.

set_property(
TARGET config_props_target
APPEND_STRING
PROPERTY config_contents
"${content}\n"
)
endfunction()


function(create_config)
set(config_file "${PROJECT_BINARY_DIR}/.config")

config_append ("CONFIG_FLASH_BASE_ADDRESS=${CONFIG_FLASH_BASE_ADDRESS}")

# Write the final contents and set its location in the cache.
file(GENERATE OUTPUT "${config_file}" CONTENT
$<TARGET_PROPERTY:config_props_target,config_contents>)
endfunction()

create_config()
Binary file added Documentation/pictures/MCXN947/frdm-mcxn947.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/pictures/MCXN947/lcd-par-s035.jpg
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.
Binary file added Documentation/pictures/common/sdk6-button.png
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.
Binary file added Documentation/pictures/common/sdk_import.png
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.
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

0 comments on commit 20c03d1

Please sign in to comment.