GithubHelp home page GithubHelp logo

Comments (6)

junyoun-kim avatar junyoun-kim commented on June 13, 2024

@jitensamsung which branch you are working on? Did you try to use commands ./setup.sh esp8266 and ./build.sh esp8266 switch_example?

from st-device-sdk-c-ref.

jitensamsung avatar jitensamsung commented on June 13, 2024

Yes I used both the commands and the shell files for setup and build executed. I also made changes in menuconfig. But when I am trying to flash, it says the header files from /iot-core folder are not found.
@junyoun-kim

from st-device-sdk-c-ref.

junyoun-kim avatar junyoun-kim commented on June 13, 2024

@jitensamsung It's weird. We succeeded in building on develop branch. You are also working on latest develop branch right?

Could you let me know commit number you are currently building at? Also please share your full build log.

from st-device-sdk-c-ref.

jitensamsung avatar jitensamsung commented on June 13, 2024

I am working on develop branch.
CC build/lwip/lwip/src/core/ipv6/dhcp6.o CC build/lwip/lwip/src/core/ipv6/ip6_frag.o CC build/lwip/lwip/src/netif/bridgeif.o CC build/lwip/lwip/src/netif/lowpan6_common.o CC build/lwip/lwip/src/netif/lowpan6_ble.o CC build/lwip/lwip/src/netif/lowpan6.o CC build/lwip/lwip/src/netif/zepif.o CC build/lwip/lwip/src/netif/bridgeif_fdb.o CC build/lwip/lwip/src/netif/ethernet.o CC build/lwip/lwip/src/netif/slipif.o CC build/lwip/port/esp8266/vfs_lwip.o CC build/lwip/port/esp8266/freertos/sys_arch.o CC build/lwip/port/esp8266/netif/dhcp_state.o CC build/lwip/port/esp8266/netif/wlanif.o CC build/lwip/port/esp8266/debug/lwip_debug.o AR build/lwip/liblwip.a CC build/main/caps_switch.o In file included from C:/Users/jiten.m/Desktop/P2/msys32/home/jiten.m/esp/st-device-sdk-c-ref/apps/esp8266/switch_example/main/caps_switch.c:24: C:/Users/jiten.m/Desktop/P2/msys32/home/jiten.m/esp/st-device-sdk-c-ref/apps/esp8266/switch_example/main/caps_switch.h:19:10: fatal error: caps/iot_caps_helper_switch.h: No such file or directory #include "caps/iot_caps_helper_switch.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [/home/jiten.m/esp/st-device-sdk-c-ref/bsp/esp8266/make/component_wrapper.mk:292: caps_switch.o] Error 1 make: *** [/home/jiten.m/esp/st-device-sdk-c-ref/bsp/esp8266/make/project.mk:571: component-main-build] Error 2
This is what I am getting.
@junyoun-kim

from st-device-sdk-c-ref.

junyoun-kim avatar junyoun-kim commented on June 13, 2024

@jitensamsung Looks like CONFIG_STDK_IOT_CORE is not set in sdkconfig. Could you check sdkconfig file under apps/esp8266/switch_example and how CONFIG_STDK_IOT_CORE is set?

from st-device-sdk-c-ref.

jitensamsung avatar jitensamsung commented on June 13, 2024

This issue is solved. Thanks.

from st-device-sdk-c-ref.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.