diff --git a/boards/renesas/rx65n/rx65n/configs/nsh/defconfig b/boards/renesas/rx65n/rx65n/configs/nsh/defconfig index af38345ee0..bc322f8ffd 100644 --- a/boards/renesas/rx65n/rx65n/configs/nsh/defconfig +++ b/boards/renesas/rx65n/rx65n/configs/nsh/defconfig @@ -5,20 +5,19 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -CONFIG_ARCH_BOARD_RX65N=y +CONFIG_ARCH="renesas" CONFIG_ARCH_BOARD="rx65n" +CONFIG_ARCH_BOARD_RX65N=y +CONFIG_ARCH_CHIP="rx65n" CONFIG_ARCH_CHIP_R5F565NEDDFC=y +CONFIG_ARCH_INTERRUPTSTACK=1024 CONFIG_ARCH_RENESAS=y CONFIG_ARCH_STACKDUMP=y -CONFIG_ARCH="renesas" -CONFIG_MOTOROLA_SREC=y -CONFIG_ENDIAN_LITTLE=y -CONFIG_SYSTEM_NSH=y -CONFIG_MAX_TASKS=8 +CONFIG_BUILTIN=y CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_SYMBOLS=y -CONFIG_ARCH_INTERRUPTSTACK=1024 -CONFIG_BUILTIN=y +CONFIG_MAX_TASKS=8 +CONFIG_MOTOROLA_SREC=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_LINELEN=64 @@ -29,13 +28,11 @@ CONFIG_PTHREAD_STACK_DEFAULT=1024 CONFIG_RAM_SIZE=262144 CONFIG_RAM_START=0x00000000 CONFIG_RAW_BINARY=y -CONFIG_SCI2_SERIALDRIVER=y -CONFIG_SCI2_SERIAL_CONSOLE=y CONFIG_RX65N_SCI2=y +CONFIG_SCI2_SERIAL_CONSOLE=y CONFIG_SDCLONE_DISABLE=y -CONFIG_ICU=y CONFIG_STDIO_DISABLE_BUFFERING=y +CONFIG_SYSTEM_NSH=y CONFIG_TASK_NAME_SIZE=0 -CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_USERMAIN_STACKSIZE=1024 - +CONFIG_USER_ENTRYPOINT="nsh_main" diff --git a/boards/renesas/rx65n/rx65n/scripts/Make.defs b/boards/renesas/rx65n/rx65n/scripts/Make.defs index 4694e7c0db..ac2bbe4db4 100644 --- a/boards/renesas/rx65n/rx65n/scripts/Make.defs +++ b/boards/renesas/rx65n/rx65n/scripts/Make.defs @@ -42,6 +42,18 @@ else ARCHSCRIPT = -T$(BOARD_DIR)$(DELIM)scripts$(DELIM)linker_script.ld endif +CROSSDEV = rx-elf- +CC = $(CROSSDEV)gcc +CXX = $(CROSSDEV)g++ +CPP = $(CROSSDEV)gcc -E -P -x c +LD = $(CROSSDEV)ld +STRIP = $(CROSSDEV)strip --strip-unneeded +AR = $(CROSSDEV)ar rcs +AS = $(CROSSDEV)as +NM = $(CROSSDEV)nm +OBJCOPY = $(CROSSDEV)objcopy +OBJDUMP = $(CROSSDEV)objdump + ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g endif