Skip to content

Commit 828b9f0

Browse files
author
Jamie Smith
authored
Add MIMXRT1176 MCU description and fix build failure (#360)
1 parent 798dd6b commit 828b9f0

File tree

2 files changed

+152
-0
lines changed

2 files changed

+152
-0
lines changed

targets/cmsis_mcu_descriptions.json5

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2823,6 +2823,157 @@
28232823
"sub_family": null,
28242824
"vendor": "NXP:11"
28252825
},
2826+
"MIMXRT1176DVMAA": {
2827+
"algorithms": [
2828+
{
2829+
"default": true,
2830+
"file_name": "devices/MIMXRT1176/arm/MIMXRT117x_QuadSPI_4KB_SEC.FLM",
2831+
"ram_size": 32768,
2832+
"ram_start": 536870912,
2833+
"size": 16777216,
2834+
"start": 805306368,
2835+
"style": "Keil"
2836+
},
2837+
{
2838+
"default": true,
2839+
"file_name": "devices/MIMXRT1176/arm/MIMXRT117x_QuadSPI_4KB_SEC_Alias.FLM",
2840+
"ram_size": 32768,
2841+
"ram_start": 536739840,
2842+
"size": 16777216,
2843+
"start": 134217728,
2844+
"style": "Keil"
2845+
},
2846+
{
2847+
"default": true,
2848+
"file_name": "devices/MIMXRT1176/arm/MIMXRT117x_64MB_QuadSPI_4KB_SEC.FLM",
2849+
"ram_size": 32768,
2850+
"ram_start": 536870912,
2851+
"size": 67108864,
2852+
"start": 805306368,
2853+
"style": "Keil"
2854+
},
2855+
{
2856+
"default": true,
2857+
"file_name": "devices/MIMXRT1176/arm/MIMXRT117x_64MB_QuadSPI_4KB_SEC_Alias.FLM",
2858+
"ram_size": 32768,
2859+
"ram_start": 536739840,
2860+
"size": 67108864,
2861+
"start": 134217728,
2862+
"style": "Keil"
2863+
}
2864+
],
2865+
"family": "MIMXRT1176",
2866+
"from_pack": {
2867+
"pack": "MIMXRT1176_DFP",
2868+
"url": "https://mcuxpresso.nxp.com/cmsis_pack/repo/",
2869+
"vendor": "NXP",
2870+
"version": "18.0.0"
2871+
},
2872+
"memories": {
2873+
// The datasheet is a bit confusing, but this device actually has *three* OCRAM banks.
2874+
// One of them is the conventional DTCM/ITCM/OCRAM split, and defaults to 256k DTCM & ITCM and no OCRAM.
2875+
// The other two are fixed to being OCRAM and form a contiguous region of memory, so we will treat them as such.
2876+
"SRAM_DTC": {
2877+
"access": {
2878+
"execute": false,
2879+
"non_secure": false,
2880+
"non_secure_callable": false,
2881+
"peripheral": false,
2882+
"read": true,
2883+
"secure": false,
2884+
"write": true
2885+
},
2886+
"default": true,
2887+
"p_name": null,
2888+
"size": 0x40000,
2889+
"start": 0x20000000,
2890+
"startup": false
2891+
},
2892+
"SRAM_ITC": {
2893+
"access": {
2894+
"execute": true,
2895+
"non_secure": false,
2896+
"non_secure_callable": false,
2897+
"peripheral": false,
2898+
"read": true,
2899+
"secure": false,
2900+
"write": true
2901+
},
2902+
"default": true,
2903+
"p_name": null,
2904+
"size": 0x40000,
2905+
"start": 0,
2906+
"startup": false
2907+
},
2908+
// NOTE: If ECC was enabled, this would be only 1MiB, but with ECC disabled the space increases.
2909+
"SRAM_OC_1_2_COMBINED": {
2910+
"access": {
2911+
"execute": false,
2912+
"non_secure": false,
2913+
"non_secure_callable": false,
2914+
"peripheral": false,
2915+
"read": true,
2916+
"secure": false,
2917+
"write": true
2918+
},
2919+
"default": true,
2920+
"p_name": null,
2921+
"size": 0x120000,
2922+
"start": 0x20240000,
2923+
"startup": false
2924+
},
2925+
2926+
// Last but not least, we have the Cortex-M4 LMEM memory region, which is where the CM4 MCU executes out of.
2927+
// If the CM4 is not needed in an application, this space should be able to be used by the CM7 core as long
2928+
// as the CM4 core is powered up first.
2929+
"CM4_LMEM": {
2930+
"access": {
2931+
"execute": false,
2932+
"non_secure": false,
2933+
"non_secure_callable": false,
2934+
"peripheral": false,
2935+
"read": true,
2936+
"secure": false,
2937+
"write": true
2938+
},
2939+
"default": true,
2940+
"p_name": null,
2941+
"size": 0x40000,
2942+
"start": 0x20200000, // This is the CM7's address for this memory, the CM4 would use 0x1FFE0000
2943+
"startup": false
2944+
}
2945+
},
2946+
"name": "MIMXRT1176DVMAA",
2947+
"processors": [
2948+
{
2949+
"address": null,
2950+
"ap": 1,
2951+
"apid": null,
2952+
"core": "CortexM4",
2953+
"default_reset_sequence": null,
2954+
"dp": 0,
2955+
"fpu": "SinglePrecision",
2956+
"mpu": "Present",
2957+
"name": "cm4",
2958+
"svd": "devices/MIMXRT1176/MIMXRT1176_cm4.xml",
2959+
},
2960+
{
2961+
"address": null,
2962+
"ap": 0,
2963+
"apid": null,
2964+
"core": "CortexM7",
2965+
"default_reset_sequence": null,
2966+
"dp": 0,
2967+
"fpu": "DoublePrecision",
2968+
"mpu": "Present",
2969+
"name": "cm7",
2970+
"svd": "devices/MIMXRT1176/MIMXRT1176_cm7.xml",
2971+
"unit": 0
2972+
}
2973+
],
2974+
"sub_family": null,
2975+
"vendor": "NXP:11"
2976+
},
28262977
"MK22FN512VLH12": {
28272978
"algorithms": [
28282979
{

targets/targets.json5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5456,6 +5456,7 @@
54565456
"small"
54575457
]
54585458
},
5459+
"device_name": "MIMXRT1176DVMAA",
54595460
"image_url": "https://www.nxp.com/assets/images/en/dev-board-image/MIMXRT1170-EVKB-TOP-IMG.jpg"
54605461
},
54615462

0 commit comments

Comments
 (0)