I created a project from the sample PICO W the blinky. I chose the 1.5.1 SDK. I did not modify anything. I am connected successfully to a Pico-Probe. I get build errors. the first is
Error #error must specify support pico_cyw43_arch architecture type or set PICO_CYW43_ARCH_HEADER PicoSDKProject4 C:\Users\RobertOujesky\.pico-sdk\sdk\2.0.0\src\rp2_common\pico_cyw43_arch\include\pico\cyw43_arch.h 30
and I also get
Error No CMAKE_CXX_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. PicoSDKProject3 C:\Users\RobertOujesky\source\repos\PicoSDKProject3\CMakeLists.txt 3
Here is the simple blinky program
#include “pico/stdlib.h”
#include “pico/cyw43_arch.h”
int main() {
stdio_init_all();
if (cyw43_arch_init()) {
printf(“Wi-Fi init failed”);
return -1;
}
while (true) {
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, 1);
sleep_ms(250);
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, 0);
sleep_ms(250);
}
}
Not sure what to do….
not sure how to proceed