Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
编译错误
RA8-M85-vision-board
RT-Thread Studio 编译OpenMV 工程出错 (RA8 Vision Board)
发布于 2024-04-08 11:43:57 浏览:555
订阅该版
我的问题是: 难道不能用RT-Thread编译么? 一定要用Keil来编译么? 谢谢! ========================== ``` 10:03:03 **** Incremental Build of configuration Debug for project project **** make -j8 all arm-none-eabi-gcc "../src/hal_entry.c" arm-none-eabi-gcc "../rt-thread/src/clock.c" arm-none-eabi-gcc "../rt-thread/src/components.c" arm-none-eabi-gcc "../rt-thread/src/idle.c" arm-none-eabi-gcc "../rt-thread/src/ipc.c" arm-none-eabi-gcc "../rt-thread/src/irq.c" arm-none-eabi-gcc "../rt-thread/src/kservice.c" arm-none-eabi-gcc "../rt-thread/src/memheap.c" arm-none-eabi-gcc "../rt-thread/src/mempool.c" arm-none-eabi-gcc "../rt-thread/src/object.c" arm-none-eabi-gcc "../rt-thread/src/scheduler_up.c" In file included from C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\omv\imlib/imlib.h:21, from C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\omv\imlib/framebuffer.h:14, from ../src/hal_entry.c:28: C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/arm_math.h:324: warning: "__FPU_PRESENT" redefined 324 | #define __FPU_PRESENT 1 | In file included from
: C:\RT-ThreadStudio\workspace\project\rtconfig_preinc.h:17: note: this is the location of the previous definition 17 | #define __FPU_PRESENT | arm-none-eabi-gcc "../rt-thread/src/thread.c" arm-none-eabi-gcc "../rt-thread/src/timer.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/cortex-m85/cpuport.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/common/atomic_arm.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/common/div0.c" arm-none-eabi-gcc "../rt-thread/libcpu/arm/common/showmem.c" In file included from C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\omv\imlib/framebuffer.h:14, from ../src/hal_entry.c:28: C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\omv\imlib/imlib.h:96:13: warning: conflicting types for built-in function 'isinff'; expected 'int(float)' [-Wbuiltin-declaration-mismatch] 96 | inline bool isinff(float arg) | ^~~~~~ C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\omv\imlib/imlib.h:101:13: warning: conflicting types for built-in function 'isnanf'; expected 'int(float)' [-Wbuiltin-declaration-mismatch] 101 | inline bool isnanf(float arg) | ^~~~~~ In file included from ../src/hal_entry.c:36: C:\RT-ThreadStudio\workspace\project\packages\micropython-v1.13.0\port/mpy_main.h:32:32: warning: 'struct dfs_fdtable' declared inside parameter list will not be visible outside of this definition or declaration 32 | int mp_sys_resource_bak(struct dfs_fdtable **table_bak); | ^~~~~~~~~~~ C:\RT-ThreadStudio\workspace\project\packages\micropython-v1.13.0\port/mpy_main.h:33:32: warning: 'struct dfs_fdtable' declared inside parameter list will not be visible outside of this definition or declaration 33 | void mp_sys_resource_gc(struct dfs_fdtable *fd_table_bak); | ^~~~~~~~~~~ In file included from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../src/hal_entry.c:39: C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:32:125: warning: backslash and newline separated by space 32 | {FAL_PART_MAGIC_WROD, "boot", "onchip_flash_hp0", 0, BSP_FEATURE_FLASH_HP_CF_REGION0_SIZE, 0}, \ | ../src/hal_entry.c: In function 'omv_entry': ../src/hal_entry.c:126:25: warning: passing argument 1 of 'mp_sys_resource_bak' from incompatible pointer type [-Wincompatible-pointer-types] 126 | mp_sys_resource_bak(&fd_table_bak); | ^~~~~~~~~~~~~ | | | struct dfs_fdtable ** In file included from ../src/hal_entry.c:36: C:\RT-ThreadStudio\workspace\project\packages\micropython-v1.13.0\port/mpy_main.h:32:46: note: expected 'struct dfs_fdtable **' but argument is of type 'struct dfs_fdtable **' 32 | int mp_sys_resource_bak(struct dfs_fdtable **table_bak); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../src/hal_entry.c:245:24: warning: passing argument 1 of 'mp_sys_resource_gc' from incompatible pointer type [-Wincompatible-pointer-types] 245 | mp_sys_resource_gc(fd_table_bak); | ^~~~~~~~~~~~ | | | struct dfs_fdtable * In file included from ../src/hal_entry.c:36: C:\RT-ThreadStudio\workspace\project\packages\micropython-v1.13.0\port/mpy_main.h:33:45: note: expected 'struct dfs_fdtable *' but argument is of type 'struct dfs_fdtable *' 33 | void mp_sys_resource_gc(struct dfs_fdtable *fd_table_bak); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ arm-none-eabi-gcc "../rt-thread/components/net/sal/src/sal_socket.c" arm-none-eabi-gcc "../rt-thread/components/net/sal/socket/net_netdb.c" arm-none-eabi-gcc "../rt-thread/components/net/sal/socket/net_sockets.c" arm-none-eabi-gcc "../rt-thread/components/net/sal/impl/af_inet_lwip.c" arm-none-eabi-gcc "../rt-thread/components/net/sal/dfs_net/dfs_net.c" arm-none-eabi-gcc "../rt-thread/components/net/netdev/src/netdev.c" arm-none-eabi-gcc "../rt-thread/components/net/netdev/src/netdev_ipaddr.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/port/ethernetif.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/port/sys_arch.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/netif/ethernet.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/netif/lowpan6.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/autoip.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/dhcp.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/etharp.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/icmp.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/igmp.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/ip4.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/ip4_addr.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ipv4/ip4_frag.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/def.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/dns.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/inet_chksum.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/init.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/ip.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/memp.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/netif.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/pbuf.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/raw.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/stats.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/sys.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/tcp.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/tcp_in.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/tcp_out.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/timeouts.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/core/udp.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/apps/ping/ping.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/api_lib.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/api_msg.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/err.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/netbuf.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/netdb.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/netifapi.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/sockets.c" arm-none-eabi-gcc "../rt-thread/components/net/lwip/lwip-2.0.3/src/api/tcpip.c" arm-none-eabi-gcc "../rt-thread/components/libc/cplusplus/cxx_crt_init.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/newlib/syscalls.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/cctype.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/cstdlib.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/cstring.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/ctime.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/cunistd.c" arm-none-eabi-gcc "../rt-thread/components/libc/compilers/common/cwchar.c" arm-none-eabi-gcc "../rt-thread/components/finsh/cmd.c" arm-none-eabi-gcc "../rt-thread/components/finsh/msh.c" arm-none-eabi-gcc "../rt-thread/components/finsh/msh_file.c" arm-none-eabi-gcc "../rt-thread/components/finsh/msh_parse.c" arm-none-eabi-gcc "../rt-thread/components/finsh/shell.c" arm-none-eabi-gcc "../rt-thread/components/fal/src/fal.c" arm-none-eabi-gcc "../rt-thread/components/fal/src/fal_flash.c" arm-none-eabi-gcc "../rt-thread/components/fal/src/fal_partition.c" In file included from C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_compiler.h:48, from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:47, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal.c:11: C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__get_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:773:49: error: operator '==' has no left operand 773 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__set_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:799:49: error: operator '==' has no left operand 799 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ In file included from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:117, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal.c:11: c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h: At top level: c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h:56: warning: "__FPU_PRESENT" redefined 56 | #define __FPU_PRESENT 1 /*!< FPU present */ | In file included from
: C:\RT-ThreadStudio\workspace\project\rtconfig_preinc.h:17: note: this is the location of the previous definition 17 | #define __FPU_PRESENT | In file included from C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_compiler.h:48, from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:47, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_flash.c:11: C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__get_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:773:49: error: operator '==' has no left operand 773 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__set_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:799:49: error: operator '==' has no left operand 799 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ In file included from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:117, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_flash.c:11: c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h: At top level: c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h:56: warning: "__FPU_PRESENT" redefined 56 | #define __FPU_PRESENT 1 /*!< FPU present */ | In file included from
: C:\RT-ThreadStudio\workspace\project\rtconfig_preinc.h:17: note: this is the location of the previous definition 17 | #define __FPU_PRESENT | In file included from C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_compiler.h:48, from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:47, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_partition.c:11: C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__get_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:773:49: error: operator '==' has no left operand 773 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__set_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:799:49: error: operator '==' has no left operand 799 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ In file included from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:117, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_partition.c:11: c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h: At top level: c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h:56: warning: "__FPU_PRESENT" redefined 56 | #define __FPU_PRESENT 1 /*!< FPU present */ | In file included from
: C:\RT-ThreadStudio\workspace\project\rtconfig_preinc.h:17: note: this is the location of the previous definition 17 | #define __FPU_PRESENT | arm-none-eabi-gcc "../rt-thread/components/fal/src/fal_rtt.c" arm-none-eabi-gcc "../rt-thread/components/drivers/wlan/wlan_cfg.c" arm-none-eabi-gcc "../rt-thread/components/drivers/wlan/wlan_cmd.c" arm-none-eabi-gcc "../rt-thread/components/drivers/wlan/wlan_dev.c" arm-none-eabi-gcc "../rt-thread/components/drivers/wlan/wlan_lwip.c" In file included from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal.c:11: C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:32:125: warning: backslash and newline separated by space 32 | {FAL_PART_MAGIC_WROD, "boot", "onchip_flash_hp0", 0, BSP_FEATURE_FLASH_HP_CF_REGION0_SIZE, 0}, \ | In file included from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_flash.c:11: C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:32:125: warning: backslash and newline separated by space 32 | {FAL_PART_MAGIC_WROD, "boot", "onchip_flash_hp0", 0, BSP_FEATURE_FLASH_HP_CF_REGION0_SIZE, 0}, \ | In file included from C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_compiler.h:48, from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:47, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_rtt.c:12: C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__get_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:773:49: error: operator '==' has no left operand 773 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h: In function '__set_FPSCR': C:\RT-ThreadStudio\workspace\project\packages\OpenMV-v4.5.0\src\hal\cmsis\include/cmsis_gcc.h:799:49: error: operator '==' has no left operand 799 | #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ | ^~ In file included from c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\renesas.h:117, from C:\RT-ThreadStudio\workspace\project\ra\fsp\inc\api/bsp_api.h:50, from C:\RT-ThreadStudio\workspace\project\ra_gen/hal_data.h:5, from C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:13, from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_rtt.c:12: c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h: At top level: In file included from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_partition.c:11: C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:32:125: warning: backslash and newline separated by space 32 | {FAL_PART_MAGIC_WROD, "boot", "onchip_flash_hp0", 0, BSP_FEATURE_FLASH_HP_CF_REGION0_SIZE, 0}, \ | c:\rt-threadstudio\workspace\project\ra\fsp\src\bsp\cmsis\device\renesas\include\R7FA8D1BH.h:56: warning: "__FPU_PRESENT" redefined 56 | #define __FPU_PRESENT 1 /*!< FPU present */ | In file included from
: C:\RT-ThreadStudio\workspace\project\rtconfig_preinc.h:17: note: this is the location of the previous definition 17 | #define __FPU_PRESENT | make: *** [rt-thread/components/fal/src/subdir.mk:27: rt-thread/components/fal/src/fal.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [rt-thread/components/fal/src/subdir.mk:27: rt-thread/components/fal/src/fal_flash.o] Error 1 make: *** [rt-thread/components/fal/src/subdir.mk:27: rt-thread/components/fal/src/fal_partition.o] Error 1 In file included from C:\RT-ThreadStudio\workspace\project\rt-thread\components\fal\inc/fal.h:15, from ../rt-thread/components/fal/src/fal_rtt.c:12: C:\RT-ThreadStudio\workspace\project\board\ports/fal_cfg.h:32:125: warning: backslash and newline separated by space 32 | {FAL_PART_MAGIC_WROD, "boot", "onchip_flash_hp0", 0, BSP_FEATURE_FLASH_HP_CF_REGION0_SIZE, 0}, \ | ../rt-thread/components/fal/src/fal_rtt.c:281:5: warning: initialization of 'rt_ssize_t (*)(struct rt_mtd_nor_device *, rt_off_t, rt_uint8_t *, rt_size_t)' {aka 'int (*)(struct rt_mtd_nor_device *, long int, unsigned char *, unsigned int)'} from incompatible pointer type 'rt_ssize_t (*)(struct rt_mtd_nor_device *, rt_off_t, rt_uint8_t *, rt_uint32_t)' {aka 'int (*)(struct rt_mtd_nor_device *, long int, unsigned char *, long unsigned int)'} [-Wincompatible-pointer-types] 281 | mtd_nor_dev_read, | ^~~~~~~~~~~~~~~~ ../rt-thread/components/fal/src/fal_rtt.c:281:5: note: (near initialization for '_ops.read') ../rt-thread/components/fal/src/fal_rtt.c:282:5: warning: initialization of 'rt_ssize_t (*)(struct rt_mtd_nor_device *, rt_off_t, const rt_uint8_t *, rt_size_t)' {aka 'int (*)(struct rt_mtd_nor_device *, long int, const unsigned char *, unsigned int)'} from incompatible pointer type 'rt_ssize_t (*)(struct rt_mtd_nor_device *, rt_off_t, const rt_uint8_t *, rt_uint32_t)' {aka 'int (*)(struct rt_mtd_nor_device *, long int, const unsigned char *, long unsigned int)'} [-Wincompatible-pointer-types] 282 | mtd_nor_dev_write, | ^~~~~~~~~~~~~~~~~ ../rt-thread/components/fal/src/fal_rtt.c:282:5: note: (near initialization for '_ops.write') ../rt-thread/components/fal/src/fal_rtt.c:283:5: warning: initialization of 'rt_err_t (*)(struct rt_mtd_nor_device *, rt_off_t, rt_size_t)' {aka 'long int (*)(struct rt_mtd_nor_device *, long int, unsigned int)'} from incompatible pointer type 'rt_err_t (*)(struct rt_mtd_nor_device *, rt_off_t, rt_uint32_t)' {aka 'long int (*)(struct rt_mtd_nor_device *, long int, long unsigned int)'} [-Wincompatible-pointer-types] 283 | mtd_nor_dev_erase, | ^~~~~~~~~~~~~~~~~ ../rt-thread/components/fal/src/fal_rtt.c:283:5: note: (near initialization for '_ops.erase_block') make: *** [rt-thread/components/fal/src/subdir.mk:27: rt-thread/components/fal/src/fal_rtt.o] Error 1 "make -j8 all" terminated with exit code 2. Build might be incomplete. 10:03:10 Build Failed. 13 errors, 19 warnings. (took 7s.427ms) ```
查看更多
2
个回答
默认排序
按发布时间排序
szhakka
2024-04-12
这家伙很懒,什么也没写!
Keil 编译可以成功,固件下载后,OpenMV 没有运行起来,不知哪一步骤出了问题? ``` \ | / - RT - Thread Operating System / | \ 5.0.2 build Apr 12 2024 11:09:14 2006 - 2022 Copyright by RT-Thread team do components initialization. initialize rti_board_end:0 done initialize rt_work_sys_workqueue_init:0 done initialize rt_mmcsd_core_init:0 done initialize rt_wlan_lwip_init:0 done initialize rt_wlan_init:0 done initialize rt_wlan_workqueue_init:0 done initialize dfs_init:0 done initialize lwip_system_initlwIP-2.0.3 initialized! :0 done initialize rt_cm_backtrace_init:0 done initialize rt_soft_rtc_init:0 done initialize rt_hw_lcd_init[D/drv_lcd] lcd framebuffer address:0x68000000 [D/mipi_cfg] inited mipi dsi configs :0 done initialize rt_hw_sdhi_init:0 done initialize cplusplus_system_init:0 done initialize elm_init:0 done initialize sal_init[I/sal.skt] Socket Abstraction Layer initialize success. :0 done initialize mount_init:0 done initialize finsh_system_init:0 done [I/main] =================================== [I/main] This is OpenMV4.1.0 demo [I/main] =================================== msh />[D/FAL] (fal_flash_init:49) Flash device | onchip_flash_hp0 | addr: 0x02000000 | len: 0x00010000 | blk_size: 0x00002000 |initialized finish. [D/FAL] (fal_flash_init:49) Flash device | onchip_flash_hp1 | addr: 0x02010000 | len: 0x001e8000 | blk_size: 0x00008000 |initialized finish. [D/FAL] (fal_flash_init:49) Flash device | onchip_flash_hp3 | addr: 0x27000000 | len: 0x00003000 | blk_size: 0x00000040 |initialized finish. [I/FAL] ==================== FAL partition table ==================== [I/FAL] | name | flash_dev | offset | length | [I/FAL] ------------------------------------------------------------- [I/FAL] | boot | onchip_flash_hp0 | 0x00000000 | 0x00010000 | [I/FAL] | app | onchip_flash_hp1 | 0x00000000 | 0x001e8000 | [I/FAL] | disk | onchip_flash_hp3 | 0x00000000 | 0x00003000 | [I/FAL] ============================================================= [I/FAL] RT-Thread Flash Abstraction Layer initialize success. [D/sensor] Enable 24MHz pwm for camera i2c probe camera id:0x78 [E/DFS] can't find mounted filesystem on this path:/boot.py [E/DFS] can't find mounted filesystem on this path:/main.py i2c probe camera id:0x78 [E/DFS] can't find mounted filesystem on this path:/boot.py process_pipe0_xfer 484: ASSERT FAILED tud_control_xfer 123: ASSERT FAILED tud_control_xfer 123usbd_edpt_xfer 1252: ASSERT FAILED usbd_control_xfer_cb 218: ASSERT FAILED tud_control_xfer: command not found. msh /> \ | / \: command not found. msh />- RT - Thread Operating System -: command not found. msh /> / | \ 5.0.2 build Apr 12 2024 11:09:14 /: command not found. msh /> 2006 - 2022 Copyright by RT-Thread team 2006: command not found. msh />do components initialization. do: command not found. msh />initialize rti_board_end:0 done initialize: command not found. msh />initialize rt_work_sys_workqueue_init:0 done initialize: command not found. msh />initialize rt_mmcsd_core_init:0 done initialize: command not found. msh />initialize rt_wlan_lwip_init:0 done initialize: command not found. msh />initialize rt_wlan_init:0 done initialize: command not found. msh />initialize rt_wlan_workqueue_init:0 done initialize: command not found. msh />initialize dfs_init:0 done initialize: command not found. msh />initialize lwip_system_initlwIP-2.0.3 initialized! initialize: command not found. msh />:0 done :0: command not found. msh />initialize rt_cm_backtrace_init:0 done initialize: command not found. msh />initialize rt_soft_rtc_init:0 done initialize: command not found. msh />initialize rt_hw_lcd_init[D/drv_lcd] initialize: command not found. msh />lcd framebuffer address:0x68000000 lcd: command not found. msh />[D/mipi_cfg] inited mipi dsi configs [D/mipi_cfg]: command not found. msh /> msh />:0 done :0: command not found. msh />initialize rt_hw_sdhi_init:0 done initialize: command not found. msh />initialize cplusplus_system_init:0 done initialize: command not found. msh />initialize elm_init:0 done initialize: command not found. msh />initialize sal_init[I/sal.skt] Socket Abstraction Layer initialize success. initialize: command not found. msh />:0 done :0: command not found. msh />initialize mount_init:0 done initialize: command not found. msh />initialize finsh_system_init:0 done initialize: command not found. msh />[I/main] =================================== [I/main]: command not found. msh />[I/main] This is OpenMV4.1.0 demo [I/main]: command not found. msh />[I/main] =================================== [I/main]: command not found. msh />msh />[D/FAL] (fal_flash_init:49) Flash device | onchip_flash_hp0 | addr: 0x02000000 | len: 0x00010000 | blk_size: 0x00002000 |initialized finish. :: command not found. msh />[D/FAL] (fal_flash_init:49) Flash device | onchip_flash_hp1 | addr: 0x02010000 | len: 0x001e8000 | blk_size: 0x00008000 |initialized finish. 010000: command not found. msh />[D/FAL] (fal_flash_init:49) Flash device | onchip_flash_hp3 | addr: 0x27000000 | len: 0x00003000 | blk_size: 0x00000040 |initialized finish. 000000: command not found. msh />[I/FAL] ==================== FAL partition table ==================== [I/FAL]: command not found. msh />[I/FAL] | name | flash_dev | offset | length | [I/FAL]: command not found. msh />[I/FAL] ------------------------------------------------------------- [I/FAL]: command not found. msh />[I/FAL] | boot | onchip_flash_hp0 | 0x00000000 | 0x00010000 | [I/FAL]: command not found. msh />[I/FAL] | app | onchip_flash_hp1 | 0x00000000 | 0x001e8000 | [I/FAL]: command not found. msh />[I/FAL] | disk | onchip_flash_hp3 | 0x00000000 | 0x00003000 | [I/FAL]: command not found. msh />[I/FAL] ============================================================= [I/FAL]: command not found. msh />[I/FAL] RT-Thread Flash Abstraction Layer initialize success. [I/FAL]: command not found. msh />[D/sensor] Enable 24MHz pwm for camera [D/sensor]: command not found. msh />i2c probe camera id:0x78 [E/I2C] I2C bus camera not exist [i2c] failed to find bus camera msh />[E/DFS] can't find mounted filesystem on this path:/boot.py [E/DFS]: command not found. msh />[E/DFS] can't find mounted filesystem on this path:/main.py [E/DFS]: command not found. msh />i2c probe camera id:0x78 [E/I2C] I2C bus camera not exist [i2c] failed to find bus camera msh />[E/DFS] can't find mounted filesystem on this path:/boot.py [E/DFS]: command not found. msh />process_pipe0_xfer 484: ASSERT FAILED process_pipe0_xfer: command not found. msh />tud_control_xfer 123: ASSERT FAILED tud_control_xfer: command not found. msh />tud_control_xfer 123usbd_edpt_xfer 1252: ASSERT FAILED tud_control_xfer: command not found. msh />usbd_control_xfer_cb 218: ASSERT FAILED usbd_control_xfer_cb: command not found. ``` ![OpenMV_Test_issue_20240412.PNG](https://oss-club.rt-thread.org/uploads/20240412/a129d4f125140c8756c00767e16b11a9.png.webp) ![OpenMV_Test_issue_20240412.PNG](https://oss-club.rt-thread.org/uploads/20240412/a129d4f125140c8756c00767e16b11a9.png.webp)
Rb君
认证专家
2024-04-19
这家伙很懒,什么也没写!
目前openmv工程仅支持mdk编译
撰写答案
登录
注册新账号
关注者
0
被浏览
555
关于作者
szhakka
这家伙很懒,什么也没写!
提问
1
回答
1
被采纳
0
关注TA
发私信
相关问题
1
bsp/imx6ul 编译错误
2
打开定时器提示没有定义TIM1_CONFIG
3
试用了一下liteos,我又回来啦
4
为啥打开KEIL5工程直接编译会出错?
5
用gcc c99编译,github最新代码,报结构体嵌套的错误
6
scons --dist 导出为何会有编译动作,且编译出错?
7
使用RTT-master源码编译smartfusion2的工程编译不通过
8
gagent_hattpc.c 编译无法找到头文件ase.h
9
改了一部分代码后编译出现错误
10
persimmon m3 sdk 编译错误
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
2
RT-Thread 发布 EtherKit开源以太网硬件!
3
rt-thread使用cherryusb实现虚拟串口
4
《C++20 图形界面程序:速度与渲染效率的双重优化秘籍》
5
《原子操作:程序世界里的“最小魔法单位”解析》
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
ota在线升级
UART
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
at_device
ulog
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
张世争
8
个答案
2
次被采纳
rv666
5
个答案
2
次被采纳
用户名由3_15位
11
个答案
1
次被采纳
KunYi
6
个答案
1
次被采纳
本月文章贡献
程序员阿伟
5
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
大龄码农
1
篇文章
2
次点赞
ThinkCode
1
篇文章
1
次点赞
Betrayer
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部