Skip to content

Commit 4e61eb6

Browse files
authored
Merge pull request hathach#2109 from hathach/typec-rename
Typec rename
2 parents 365c416 + 31a66eb commit 4e61eb6

File tree

17 files changed

+596
-65
lines changed

17 files changed

+596
-65
lines changed

.idea/cmake.xml

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/mcx947_jlink.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/rp2040.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/rt1010_jlink.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/rt1060_jlink.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/stm32g474_jlink.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hw/bsp/mcx/boards/mcxn947brk/board.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function(update_board TARGET)
1010
CPU_MCXN947VDF_cm33_core0
1111
# port 1 is highspeed
1212
BOARD_TUD_RHPORT=1
13+
BOARD_TUD_MAX_SPEED=OPT_MODE_HIGH_SPEED
1314
)
1415
target_sources(${TARGET} PUBLIC
1516
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c

hw/bsp/mcx/boards/mcxn947brk/board.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ PORT ?= 1
44

55
CFLAGS += -DCPU_MCXN947VDF_cm33_core0
66

7-
JLINK_DEVICE = LPC55S69
8-
PYOCD_TARGET = LPC55S69
7+
JLINK_DEVICE = MCXN947_M33_0
8+
PYOCD_TARGET = MCXN947
99

1010
# flash using pyocd
11-
flash: flash-pyocd
11+
flash: flash-jlink

hw/bsp/mcx/family.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake)
1414
set(CMAKE_SYSTEM_PROCESSOR cortex-m33 CACHE INTERNAL "System Processor")
1515
set(CMAKE_TOOLCHAIN_FILE ${TOP}/tools/cmake/toolchain/arm_${TOOLCHAIN}.cmake)
1616

17-
set(FAMILY_MCUS LPC55XX CACHE INTERNAL "")
17+
set(FAMILY_MCUS MCXN9 CACHE INTERNAL "")
1818

1919
# enable LTO if supported
2020
include(CheckIPOSupported)

hw/bsp/mcx/mcx.jlinkscript

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
int SetupTarget(void) {
2+
JLINK_ExecCommand("SetRTTSearchRanges 0x20000000 0x40000");
3+
4+
return 0;
5+
}

0 commit comments

Comments
 (0)