Search found 24 matches

by greengnu
Wed Nov 20, 2019 9:16 pm
Forum: General Discussion
Topic: write to external SPRAM from interrupt?
Replies: 1
Views: 490

write to external SPRAM from interrupt?

Is it valid to write (without reading back) to PSRAM while within an interrupt?

My code works, I'm just not sure if it's well-defined/legal or not.
by greengnu
Tue Nov 19, 2019 7:20 pm
Forum: ESP32 Arduino
Topic: Arduino Release compiled as Debug build
Replies: 1
Views: 674

Arduino Release compiled as Debug build

I just noticed that the released Arduino framework has been compiled as Debug build.

After compiling it myself as Release build, my app runs a lot faster.

Is this an oversight or is there a reason for this?
by greengnu
Mon Nov 18, 2019 2:32 pm
Forum: General Discussion
Topic: SPIRAM heap allocation
Replies: 3
Views: 827

Re: SPIRAM heap allocation

Does that mean there's currently no automatic handling of this and if more than 4MB of external ram should be used then one needs to meticulously map and unmap the ranges used by hand?
by greengnu
Mon Nov 18, 2019 11:08 am
Forum: General Discussion
Topic: SPIRAM heap allocation
Replies: 3
Views: 827

SPIRAM heap allocation

I have a ESP32-D0WD with 8MB of external ram. When I run my program, this is the start of the output I get: [0;32mI (621) boot: Disabling RNG early entropy source...␛[0m ␛[0;32mI (621) psram: This chip is ESP32-D0WD␛[0m ␛[0;32mI (626) spiram: Found 64MBit SPI RAM device␛[0m ␛[0;32mI (631) spiram: SP...
by greengnu
Fri Nov 15, 2019 3:24 pm
Forum: General Discussion
Topic: where is libatomic?
Replies: 5
Views: 1615

Re: where is libatomic?

but functions like __atomic_load_8 could still be implemented using semaphores - so just because the hardware doesn't support it doesn't mean the functionality gotta be missing from the library
by greengnu
Tue Nov 12, 2019 11:49 am
Forum: General Discussion
Topic: Meditation Guru exception on SLIST_FOREACH
Replies: 5
Views: 1014

Re: Meditation Guru exception on SLIST_FOREACH

Can you post the error and decoded call stack?
by greengnu
Sat Nov 09, 2019 1:42 am
Forum: Hardware
Topic: Connect multiple esp32?
Replies: 2
Views: 711

Re: Connect multiple esp32?

Where can I read about these attempts?
by greengnu
Fri Nov 08, 2019 11:09 pm
Forum: Hardware
Topic: Connect multiple esp32?
Replies: 2
Views: 711

Connect multiple esp32?

Would it be possible and practical to connect two or more ESP32-D0WD to the same flash and spram in order to get additional computing cores or is this fundamentally impossible/not practical for some reason?
by greengnu
Thu Nov 07, 2019 11:17 am
Forum: General Discussion
Topic: How is it possible that the ESP32 is so cheap?
Replies: 6
Views: 1478

Re: How is it possible that the ESP32 is so cheap?

If a 200mm processed silicon wafer costs $1000 and esp32 has a die area of 8mm2 then the cost per chip is somewhere around 30c so it is possible. By that logic a 28-core intel xeon platinum should cost 20$ instead of 13'000$. How do you pay for all the engineering, marketing, legal cost etc. etc. t...
by greengnu
Thu Nov 07, 2019 11:05 am
Forum: General Discussion
Topic: Is it recommended/practical to use C++ instead of plain C ?
Replies: 12
Views: 2474

Re: Is it recommended/practical to use C++ instead of plain C ?

Absolutely. The esp32 is a little powerhouse, no problem using c++. You may want to override the new operator or use placement new to have more control over which ram you want to use (internal or external) though.

Go to advanced search