diff --git a/components/blk_box_lib b/components/blk_box_lib index a5411c4..8c0b682 160000 --- a/components/blk_box_lib +++ b/components/blk_box_lib @@ -1 +1 @@ -Subproject commit a5411c45f5b6f8636b02149b35cf94c1405143ea +Subproject commit 8c0b6823fd8743cb829973811bed5f96226bb53d diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index c4cd1fb..11c046f 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -1,6 +1,8 @@ idf_component_register( SRCS "main.cpp" PRIV_REQUIRES + esp_driver_gpio + esp_driver_i2c spi_flash blk_box_lib INCLUDE_DIRS "") diff --git a/main/main.cpp b/main/main.cpp index cc169c9..dfb5981 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1,9 +1,3 @@ -/* - * SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: CC0-1.0 - */ - #include #include #include "sdkconfig.h" @@ -19,7 +13,7 @@ extern "C" void app_main(void) { BlkBoxInitConfig blk_box_cfg = {}; init_blk_box(blk_box_cfg); - i2c_test(); + printf("Hello, Blk Box!\n"); /* Print chip information */ esp_chip_info_t chip_info;