| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,7 +107,7 @@ CONFIG_SOC_R7SA6W1CED=y | |||
| 107 | 107 | # end of rt_strnlen options | |
| 108 | 108 | # end of klibc options | |
| 109 | 109 | ||
| 110 | - CONFIG_RT_NAME_MAX=12 | ||
| 110 | + CONFIG_RT_NAME_MAX=32 | ||
| 111 | 111 | # CONFIG_RT_USING_ARCH_DATA_TYPE is not set | |
| 112 | 112 | # CONFIG_RT_USING_NANO is not set | |
| 113 | 113 | # CONFIG_RT_USING_SMART is not set | |
@@ -126,10 +126,10 @@ CONFIG_RT_HOOK_USING_FUNC_PTR=y | |||
| 126 | 126 | # CONFIG_RT_USING_HOOKLIST is not set | |
| 127 | 127 | CONFIG_RT_USING_IDLE_HOOK=y | |
| 128 | 128 | CONFIG_RT_IDLE_HOOK_LIST_SIZE=4 | |
| 129 | - CONFIG_IDLE_THREAD_STACK_SIZE=256 | ||
| 129 | + CONFIG_IDLE_THREAD_STACK_SIZE=512 | ||
| 130 | 130 | CONFIG_RT_USING_TIMER_SOFT=y | |
| 131 | 131 | CONFIG_RT_TIMER_THREAD_PRIO=4 | |
| 132 | - CONFIG_RT_TIMER_THREAD_STACK_SIZE=512 | ||
| 132 | + CONFIG_RT_TIMER_THREAD_STACK_SIZE=1024 | ||
| 133 | 133 | # CONFIG_RT_USING_TIMER_ALL_SOFT is not set | |
| 134 | 134 | # CONFIG_RT_USING_CPU_USAGE_TRACER is not set | |
| 135 | 135 | ||
@@ -171,7 +171,7 @@ CONFIG_RT_USING_SMALL_MEM_AS_HEAP=y | |||
| 171 | 171 | # CONFIG_RT_USING_USERHEAP is not set | |
| 172 | 172 | # CONFIG_RT_USING_NOHEAP is not set | |
| 173 | 173 | # CONFIG_RT_USING_MEMTRACE is not set | |
| 174 | - # CONFIG_RT_USING_HEAP_ISR is not set | ||
| 174 | + CONFIG_RT_USING_HEAP_ISR=y | ||
| 175 | 175 | CONFIG_RT_USING_HEAP=y | |
| 176 | 176 | # end of Memory Management | |
| 177 | 177 | ||
@@ -183,7 +183,7 @@ CONFIG_RT_USING_CONSOLE=y | |||
| 183 | 183 | CONFIG_RT_CONSOLEBUF_SIZE=128 | |
| 184 | 184 | CONFIG_RT_CONSOLE_DEVICE_NAME="uart0" | |
| 185 | 185 | CONFIG_RT_USING_CONSOLE_OUTPUT_CTL=y | |
| 186 | - CONFIG_RT_VER_NUM=0x50300 | ||
| 186 | + CONFIG_RT_VER_NUM=0x50301 | ||
| 187 | 187 | # CONFIG_RT_USING_STDC_ATOMIC is not set | |
| 188 | 188 | CONFIG_RT_BACKTRACE_LEVEL_MAX_NR=32 | |
| 189 | 189 | # end of RT-Thread Kernel | |
@@ -229,7 +229,12 @@ CONFIG_FINSH_USING_OPTION_COMPLETION=y | |||
| 229 | 229 | # CONFIG_RT_USING_DFS is not set | |
| 230 | 230 | # end of DFS: device virtual file system | |
| 231 | 231 | ||
| 232 | - # CONFIG_RT_USING_FAL is not set | ||
| 232 | + CONFIG_RT_USING_FAL=y | ||
| 233 | + CONFIG_FAL_USING_DEBUG=y | ||
| 234 | + CONFIG_FAL_PART_HAS_TABLE_CFG=y | ||
| 235 | + # CONFIG_FAL_USING_SFUD_PORT is not set | ||
| 236 | + CONFIG_FAL_DEV_NAME_MAX=24 | ||
| 237 | + CONFIG_FAL_DEV_BLK_MAX=6 | ||
| 233 | 238 | ||
| 234 | 239 | # | |
| 235 | 240 | # Device Drivers | |
@@ -238,7 +243,9 @@ CONFIG_FINSH_USING_OPTION_COMPLETION=y | |||
| 238 | 243 | # CONFIG_RT_USING_DEV_BUS is not set | |
| 239 | 244 | CONFIG_RT_USING_DEVICE_IPC=y | |
| 240 | 245 | CONFIG_RT_UNAMED_PIPE_NUMBER=64 | |
| 241 | - # CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set | ||
| 246 | + CONFIG_RT_USING_SYSTEM_WORKQUEUE=y | ||
| 247 | + CONFIG_RT_SYSTEM_WORKQUEUE_STACKSIZE=2048 | ||
| 248 | + CONFIG_RT_SYSTEM_WORKQUEUE_PRIORITY=15 | ||
| 242 | 249 | CONFIG_RT_USING_SERIAL=y | |
| 243 | 250 | # CONFIG_RT_USING_SERIAL_V1 is not set | |
| 244 | 251 | CONFIG_RT_USING_SERIAL_V2=y | |
@@ -1473,7 +1480,7 @@ CONFIG_BSP_UART0_TX_BUFSIZE=0 | |||
| 1473 | 1480 | # | |
| 1474 | 1481 | # On-chip Peripheral Port | |
| 1475 | 1482 | # | |
| 1476 | - # CONFIG_BSP_USING_OSPI_FLASH is not set | ||
| 1483 | + CONFIG_BSP_USING_OSPI_FLASH=y | ||
| 1477 | 1484 | # CONFIG_BSP_USING_QSPI_PSRAM is not set | |
| 1478 | 1485 | # end of On-chip Peripheral Port | |
| 1479 | 1486 | # end of Hardware Drivers Config | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,35 @@ | |||
| 1 | + /* | ||
| 2 | + * Copyright (c) 2006-2026, RT-Thread Development Team | ||
| 3 | + * | ||
| 4 | + * SPDX-License-Identifier: Apache-2.0 | ||
| 5 | + * | ||
| 6 | + * Change Logs: | ||
| 7 | + * Date Author Notes | ||
| 8 | + * 2026-09-21 rcitach INITIAL VERSION | ||
| 9 | + */ | ||
| 10 | + | ||
| 11 | + | ||
| 12 | + #ifndef __RA6W1_PIN_EXT_H__ | ||
| 13 | + #define __RA6W1_PIN_EXT_H__ | ||
| 14 | + | ||
| 15 | + #ifdef EXTRA_IO_INCLUDE | ||
| 16 | + #define RA6W1_PIN_INCLUDE_FILE_(name) <name> | ||
| 17 | + #define RA6W1_PIN_INCLUDE_FILE(name) RA6W1_PIN_INCLUDE_FILE_(name) | ||
| 18 | + #include RA6W1_PIN_INCLUDE_FILE(EXTRA_IO_INCLUDE) | ||
| 19 | + #undef RA6W1_PIN_INCLUDE_FILE | ||
| 20 | + #undef RA6W1_PIN_INCLUDE_FILE_ | ||
| 21 | + #endif | ||
| 22 | + | ||
| 23 | + #ifndef RA6W1_PIN_CFG_EXTRA | ||
| 24 | + #define RA6W1_PIN_CFG_EXTRA | ||
| 25 | + #endif | ||
| 26 | + | ||
| 27 | + #ifndef RA6W1_PIN_NAME_EXTRA | ||
| 28 | + #define RA6W1_PIN_NAME_EXTRA | ||
| 29 | + #endif | ||
| 30 | + | ||
| 31 | + #ifndef RA6W1_PIN_COUNT_EXTRA | ||
| 32 | + #define RA6W1_PIN_COUNT_EXTRA 0 | ||
| 33 | + #endif | ||
| 34 | + | ||
| 35 | + #endif /* __RA6W1_PIN_EXT_H__ */ | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,9 @@ CPPPATH = [cwd + "/arm/CMSIS_6/CMSIS/Core/Include", | |||
| 14 | 14 | cwd + "/fsp/src/bsp_w/cmsis/Device/RENESAS/Include", | |
| 15 | 15 | cwd + "/fsp/src/bsp_w/mcu/all", | |
| 16 | 16 | cwd + "/fsp/src/bsp_w/mcu/ra6w1", | |
| 17 | - cwd + "/fsp/src/bsp_w/mcu/ra6w1/config"] | ||
| 17 | + cwd + "/fsp/src/bsp_w/mcu/ra6w1/config", | ||
| 18 | + cwd + "/fsp/src/bsp_w/mcu/ra6w1/config/include", | ||
| 19 | + ] | ||
| 18 | 20 | ||
| 19 | 21 | src += Glob("./board/rrq61xxx_evb/*.c") | |
| 20 | 22 | src += Glob("./fsp/src/bsp_w/cmsis/Device/RENESAS/Source/*.c") | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,7 @@ | |||
| 6 | 6 | #include "bsp_api.h" | |
| 7 | 7 | #include "hal_data.h" | |
| 8 | 8 | #include "r_gpio_w.h" | |
| 9 | + #include "ra6w1_pin_ext.h" | ||
| 9 | 10 | ||
| 10 | 11 | ioport_pin_cfg_t g_bsp_pin_cfg_data[] = | |
| 11 | 12 | { | |
@@ -258,6 +259,7 @@ ioport_pin_cfg_t g_bsp_pin_cfg_data[] = | |||
| 258 | 259 | GPIO_W_CFG_PORT_DIRECTION_INPUT | GPIO_W_CFG_SLW_FAST, | |
| 259 | 260 | }, | |
| 260 | 261 | #endif | |
| 262 | + RA6W1_PIN_CFG_EXTRA | ||
| 261 | 263 | { | |
| 262 | 264 | .pin = BSP_IO_PORT_01_PIN_16, | |
| 263 | 265 | .pin_cfg = GPIO_W_CFG_PERIPHERAL_PIN | GPIO_W_CFG_PORT_DIRECTION_INPUT | | |
@@ -355,6 +357,7 @@ static const char * const g_bsp_pin_cfg_name[] = | |||
| 355 | 357 | "qspi.io2", | |
| 356 | 358 | "qspi.io3", | |
| 357 | 359 | #endif | |
| 360 | + RA6W1_PIN_NAME_EXTRA | ||
| 358 | 361 | "swd.swclk", | |
| 359 | 362 | "swd.swdio", | |
| 360 | 363 | }; | |
@@ -640,7 +643,7 @@ void ra_w_pin_config_init(void) | |||
| 640 | 643 | #ifdef BSP_USING_QSPI | |
| 641 | 644 | index += 6; | |
| 642 | 645 | #endif | |
| 643 | - | ||
| 646 | + index += RA6W1_PIN_COUNT_EXTRA; | ||
| 644 | 647 | /* SWD pins are fixed and are always the last two entries. */ | |
| 645 | 648 | index += 2; | |
| 646 | 649 | if (index != RA_W_PIN_CFG_COUNT) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,7 +63,7 @@ | |||
| 63 | 63 | ||
| 64 | 64 | /* end of rt_strnlen options */ | |
| 65 | 65 | /* end of klibc options */ | |
| 66 | - #define RT_NAME_MAX 12 | ||
| 66 | + #define RT_NAME_MAX 32 | ||
| 67 | 67 | #define RT_CPUS_NR 1 | |
| 68 | 68 | #define RT_ALIGN_SIZE 8 | |
| 69 | 69 | #define RT_THREAD_PRIORITY_32 | |
@@ -74,10 +74,10 @@ | |||
| 74 | 74 | #define RT_HOOK_USING_FUNC_PTR | |
| 75 | 75 | #define RT_USING_IDLE_HOOK | |
| 76 | 76 | #define RT_IDLE_HOOK_LIST_SIZE 4 | |
| 77 | - #define IDLE_THREAD_STACK_SIZE 256 | ||
| 77 | + #define IDLE_THREAD_STACK_SIZE 512 | ||
| 78 | 78 | #define RT_USING_TIMER_SOFT | |
| 79 | 79 | #define RT_TIMER_THREAD_PRIO 4 | |
| 80 | - #define RT_TIMER_THREAD_STACK_SIZE 512 | ||
| 80 | + #define RT_TIMER_THREAD_STACK_SIZE 1024 | ||
| 81 | 81 | ||
| 82 | 82 | /* kservice options */ | |
| 83 | 83 | ||
@@ -100,14 +100,15 @@ | |||
| 100 | 100 | ||
| 101 | 101 | #define RT_USING_SMALL_MEM | |
| 102 | 102 | #define RT_USING_SMALL_MEM_AS_HEAP | |
| 103 | + #define RT_USING_HEAP_ISR | ||
| 103 | 104 | #define RT_USING_HEAP | |
| 104 | 105 | /* end of Memory Management */ | |
| 105 | 106 | #define RT_USING_DEVICE | |
| 106 | 107 | #define RT_USING_CONSOLE | |
| 107 | 108 | #define RT_CONSOLEBUF_SIZE 128 | |
| 108 | 109 | #define RT_CONSOLE_DEVICE_NAME "uart0" | |
| 109 | 110 | #define RT_USING_CONSOLE_OUTPUT_CTL | |
| 110 | - #define RT_VER_NUM 0x50300 | ||
| 111 | + #define RT_VER_NUM 0x50301 | ||
| 111 | 112 | #define RT_BACKTRACE_LEVEL_MAX_NR 32 | |
| 112 | 113 | /* end of RT-Thread Kernel */ | |
| 113 | 114 | #define RT_USING_HW_ATOMIC | |
@@ -142,11 +143,19 @@ | |||
| 142 | 143 | /* DFS: device virtual file system */ | |
| 143 | 144 | ||
| 144 | 145 | /* end of DFS: device virtual file system */ | |
| 146 | + #define RT_USING_FAL | ||
| 147 | + #define FAL_USING_DEBUG | ||
| 148 | + #define FAL_PART_HAS_TABLE_CFG | ||
| 149 | + #define FAL_DEV_NAME_MAX 24 | ||
| 150 | + #define FAL_DEV_BLK_MAX 6 | ||
| 145 | 151 | ||
| 146 | 152 | /* Device Drivers */ | |
| 147 | 153 | ||
| 148 | 154 | #define RT_USING_DEVICE_IPC | |
| 149 | 155 | #define RT_UNAMED_PIPE_NUMBER 64 | |
| 156 | + #define RT_USING_SYSTEM_WORKQUEUE | ||
| 157 | + #define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048 | ||
| 158 | + #define RT_SYSTEM_WORKQUEUE_PRIORITY 15 | ||
| 150 | 159 | #define RT_USING_SERIAL | |
| 151 | 160 | #define RT_USING_SERIAL_V2 | |
| 152 | 161 | #define RT_SERIAL_BUF_STRATEGY_OVERWRITE | |
@@ -430,6 +439,7 @@ | |||
| 430 | 439 | ||
| 431 | 440 | /* On-chip Peripheral Port */ | |
| 432 | 441 | ||
| 442 | + #define BSP_USING_OSPI_FLASH | ||
| 433 | 443 | /* end of On-chip Peripheral Port */ | |
| 434 | 444 | /* end of Hardware Drivers Config */ | |
| 435 | 445 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,7 @@ | |||
| 40 | 40 | DEVICE = ' -mcpu=cortex-m33 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections' | |
| 41 | 41 | CFLAGS = DEVICE + ' -Dgcc' | |
| 42 | 42 | AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb ' | |
| 43 | - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T script/fsp.ld -L script/' | ||
| 43 | + LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler,--no-warn-execstack -T script/fsp.ld -L script/' | ||
| 44 | 44 | ||
| 45 | 45 | CPATH = '' | |
| 46 | 46 | LPATH = '' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | 1 | INCLUDE memory_regions.ld | |
| 2 | + INCLUDE rom_code_gcc.symbols | ||
| 2 | 3 | MEMORY | |
| 3 | 4 | { | |
| 4 | 5 | RAM (rwx) : ORIGIN = RAM_START, LENGTH = RAM_LENGTH | |
@@ -382,4 +383,3 @@ PROVIDE( _end = __HeapBase); | |||
| 382 | 383 | PROVIDE( __end__ = __HeapBase); | |
| 383 | 384 | ||
| 384 | 385 | ASSERT(__HeapBase <= __HeapLimit, "RAM overflow: no space left for RT-Thread heap"); | |
| 385 | - | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments