Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duo:build warnings #8977

Open
unicornx opened this issue May 22, 2024 · 3 comments
Open

duo:build warnings #8977

unicornx opened this issue May 22, 2024 · 3 comments
Assignees
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek

Comments

@unicornx
Copy link
Contributor

board/board.c: In function 'rt_hw_board_init':
board/board.c:26:5: warning: implicit declaration of function 'rt_hw_tick_init'; did you mean 'rt_hw_stack_init'? [-Wimplicit-function-declaration]
   26 |     rt_hw_tick_init();
      |     ^~~~~~~~~~~~~~~
      |     rt_hw_stack_init
board/board.c:29:5: warning: implicit declaration of function 'rt_hw_uart_init'; did you mean 'rt_hw_board_init'? [-Wimplicit-function-declaration]
   29 |     rt_hw_uart_init();
      |     ^~~~~~~~~~~~~~~
      |     rt_hw_board_init

@unicornx
Copy link
Contributor Author

这个问题和大小核采用了不同的工程设置有关,小核里用了 bsp/cvitek/c906_little/board/tick.c, 而大核使用的是 /libcpu/risc-v/t-head/c906/tick.c

为何要引入不同的文件,而不是公用。这是一个问题。大小核都是 c906,应该没有什么差别。

@unicornx unicornx added BSP: Cvitek BSP related with cvitek Arch: RISC-V BSP related with risc-v RT-Smart RT-Thread Smart related PR or issues and removed RT-Smart RT-Thread Smart related PR or issues labels Jul 11, 2024
@Z8MAN8
Copy link
Contributor

Z8MAN8 commented Jul 29, 2024

我可以负责推进

@unicornx
Copy link
Contributor Author

我可以负责推进

thanks, assigned to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek
Projects
None yet
Development

No branches or pull requests

2 participants