1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-25 00:56:13 +01:00
Commit Graph

2187 Commits

Author SHA1 Message Date
Harald Barth
ec4455ae93 remove angles 2021-03-22 23:47:32 +01:00
Fred
180d5f5abb Committing a SHA 2021-03-19 02:48:33 +00:00
Fred
fc3b21e5c5
Update release_notes.md 2021-03-18 22:48:14 -04:00
Fred
2f9d4429bc Committing a SHA 2021-03-19 02:46:48 +00:00
Fred
aaa1eb5385
Update release_notes.md
Add nanoEvery2 changes when it merged to master
2021-03-18 22:46:29 -04:00
Fred
8b3ca6c2ff Committing a SHA 2021-03-17 00:47:12 +00:00
Fred
92ef42b596
Update release_notes.md 2021-03-16 20:46:54 -04:00
Harald Barth
2f860e594c clearer binary arith. 2021-03-16 23:20:30 +01:00
Neil McKechnie
174f8f209c Committing a SHA 2021-03-16 22:04:14 +00:00
Neil McKechnie
42fdf4fed3
Merge pull request #137 from DCC-EX/neil-LCDfix
Ensure loop2() doesn't run during initialisation if there's no display.
2021-03-16 22:03:56 +00:00
Neil McKechnie
1cc147cc98 Ensure loop2() doesn't run during initialisation if there's no display.
Prevent loop2 from doing anything when lcdDisplay not set up.  If there's a display configured but not one attached, then the OLED code will set lcdDisplay to null and no display will be configured or used by the loop() function.  However, because of the way the initialisation code works, loop2() is called during initialisation.
2021-03-16 22:02:39 +00:00
Harald Barth
46d0304ce0 28 speed steps as global debug option 2021-03-16 22:51:33 +01:00
Fred
05b225c352 Committing a SHA 2021-03-16 13:05:28 +00:00
Fred
c9ade73376
Update release_notes.md 2021-03-16 09:05:10 -04:00
Harald Barth
55cdbbbb66 28 speed step prototype 2021-03-16 10:59:14 +01:00
Harald Barth
086336158f Committing a SHA 2021-03-14 21:17:25 +00:00
Harald Barth
f2891ee348 make generates MAC addr compliant with the IEEE standard by setting the Locally Administered bit and clearing the Group Adress bit 2021-03-14 22:15:48 +01:00
Harald Barth
25c2f06574 Committing a SHA 2021-03-12 21:14:36 +00:00
Harald Barth
98071602c3 Bugfix: Transmit packages of size MAX_PACKET_SIZE (5) as well 2021-03-12 22:12:13 +01:00
mstevetodd
d35529e94a Committing a SHA 2021-03-12 14:32:30 +00:00
mstevetodd
9e49167be9
Merge pull request #134 from DCC-EX/EDdriveaway
ED driveaway
2021-03-12 09:31:21 -05:00
Asbelos
cec26c47e2 Catch up with Steves change 2021-03-12 10:38:30 +00:00
Fred
fcd54b3a80 Committing a SHA 2021-03-11 19:54:48 +00:00
Fred
ad4095fb04
Update release_notes.md 2021-03-11 14:54:29 -05:00
Asbelos
a8bd3df992 Committing a SHA 2021-03-11 14:00:43 +00:00
Asbelos
933eab5f2d Ban mixed wifi/ethernet 2021-03-11 13:58:58 +00:00
Asbelos
c51b445e41 unjoin automatically 2021-03-11 13:35:47 +00:00
Neil McKechnie
f2c2e7ecaa Committing a SHA 2021-03-10 17:56:16 +00:00
Neil McKechnie
62b17d4a71
Merge pull request #133 from DCC-EX/neil-updates
Protect minimum memory threshold against interrupts.
2021-03-10 17:55:55 +00: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
def6c24bac Remove redundant option for memory monitoring.
Memory monitoring now enabled always.
2021-03-09 23:39:25 +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
Asbelos
4f7d3a5cfc ED Drive away from prog track featuire 2021-03-09 20:44:44 +00:00
Neil McKechnie
0880507d89 Make memory monitoring non-optional. 2021-03-09 10:38:48 +00:00
Neil McKechnie
62f1c04ee3 Revert "Add optional loop time monitor."
This reverts commit 7a2beda2a9.
2021-03-09 10:30:20 +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
Fred
6866216dfc Committing a SHA 2021-03-09 02:50:24 +00:00
Fred
e67ab2b05f
Update version.h 2021-03-08 21:50:11 -05:00
mstevetodd
5d27da58b8 Committing a SHA 2021-03-09 02:46:24 +00:00
mstevetodd
79a318b455
fix initial fn strings, return value of F16-F28 (#132)
* Committing a SHA

* fix initial fn strings, return value of F16-F28
2021-03-08 21:46:08 -05:00
Fred
5f34fc396a Committing a SHA 2021-03-09 02:32:06 +00:00
Fred
c34c93c2cc
Update platformio.ini
Remove dependency on DIO2 in PlatformIO.ini
2021-03-08 21:31:48 -05:00
Neil McKechnie
7a2beda2a9 Add optional loop time monitor.
By defining ENABLE_LOOP_MEASUREMENT as true in config.h, the loop measurement will be enabled.  This measures the time between successive executions of the main CS loop to help identify if something is taking too long and holding up the other loop functions.
2021-03-08 15:32:40 +00:00
Asbelos
f3d7851467 Committing a SHA 2021-03-08 13:53:35 +00:00
Asbelos
809b54d9f0
Merge pull request #131 from DCC-EX/neil-freemem
More conservative memory monitoring
2021-03-08 13:53:17 +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
Asbelos
9562d1a3b9 Committing a SHA 2021-03-08 10:41:15 +00:00