update
This commit is contained in:
+1
-1
Submodule components/blk_box_lib updated: a5411c45f5...8c0b6823fd
@@ -1,6 +1,8 @@
|
|||||||
idf_component_register(
|
idf_component_register(
|
||||||
SRCS "main.cpp"
|
SRCS "main.cpp"
|
||||||
PRIV_REQUIRES
|
PRIV_REQUIRES
|
||||||
|
esp_driver_gpio
|
||||||
|
esp_driver_i2c
|
||||||
spi_flash
|
spi_flash
|
||||||
blk_box_lib
|
blk_box_lib
|
||||||
INCLUDE_DIRS "")
|
INCLUDE_DIRS "")
|
||||||
|
|||||||
+1
-7
@@ -1,9 +1,3 @@
|
|||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: CC0-1.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
@@ -19,7 +13,7 @@ extern "C" void app_main(void) {
|
|||||||
BlkBoxInitConfig blk_box_cfg = {};
|
BlkBoxInitConfig blk_box_cfg = {};
|
||||||
init_blk_box(blk_box_cfg);
|
init_blk_box(blk_box_cfg);
|
||||||
|
|
||||||
i2c_test();
|
printf("Hello, Blk Box!\n");
|
||||||
|
|
||||||
/* Print chip information */
|
/* Print chip information */
|
||||||
esp_chip_info_t chip_info;
|
esp_chip_info_t chip_info;
|
||||||
|
|||||||
Reference in New Issue
Block a user