about the precision we will see later, but don't tell me that I have to wake up the main controller to do a basic sqrt(). Otherwise, what is the purpose of these ULP stuff, if you can't do basic operation. Better to go with an ATTiny then, right ?
Still, I would like still to fix the issue with math ...
Search found 4 matches
- Fri Aug 08, 2025 2:40 pm
- Forum: General Discussion
- Topic: ULP - Standard Math library functions not working in ULP
- Replies: 7
- Views: 324
- Fri Aug 08, 2025 12:45 pm
- Forum: ESP-IDF
- Topic: Where is math.h?
- Replies: 5
- Views: 10584
Re: Where is math.h?
Hello,
despite post has 2 years, I faced same issue. in the ULP co-processor, I manage to use some math function with a constant but not with a variable "sqrt(4) is ok but sqrt(myvariable) is creating compilation error : undefined reference to `sqrt'.
This works perfectly on main program, just not ...
despite post has 2 years, I faced same issue. in the ULP co-processor, I manage to use some math function with a constant but not with a variable "sqrt(4) is ok but sqrt(myvariable) is creating compilation error : undefined reference to `sqrt'.
This works perfectly on main program, just not ...
- Thu Aug 07, 2025 1:26 pm
- Forum: General Discussion
- Topic: ULP - Standard Math library functions not working in ULP
- Replies: 7
- Views: 324
ULP - Standard Math library functions not working in ULP
Hello,
I try to implement some ULP functions with an ESP32S3 RISCV with IDF in PlatformIO, and I struggle to fix an issue with functions from standard math library (like sqrt(), pow(),...). Actually it works, if I do a sqrt(2) with a fix number, but does not if I do a sqrt(myvariable).
I get the ...
I try to implement some ULP functions with an ESP32S3 RISCV with IDF in PlatformIO, and I struggle to fix an issue with functions from standard math library (like sqrt(), pow(),...). Actually it works, if I do a sqrt(2) with a fix number, but does not if I do a sqrt(myvariable).
I get the ...
- Thu May 22, 2025 12:29 pm
- Forum: ESP-IDF
- Topic: ESP32-ULP-I2C-MPU6050
- Replies: 2
- Views: 922
Re: ESP32-ULP-I2C-MPU6050
Hello, I am struggling since days on exact same issue. Where you able to find the solution to make it work ?