Skip to content

Commit

Permalink
Merge pull request #2109 from hathach/typec-rename
Browse files Browse the repository at this point in the history
Typec rename
  • Loading branch information
hathach authored Jun 14, 2023
2 parents 365c416 + 31a66eb commit 4e61eb6
Show file tree
Hide file tree
Showing 17 changed files with 596 additions and 65 deletions.
14 changes: 8 additions & 6 deletions .idea/cmake.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations/mcx947_jlink.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/rp2040.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/rt1010_jlink.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/rt1060_jlink.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/stm32g474_jlink.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions hw/bsp/mcx/boards/mcxn947brk/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function(update_board TARGET)
CPU_MCXN947VDF_cm33_core0
# port 1 is highspeed
BOARD_TUD_RHPORT=1
BOARD_TUD_MAX_SPEED=OPT_MODE_HIGH_SPEED
)
target_sources(${TARGET} PUBLIC
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c
Expand Down
6 changes: 3 additions & 3 deletions hw/bsp/mcx/boards/mcxn947brk/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PORT ?= 1

CFLAGS += -DCPU_MCXN947VDF_cm33_core0

JLINK_DEVICE = LPC55S69
PYOCD_TARGET = LPC55S69
JLINK_DEVICE = MCXN947_M33_0
PYOCD_TARGET = MCXN947

# flash using pyocd
flash: flash-pyocd
flash: flash-jlink
2 changes: 1 addition & 1 deletion hw/bsp/mcx/family.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake)
set(CMAKE_SYSTEM_PROCESSOR cortex-m33 CACHE INTERNAL "System Processor")
set(CMAKE_TOOLCHAIN_FILE ${TOP}/tools/cmake/toolchain/arm_${TOOLCHAIN}.cmake)

set(FAMILY_MCUS LPC55XX CACHE INTERNAL "")
set(FAMILY_MCUS MCXN9 CACHE INTERNAL "")

# enable LTO if supported
include(CheckIPOSupported)
Expand Down
5 changes: 5 additions & 0 deletions hw/bsp/mcx/mcx.jlinkscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
int SetupTarget(void) {
JLINK_ExecCommand("SetRTTSearchRanges 0x20000000 0x40000");

return 0;
}
Loading

0 comments on commit 4e61eb6

Please sign in to comment.