diff options
| author | Chen Wang <[email protected]> | 2025-01-27 10:43:59 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2025-01-29 20:28:38 -0500 |
| commit | 3383352cdc96238b9e967a8ded7189a563359ba6 (patch) | |
| tree | df4b287588623ba42cbd8d59bcc12a62d713aeda /libcpu | |
| parent | d0fcb08611395b2685d32d30df5005002c4a7f53 (diff) | |
bsp: cvitek: c906_littel: fixed build warnings for board.c
When building bsp/cvitek/c906_little, compiler warns:
```
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
```
To remove these build warnings, include header files
which declare these functions.
Plus, remove the decalartion of `tick_isr()`, this
function does not exist.
Signed-off-by: Chen Wang <[email protected]>
Diffstat (limited to 'libcpu')
0 files changed, 0 insertions, 0 deletions
