Harald Barth
75dffd9dfa
first ESP32 compile
2021-10-05 10:39:08 +02:00
Harald Barth
cf0c818138
Cleanup ESP specific details
2021-10-01 09:09:30 +02:00
Harald Barth
b048879eaa
Wifi active
2021-09-25 23:18:10 +02:00
Harald Barth
7397a4089b
first waveform on esp
2021-09-21 00:31:05 +02:00
Mike S
8e63c452b2
Fix a few bugs as a result of latest version
2021-03-25 14:02:33 -04:00
Neil McKechnie
0b3c0bfe9e
Update freeMemory.cpp
...
Add explanatory comment.
2021-03-10 10:33:42 +00:00
Neil McKechnie
eb54c78d74
Change initial value for free memory.
...
Change initial value from 32767 (maximum value of a 16-bit signed integer) to __INT_MAX__ (compiler-defined maximum value for an int).
2021-03-09 23:41:33 +00:00
Neil McKechnie
163dd270e8
Memory monitoring updates
...
Split update from read value;
Inhibit interrupts when reading (normally done from loop code);
Don't inhibit interrupts when updating (normally done from interupt code);
Make freeMemory() local and ask for inline code generation.
2021-03-09 22:43:41 +00:00
Neil McKechnie
7954c85b7d
Update freeMemory.cpp
2021-03-09 10:27:38 +00:00
Neil McKechnie
fab05bac79
Update freeMemory.cpp
...
Inhibit interrupts while updating/reading minimum_free_memory as it is accessed from interrupt handler.
2021-03-09 10:13:04 +00:00
Neil McKechnie
609d3d13de
Mark minimum_free_memory volatile.
2021-03-08 13:25:13 +00:00
Neil McKechnie
ddc55690f3
More conservative memory monitoring
...
Add function to maintain a minimum value seen of free memory. Add call to it in DCCWaveform interrupt handler (assumed to be the likely worst case for stack usage). Report this minimum value in main loop.
2021-03-08 13:09:09 +00:00
Harald Barth
9bb9fa5e84
rewrite freeMemory code
2020-09-22 23:10:52 +02:00