Skip to content

Commit

Permalink
support FRDM-MCXA156
Browse files Browse the repository at this point in the history
  • Loading branch information
shannon2000 authored and Rbb666 committed Feb 6, 2025
1 parent 8629c95 commit 8735817
Show file tree
Hide file tree
Showing 146 changed files with 135,645 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bsp_buildings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ jobs:
- "nxp/mcx/mcxn/frdm-mcxn947"
- "nxp/mcx/mcxn/frdm-mcxn236"
- "nxp/mcx/mcxa/frdm-mcxa153"
- "nxp/mcx/mcxa/frdm-mcxa156"
- "renesas/ebf_qi_min_6m5"
- "renesas/ra6m4-cpk"
- "renesas/ra6m4-iot"
Expand Down
38,660 changes: 38,660 additions & 0 deletions bsp/nxp/mcx/mcxa/Libraries/MCXA156/MCXA156/MCXA156.h

Large diffs are not rendered by default.

793 changes: 793 additions & 0 deletions bsp/nxp/mcx/mcxa/Libraries/MCXA156/MCXA156/MCXA156_features.h

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions bsp/nxp/mcx/mcxa/Libraries/MCXA156/MCXA156/arm/MCXA156_flash.scf
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#!armclang --target=arm-arm-none-eabi -march=armv8-m.main -E -x c
/*
** ###################################################################
** Processors: MCXA156VLL
** MCXA156VMP
** MCXA156VPJ
**
** Compiler: Keil ARM C/C++ Compiler
** Reference manual: MCXA18 User manual
** Version: rev. 1.0, 2022-03-29
** Build: b240104
**
** Abstract:
** Linker file for the Keil ARM C/C++ Compiler
**
** Copyright 2016 Freescale Semiconductor, Inc.
** Copyright 2016-2024 NXP
** SPDX-License-Identifier: BSD-3-Clause
**
** http: www.nxp.com
** mail: [email protected]
**
** ###################################################################
*/


/* Sizes */
#if (defined(__stack_size__))
#define Stack_Size __stack_size__
#else
#define Stack_Size 0x0400
#endif

#if (defined(__heap_size__))
#define Heap_Size __heap_size__
#else
#define Heap_Size 0x0400
#endif

#define m_interrupts_start 0x00000000
#define m_interrupts_size 0x00000200

#define m_text_start 0x00000200
#define m_text_size 0x000FFE00

#define m_data_start 0x20000000
#define m_data_size 0x0001E000

#define m_sramx0_start 0x04000000;
#define m_sramx0_size 0x00002000;

LR_m_text m_interrupts_start m_interrupts_size+m_text_size { ; load region size_region

VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address
* (.isr_vector,+FIRST)
}

ER_m_text m_text_start FIXED m_text_size { ; load address = execution address
* (InRoot$$Sections)
.ANY (+RO)
}

RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data
.ANY (+RW +ZI)
}
ARM_LIB_HEAP +0 EMPTY Heap_Size { ; Heap region growing up
}
ARM_LIB_STACK m_data_start+m_data_size EMPTY -Stack_Size { ; Stack region growing down
}

}
68 changes: 68 additions & 0 deletions bsp/nxp/mcx/mcxa/Libraries/MCXA156/MCXA156/arm/MCXA156_ram.scf
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!armclang --target=arm-arm-none-eabi -march=armv8-m.main -E -x c
/*
** ###################################################################
** Processors: MCXA156VLL
** MCXA156VMP
** MCXA156VPJ
**
** Compiler: Keil ARM C/C++ Compiler
** Reference manual: MCXA18 User manual
** Version: rev. 1.0, 2022-03-29
** Build: b240104
**
** Abstract:
** Linker file for the Keil ARM C/C++ Compiler
**
** Copyright 2016 Freescale Semiconductor, Inc.
** Copyright 2016-2024 NXP
** SPDX-License-Identifier: BSD-3-Clause
**
** http: www.nxp.com
** mail: [email protected]
**
** ###################################################################
*/


/* Sizes */
#if (defined(__stack_size__))
#define Stack_Size __stack_size__
#else
#define Stack_Size 0x0400
#endif

#if (defined(__heap_size__))
#define Heap_Size __heap_size__
#else
#define Heap_Size 0x0400
#endif

#define m_interrupts_start 0x20000000
#define m_interrupts_size 0x00000200

#define m_text_start 0x20000200
#define m_text_size 0x00005E00

#define m_data_start 0x20006000
#define m_data_size 0x00018000

LR_m_text m_interrupts_start m_interrupts_size+m_text_size { ; load region size_region

VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address
* (.isr_vector,+FIRST)
}

ER_m_text m_text_start FIXED m_text_size { ; load address = execution address
* (InRoot$$Sections)
.ANY (+RO)
}

RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data
.ANY (+RW +ZI)
}
ARM_LIB_HEAP +0 EMPTY Heap_Size { ; Heap region growing up
}
ARM_LIB_STACK m_data_start+m_data_size EMPTY -Stack_Size { ; Stack region growing down
}

}
18 changes: 18 additions & 0 deletions bsp/nxp/mcx/mcxa/Libraries/MCXA156/MCXA156/arm/MCXA15X.dbgconf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// <<< Use Configuration Wizard in Context Menu >>>

// <o0> SWO pin
// <i> The SWO (Serial Wire Output) pin optionally provides data from the ITM
// <i> for an external debug tool to evaluate.
// <0=> PIO0_10
// <1=> PIO0_8
SWO_Pin = 0;
//

// <h>Debug Configuration
// <o.0> StopAfterBootloader <i> Stop after Bootloader
// </h>
Dbg_CR = 0x00000001;
//


// <<< end of configuration section >>>
Binary file not shown.
Loading

0 comments on commit 8735817

Please sign in to comment.