Search found 605 matches

by mikemoy
Tue Apr 02, 2019 1:36 am
Forum: General Discussion
Topic: ESP32 Power consumption considerations
Replies: 10
Views: 136898

Re: ESP32 Power consumption considerations

A better approach to testing current draw is to get a ESP32 Test Board. Like one of these. With the ESP32 removed test the current draw of the board alone. Then pop the ESP32 in there and subtract the new reading from when it was removed.
81nUR4BcgmL._SL1500_.jpg
81nUR4BcgmL._SL1500_.jpg (207.49 KiB) Viewed 106923 times
by mikemoy
Fri Mar 22, 2019 2:28 pm
Forum: General Discussion
Topic: Weird RAM alignment
Replies: 4
Views: 6081

Re: Weird RAM alignment

I am stumped as well. Just using these in the struct (I removed the 2 uint32_t 's from it) you get 658 which you should, and all is well. uint16_t Version; // 346-347 uint16_t LoudnessValue; // 412-413 uint16_t LoudnessRange; // 414-415 uint16_t MaxTruePeakLevel; // 416-417 uint16_t MaxMomentaryLoud...
by mikemoy
Tue Mar 19, 2019 1:23 am
Forum: General Discussion
Topic: How to show compile information
Replies: 5
Views: 5900

Re: How to show compile information

Thank you for the great explanation. Maybe for a future use we could pass the flash size like 4MB 8MB and so on.
by mikemoy
Mon Mar 18, 2019 3:52 pm
Forum: General Discussion
Topic: How to show compile information
Replies: 5
Views: 5900

Re: How to show compile information

When using make size you get the following:
I'm just curious, why doesn't it show percentages for the others?


Annotation 2019-03-18 104949.jpg
Annotation 2019-03-18 104949.jpg (39.97 KiB) Viewed 5800 times
by mikemoy
Mon Mar 18, 2019 1:53 pm
Forum: General Discussion
Topic: Can one find out the stack depth from xTaskCreate
Replies: 3
Views: 5361

Re: Can one find out the stack depth from xTaskCreate

Thanks for the suggestion. I probably should elaborate what I am trying to do. I have created a Thread that simply goes through all my registered tasks and prints the high water mark in a percentage. So durring run time I can see how close I am getting to the edge if you will. To do this I need to p...
by mikemoy
Sun Mar 17, 2019 5:29 pm
Forum: General Discussion
Topic: Can one find out the stack depth from xTaskCreate
Replies: 3
Views: 5361

Can one find out the stack depth from xTaskCreate

Say a task was created with the following.
xTaskCreate(idleloop, "idleloop", 4096, NULL, 1, &TaskHandle_IdleLoop);

Is there a way within another function to find out what the stack depth (I.E. the 4096) was set to for this task?
by mikemoy
Sat Mar 16, 2019 10:52 pm
Forum: General Discussion
Topic: How to show compile information
Replies: 5
Views: 5900

Re: How to show compile information

I found something close enough. using "make size" does it.
by mikemoy
Sat Mar 16, 2019 10:11 pm
Forum: General Discussion
Topic: How to show compile information
Replies: 5
Views: 5900

How to show compile information

Might someone know how I can get more information when I compile like this?


Annotation 2019-03-16 014325.jpg
Annotation 2019-03-16 014325.jpg (24.52 KiB) Viewed 5900 times
by mikemoy
Sat Mar 16, 2019 2:05 am
Forum: General Discussion
Topic: OTA using push architecture
Replies: 2
Views: 4145

Re: OTA using push architecture

I did not at the time I posted this. I am in the middle of getting it working. I needed to basically do this in the shell for it to work.
It now works, but I am making sure I have the curl formatted properly.

curl -v 192.168.0.3:8032 --data-binary @- < Release/simple_ota.bin
by mikemoy
Fri Mar 15, 2019 11:15 pm
Forum: General Discussion
Topic: OTA using push architecture
Replies: 2
Views: 4145

OTA using push architecture

I have been looking for a OTA method for pushing firmware to my devices. I found this: https://github.com/yanbe/esp-idf-ota-template I was wondering if anyone has used it, and could offer any help. The code compiles and runs fine, but my problem in on the PC side. When he says "make ota ESP32_IP=192...