Tack till alla våra trogna sponsorer som stöttar och håller Rejsa rullande
RejsaRubberTrac
sdkconfig.h compilation problem
105 besök senaste veckan (125 totalt)
Witek
Polska
Här sen Jun 2025
Inlägg: 5


Trådstartare
Hello!
I have problem with compilation, can somebody help to figured out why thats happend
I use Adafruit Feather nRF52 Bluefruit LE
and MLX90640BAA

In file included from C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\ble.h:5,
from C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\main.ino:8:
C:\Users\Whytkee\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:10:10: fatal error: sdkconfig.h: No such file or directory
10 | #include "sdkconfig.h"
| ^~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1


I try use develop and multi-autozoom and is the same
with master i don't have any problems

Greetings

Edit: Did I need change something in code or just upload it?

_________________
Witek Grobarczyk
Citera
Magnus Thomé
Stockholm
Här sen Nov 2002
Inlägg: 42318

Forumägare
Forumägare


_________________
Magnus Thomé
Citera
Magnus Thomé
Stockholm
Här sen Nov 2002
Inlägg: 42318

Forumägare
Forumägare

I've just compiled with no issues the dev code for nRF52832 using both board library v1.6.1 and the current v1.7

Are you 100% sure you've set the correct board in the Configuration.h and the IDE?

_________________
Magnus Thomé
Citera
Witek
Polska
Här sen Jun 2025
Inlägg: 5


Trådstartare
I don't change in configuration.h

_________________
Witek Grobarczyk
Citera
Magnus Thomé
Stockholm
Här sen Nov 2002
Inlägg: 42318

Forumägare
Forumägare

Witek skrev:
I don't change in configuration.h


What? What do you mean? You haven't configured anything

_________________
Magnus Thomé
Citera
Witek
Polska
Här sen Jun 2025
Inlägg: 5


Trådstartare
No, i think it's automatic and will choose correct, next week i will try do it step by step, sorry i'm completly beginner

Edit:
left me errors
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\MLX90621.cpp: In member function 'void MLX90621::calculateTO()':
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\MLX90621.cpp:147:12: warning: converting to non-pointer type 'float' from NULL [-Wconversion-null]
147 | minTemp = NULL, maxTemp = NULL;
| ^~~~
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\MLX90621.cpp:147:28: warning: converting to non-pointer type 'float' from NULL [-Wconversion-null]
147 | minTemp = NULL, maxTemp = NULL;
| ^~~~
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\MLX90621.cpp:164:18: warning: NULL used in arithmetic [-Wpointer-arith]
164 | if (minTemp == NULL || temperature < minTemp) {
| ^~~~
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\MLX90621.cpp:167:18: warning: NULL used in arithmetic [-Wpointer-arith]
167 | if (maxTemp == NULL || temperature > maxTemp) {
| ^~~~
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\ble.cpp:10:28: warning: integer constant is too large for its type
10 | mainService = BLEService(0x00000001000000fd8933990d6f411ff7);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\ble.cpp: In constructor 'BLDevice::BLDevice()':
C:\Users\Whytkee\Desktop\SENSORY\mlx40\main\ble.cpp:10:28: warning: conversion from 'long long unsigned int' to 'uint16_t' {aka 'short unsigned int'} changes value from '9886413889988534263' to '8183' [-Woverflow]

_________________
Witek Grobarczyk
Citera
Magnus Thomé
Stockholm
Här sen Nov 2002
Inlägg: 42318

Forumägare
Forumägare

Just read through the config file and change according to what you have and want.

_________________
Magnus Thomé
Citera
Witek
Polska
Här sen Jun 2025
Inlägg: 5


Trådstartare
now board working but when i plug IR camera he stop. I use mlx without board, 1uF must be in some direction?

_________________
Witek Grobarczyk
Citera
RejsaRubberTrac
sdkconfig.h compilation problem
105 besök senaste veckan (125 totalt)
Tack till alla våra trogna sponsorer som stöttar och håller Rejsa rullande