Skip to content

fatal error: _i2c.h: No such file or directory with module imagein?camera esp32/xiao_esp32s3_sense #1551

@zagone71

Description

@zagone71

Note: This template is intended to help organize your report. Feel free to modify it as you need. The most important thing is to file a clear, detailed report.

You may use this template to file a report of a security vulnerability. If you prefer to report the issue privately, please send the report by email to info@moddable.com.

**Build environment:Linux
**Moddable SDK version: moddable six
**Target device:esp32/xiao_esp32s3_sense
Description
after comand mcconfig -d -m -p esp32/xiao_esp32s3_sense compilation stop with error :
/home/carlo/Projects/moddable/modules/io/imagein/camera/esp32/camera.c:27:10: fatal error: _i2c.h: No such file or directory
27 | #include "_i2c.h"
| ^~~~~~~~
compilation terminated.

also the examples program in the imagein directory give the same error

Steps to Reproduce

after mcconfig -d -m -p esp32/xiao_esp32s3_sense
2. See error :
/home/carlo/Projects/moddable/modules/io/imagein/camera/esp32/camera.c:27:10: fatal error: _i2c.h: No such file or directory
27 | #include "_i2c.h"
| ^~~~~~~~
compilation terminated.

Expected behavior
Should complete compilation and transfer file on the microcontroller

Images
32/xiao_esp32s3_sense/debug/foto+web/xsProj-esp32s3/build

cc xsAll.c (strings in flash)

cc xsAPI.c (strings in flash)

cc xsArguments.c (strings in flash)

cc xsArray.c (strings in flash)

cc xsAtomics.c (strings in flash)

cc xsBigInt.c (strings in flash)

cc xsBoolean.c (strings in flash)

cc xsCode.c (strings in flash)

cc xsCommon.c (strings in flash)

cc xsDataView.c (strings in flash)

cc xsDate.c (strings in flash)

cc xsDebug.c (strings in flash)

cc xsError.c (strings in flash)

cc xsFunction.c (strings in flash)

cc xsGenerator.c (strings in flash)

cc xsGlobal.c (strings in flash)

cc xsJSON.c (strings in flash)

cc xsLexical.c (strings in flash)

cc xsMapSet.c (strings in flash)

cc xsMarshall.c (strings in flash)

cc xsMath.c (strings in flash)

cc xsMemory.c (strings in flash)

cc xsModule.c (strings in flash)

cc xsNumber.c (strings in flash)

cc xsObject.c (strings in flash)

cc xsPromise.c (strings in flash)

cc xsProperty.c (strings in flash)

cc xsProxy.c (strings in flash)

cc xsRegExp.c (strings in flash)

cc xsRun.c (strings in flash)

cc xsScope.c (strings in flash)

cc xsScript.c (strings in flash)

cc xsSourceMap.c (strings in flash)

cc xsString.c (strings in flash)

cc xsSymbol.c (strings in flash)

cc xsSyntaxical.c (strings in flash)

cc xsTree.c (strings in flash)

cc xsType.c (strings in flash)

cc xsdtoa.c (strings in flash)

cc xsre.c (strings in flash)

cc xsmc.c (strings in flash)

cc e_pow.c (strings in flash)

cc xsPlatform.c (strings in flash)

cc xsHost.c (strings in flash)

cc xsHosts.c (strings in flash)

xsl modules

mcrez resources

Total resource size: 1234 bytes

cc mc.resources.c (slots in flash)

404 instances, 791 keys, 67 colors, 0 holes

cc mc.xs.c (slots in flash)

cc Resource.c.o

cc modPreference.c.o

cc modGPIO.c.o

cc modMonitor.c.o

cc modSPI.c.o

cc modIli9341.c.o

cc modTime.c.o

cc modTimer.c.o

cc timer.c.o

cc modInstrumentation.c.o

cc modLwipSafe.c.o

cc modNet.c.o

cc modResolve.c.o

cc modSocket.c.o

cc modsntp.c.o

cc xs6wifi.c.o

cc builtinCommon.c.o

cc digital.c.o

cc commodettoBitmap.c.o

cc camera.c.o

/home/carlo/Projects/moddable/modules/io/imagein/camera/esp32/camera.c:27:10: fatal error: _i2c.h: No such file or directory
27 | #include "_i2c.h"
| ^~~~~~~~
compilation terminated.

Other information

also the example in the moddable example/io/imagein/camera directory give the same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions