diff --git a/.gitignore b/.gitignore index 82aa793..85bfcfb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .idea +.vscode +build cmake-build-debug cmake-build-release diff --git a/CMakeLists.txt b/CMakeLists.txt index db7ee41..a7dddec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ target_link_libraries(hello_multicore # enable usb output, disable uart output pico_enable_stdio_usb(hello_multicore 1) -pico_enable_stdio_uart(hello_multicore 0) +pico_enable_stdio_uart(hello_multicore 1) # create map/bin/hex file etc. pico_add_extra_outputs(hello_multicore) diff --git a/multicore.c b/multicore.c index 9048be9..53738a7 100644 --- a/multicore.c +++ b/multicore.c @@ -71,7 +71,7 @@ void core1_entry() { } } -const int SIZE = 10 + 1 + 13 * 9 + 1 + 1; +const int SIZE = 10 + 1 + 3 * 9 + 1 + 1; #define LEFTESTBIT 0x8000000000000000 char* genCharArray(uint64_t last_read_bits, uint64_t mask);