diff --git a/pico_w/wifi/access_point/CMakeLists.txt b/pico_w/wifi/access_point/CMakeLists.txt index fc2c24409..6bc0a2eb4 100644 --- a/pico_w/wifi/access_point/CMakeLists.txt +++ b/pico_w/wifi/access_point/CMakeLists.txt @@ -15,7 +15,10 @@ target_link_libraries(picow_access_point_background pico_cyw43_arch_lwip_threadsafe_background pico_stdlib ) - +# You can change the address below to change the address of the access point +pico_configure_ip4_address(picow_access_point_background PRIVATE + CYW43_DEFAULT_IP_AP_ADDRESS 192.168.4.1 + ) pico_add_extra_outputs(picow_access_point_background) add_executable(picow_access_point_poll @@ -33,4 +36,8 @@ target_link_libraries(picow_access_point_poll pico_cyw43_arch_lwip_poll pico_stdlib ) +# You can change the address below to change the address of the access point +pico_configure_ip4_address(picow_access_point_poll PRIVATE + CYW43_DEFAULT_IP_AP_ADDRESS 192.168.4.1 + ) pico_add_extra_outputs(picow_access_point_poll)