Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Mcu/a153/Inc/blutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#define GPIO_OUTPUT_PUSH_PULL 3 //This variable is unused for MCXA153 but needed to build main.c

#define GPIO_PIN(n) (1U<<(n))
#define GPIO_PIN(n) (n)
#define input_GPIO ((GPIO_Type*)(GPIO0_BASE+(0x1000*PORT_LETTER)))

// Link STM GPIO and PORT to NXP ones
Expand Down
2 changes: 1 addition & 1 deletion Mcu/a153/MCXA_FLASH.ld
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MEMORY
{
PROGRAM_FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x4000 - 32 /* 16K bytes for bootloader */
DEVINFO (r) : ORIGIN = ORIGIN(PROGRAM_FLASH) + LENGTH(PROGRAM_FLASH), LENGTH = 32
EEPROM (rx) : ORIGIN = 0x20000 - 0x2000, LENGTH = 0x2000
EEPROM (rx) : ORIGIN = 0x10000 - 0x2000, LENGTH = 0x2000
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x6000 /* 24K bytes (alias RAM) */
SRAMX0 (rwx) : ORIGIN = 0x4000000, LENGTH = 0x2000 /* 8K bytes (alias RAM2) */
SRAMX1 (rwx) : ORIGIN = 0x4002000, LENGTH = 0x1000 /* 4K bytes (alias RAM3) */
Expand Down
Loading