Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with building #2

Open
MarcinSzarmach opened this issue Jan 12, 2023 · 0 comments
Open

Problem with building #2

MarcinSzarmach opened this issue Jan 12, 2023 · 0 comments

Comments

@MarcinSzarmach
Copy link

MarcinSzarmach commented Jan 12, 2023

Hi, I want to try Your library witch looks great!

But when building in mos I've got error:
[ 91%] Building C object esp-idf/mosapp/CMakeFiles/__idf_mosapp.dir/data/fwbuild-volumes/latest/apps/mongoose_light/esp32/build_contexts/build_ctx_4173561264/deps/mos-arduino-ws2812fx/src/esp8266.c.obj /data/fwbuild-volumes/latest/apps/mongoose_light/esp32/build_contexts/build_ctx_4173561264/deps/mos-arduino-ws2812fx/src/esp8266.c: In function 'espShow': /data/fwbuild-volumes/latest/apps/mongoose_light/esp32/build_contexts/build_ctx_4173561264/deps/mos-arduino-ws2812fx/src/esp8266.c:64:5: error: implicit declaration of function 'gpio_set_level' [-Werror=implicit-function-declaration] gpio_set_level(pin, HIGH); ^~~~~~~~~~~~~~ /data/fwbuild-volumes/latest/apps/mongoose_light/esp32/build_contexts/build_ctx_4173561264/deps/mos-arduino-ws2812fx/src/esp8266.c:35:51: warning: variable 'pinMask' set but not used [-Wunused-but-set-variable] uint32_t t, time0, time1, period, c, startTime, pinMask; ^~~~~~~ [ 91%] Building C object esp-idf/mosapp/CMakeFiles/__idf_mosapp.dir/data/fwbuild-volumes/latest/apps/mongoose_light/esp32/build_contexts/build_ctx_4173561264/deps/mos-arduino-ws2812fx/src/mgos_arduino_WS2812FX_c.c.obj

my mos.yaml:

`author: Marcin
description: Light on ESP32
version: 1.0
arch: esp32

libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}

filesystem:

  • fs

config_schema:

  • ["app", "o", { title: "Password board 1" }]
  • ["app.ledPin", "i", 27, { title: "led pin" }]
  • ["app.ledPixels", "i", 100, { title: "led pixels" }]
  • ["app.sensorPin", "i", 20, { title: "sensor PIR pin" }]
  • ["wifi", "o", { title: "wifi settings" }]
  • ["wifi.sta", "o", { title: "wifi mode" }]
  • ["wifi.sta.enable", "b", true, { title: "Wifi enable" }]
  • ["wifi.sta.ssid", "s", "Internety", { title: "wifi ssid" }]
  • ["wifi.sta.pass", "s", "aaaaaaaa", { title: "wifi pass" }]
  • ["dash", "o", { title: "dash settings" }]
  • ["dash.enable", "b", true, { title: "dash enable" }]
  • ["dash.send_logs", "b", true, {"title": "Send logs"}]

libs:

manifest_version: 2017-05-18`

Any ideas why it throwing error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant