diff --git a/.gitignore b/.gitignore index c795b05..a174da0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -build \ No newline at end of file +build +managed_components +.vscode \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index b1c7ea9..ea3b073 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,8 +72,9 @@ if(NOT ESP_PLATFORM) if(CUST_BUTTON_PIN) target_compile_definitions(picokey PUBLIC CUST_BUTTON_PIN=${CUST_BUTTON_PIN}) + message(STATUS "CUST_BUTTON_PIN is set to: ${CUST_BUTTON_PIN}") endif() - message(STATUS "CUST_BUTTON_PIN is set to: ${CUST_BUTTON_PIN}") + if(NOT MSVC) target_compile_options(picokey PUBLIC diff --git a/src/main.c b/src/main.c index ed27824..4cb2699 100644 --- a/src/main.c +++ b/src/main.c @@ -357,6 +357,7 @@ int app_main() { #ifndef PICO_PLATFORM #define pico_get_unique_board_id(a) memset(a, 0, sizeof(*(a))) #endif + int main(void) { #endif pico_get_unique_board_id(&pico_serial);