Replies: 3 comments 1 reply
-
Heya @newHeiko just coming back to you on this one. If you ensure you have no "myAutomation.h" file, then this should already effectively do this for you. |
Beta Was this translation helpful? Give feedback.
-
Thanks for getting back to me, but no, at least for 5.0.0 on Arduino 1.8.19, it doesn't. I still get
I also just tried 5.0.7 on Arduino 1.8.19. Saves two bytes:
That's without myAutomation.h (not included in the https://github.com/DCC-EX/CommandStation-EX/releases/download/v5.0.0-Prod/CommandStation-EX-5.0.0-Prod.tar.gz anyway) and with the following config.h changes over the example:
I may well be doing something wrong (too large bootloader, maybe?) but I did get it to work by removing a couple of files and functions and commenting out the references to them (for example I removed DCCEXParser::parseT and DCCEXParser::parseS). It works for me, but it's a mess. If you want my changes, I can clean them up, but if you can say right away you're not interested, I'll save myself the time. Heiko |
Beta Was this translation helpful? Give feedback.
-
If you are not happy with 5.0.x (Prod), test then 5.2.x (Devel) series. Testing is already now a mess. The Uno is a dead end if you want more than simple functionality. Harald. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
First of all, thanks for the great project that is CommandStation-EX. I've loaded the 5.0.0 release onto an Arduino Nano with a "Nano L298p" standard motor shield to form a compact programmer / test running device, similar in usage to a SPROG. Wonderful.
To add an LCD, I had to save flash space, so I went axe-in-the woods and renamed files and commented out references to those files that I didn't need - anything turnouts, sensors and outputs.
Would you be interested in a PR to add #defines "DISABLE_SENSORS", "DISABLE_TURNOUTS" and "DISABLE_OUTPUTS" to config-example.h? If yes, I'll give cleaning up my mess a shot over the holidays, but if you can say right away that won't be accepted I don't want to waste my time on it either :)
Thanks again,
Heiko
Beta Was this translation helpful? Give feedback.
All reactions