You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to enable the UART console(#define CONSOLE_UART 1)
it throws this error
┌──(sunny㉿IdeaPadPro5i)-[~/pico-rv32ima]
└─$ make
[ 0%] Built target bs2_default
[ 1%] Built target bs2_default_library
[ 21%] Built target ps2
[ 22%] Built target slower_boot2
[ 23%] Built target slower_boot2_library
[ 23%] Building C object pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/mmcbbp.c.o
In file included from /home/sunny/pico-sdk/src/common/pico_stdlib_headers/include/pico/stdlib.h:14,
from /home/sunny/pico-rv32ima/pico-rv32ima/petitfatfs/mmcbbp.c:22:
/home/sunny/pico-sdk/src/rp2_common/hardware_uart/include/hardware/uart.h: In function 'uart_get_instance':
/home/sunny/pico-rv32ima/pico-rv32ima/petitfatfs/../rv32_config.h:38:23: error: called object is not a function or function pointer
38 | #define UART_INSTANCE uart0
| ^~~~~
make[2]: *** [pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/build.make:90: pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/mmcbbp.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2009: pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered:
When I try to enable the UART console(
#define CONSOLE_UART 1
)it throws this error
┌──(sunny㉿IdeaPadPro5i)-[~/pico-rv32ima]
└─$ make
[ 0%] Built target bs2_default
[ 1%] Built target bs2_default_library
[ 21%] Built target ps2
[ 22%] Built target slower_boot2
[ 23%] Built target slower_boot2_library
[ 23%] Building C object pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/mmcbbp.c.o
In file included from /home/sunny/pico-sdk/src/common/pico_stdlib_headers/include/pico/stdlib.h:14,
from /home/sunny/pico-rv32ima/pico-rv32ima/petitfatfs/mmcbbp.c:22:
/home/sunny/pico-sdk/src/rp2_common/hardware_uart/include/hardware/uart.h: In function 'uart_get_instance':
/home/sunny/pico-rv32ima/pico-rv32ima/petitfatfs/../rv32_config.h:38:23: error: called object is not a function or function pointer
38 | #define UART_INSTANCE uart0
| ^~~~~
make[2]: *** [pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/build.make:90: pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/mmcbbp.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2009: pico-rv32ima/petitfatfs/CMakeFiles/petitfatfs.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered: