Search found 182 matches

by Gfast2
Wed Mar 21, 2018 3:04 pm
Forum: General Discussion
Topic: Factory app parition not bootable.
Replies: 7
Views: 12294

Re: Factory app parition not bootable.

try "make size" to check your app size
try "make erase_flash" to format the whole flash.

Cheers

Gfast2
by Gfast2
Wed Mar 21, 2018 8:42 am
Forum: General Discussion
Topic: "SIMPLEQ_INIT" wanted
Replies: 2
Views: 3948

Re: "SIMPLEQ_INIT" wanted

All right ESP-IDF, I think this is some linking issue. That means, this library do need its own "queue.h" while the others shouldn't use the micro definition from this queue... It's kinka complicate to describe here. But I think I've change my strategie: I won't use the ".h" and ".c" from this file,...
by Gfast2
Wed Mar 21, 2018 7:59 am
Forum: General Discussion
Topic: "SIMPLEQ_INIT" wanted
Replies: 2
Views: 3948

Re: "SIMPLEQ_INIT" wanted

According to man page of queue, I figured out "SIMPLEQ_INIT" is not a standard macro for linux's queue API neither.

The library I mentioned above is my good old open62541 and the queue.h I've talked about is HERE
by Gfast2
Tue Mar 20, 2018 5:24 pm
Forum: General Discussion
Topic: "SIMPLEQ_INIT" wanted
Replies: 2
Views: 3948

"SIMPLEQ_INIT" wanted

Hi ESP-IDF, I got some library that need "SIMPLEQ_INIT", which is normally defined in queue.h. I've figured out in queue.h, which can be find under "components/newlib/include/sys/" , does not have this macro. :oops: Have somehow supressed this error and let the code finished to compile. And I figure...
by Gfast2
Tue Mar 20, 2018 1:55 pm
Forum: General Discussion
Topic: Way of dynamic memory allocation detections
Replies: 6
Views: 9028

Re: Way of dynamic memory allocation detections

static memory usage by make size: Total sizes: DRAM .data size: 14728 bytes DRAM .bss size: 42488 bytes Used static DRAM: 57216 bytes ( 123520 available, 31.7% used) Used static IRAM: 43771 bytes ( 87301 available, 33.4% used) Flash code: 525519 bytes Flash rodata: 178052 bytes Total image size:~ 76...
by Gfast2
Tue Mar 20, 2018 1:51 pm
Forum: General Discussion
Topic: Is there any app to upgrade the code by using OTA?
Replies: 9
Views: 11383

Re: Is there any app to upgrade the code by using OTA?

Hi Daniel,

do you mean just a demo or a app running on smartphone?

If you means just a OTA demo:

Code: Select all

~/esp/esp-idf/examples/system/ota
is a demo update esp32 from a simple http webserver.

cheers

gfast2
by Gfast2
Tue Mar 20, 2018 1:32 pm
Forum: General Discussion
Topic: Way of dynamic memory allocation detections
Replies: 6
Views: 9028

Way of dynamic memory allocation detections

Hi ESP-IDF, After a long trip in my home town (Da Lian, China), I started my job here (Berlin, Germany) again. ;) Today I'd like to know how to track memory allocation (in real time)? I know there is a API call that track the free stack space: uxTaskGetStackHighWaterMark And other three command for ...
by Gfast2
Thu Jan 25, 2018 11:55 am
Forum: General Discussion
Topic: Task stack size
Replies: 4
Views: 25057

Re: Task stack size

I start with a safe / big enough stack size, then try to call
uxTaskGetStackHighWaterMark(NULL)
monitor how is the "High Water Mark", then lastely I shrink down the stack size I allocated before. 8192 is what I tried first normally.

Cheers

Gfast2
by Gfast2
Tue Jan 23, 2018 5:04 pm
Forum: General Discussion
Topic: Newbie Question about GPL V2 Licence
Replies: 6
Views: 6866

Re: Newbie Question about GPL V2 Licence

Hi WiFive,

I will give this a try later:
If you are in Berlin, I believe I will buy you "free beer(s)". If you can bear human like me by your side. I will give that a try too.

Cheers

Su Gao (Gfast2)
by Gfast2
Tue Jan 23, 2018 9:17 am
Forum: General Discussion
Topic: How to cut different log files on daily/size basis
Replies: 0
Views: 2310

How to cut different log files on daily/size basis

Hi ESP-IDF, I'm working on esp32 based project which will log all stuffs generated by "ESP_LOGx()" into files placed in SD card. Every one here is incredible helpful, and with the help of others I can now without any Problem log my trace into SD card. (Related Post is here) . And I do spend time rea...