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

432 Commits

Author SHA1 Message Date
Fred
c52610ae9c
Update platformio.ini 2020-09-26 14:55:19 -04:00
Fred
2929ce167b
Update platformio.ini
Add Ethernet library dependency when that is enabled
2020-09-26 14:34:59 -04:00
Asbelos
38fe65fcca Drop advanced feature samples from basic ino 2020-09-26 16:29:11 +01:00
Asbelos
c3e17fcf04 Add EthernetInterface (UNTESTED, UNCALLED)
Thanks to Gregor....I have modified his originals to eliminate the static initialisation memory loss. These do not show up in the object code if they are not referenced.
2020-09-26 12:01:00 +01:00
Asbelos
36e6c3cd48 Decouple WifiInterface from Parser
This removes the need for WifiInterfrace <+> command processing to be included in the link. so parser does not need to see the config settings for wifi.
If Wifi doesnt set the At command callback, parser will return <X> for a <+> command
2020-09-26 10:54:11 +01:00
Asbelos
162c7e6e11 UNTESTED Reduce #ifdef hell on wifi
This fix to the structure of the Wifi code alows for a better link optimisation and so it is no longer necessary for the wifi code or header to read values from the config.h file.

Compilation shows that >11Kb of code is eliminated by the linker if the setup and loop are not called.
~including the interface does not really change anything
2020-09-26 09:40:49 +01:00
Asbelos
411a6b1130 Move bulk includes out of .ino
I left config.h in the .ino so it shows the user that this will be necessary.
2020-09-26 08:49:51 +01:00
Asbelos
59d77f2362 Remove unnecessary #iddefs
These are only avoiding files that alrerady self-destruct... so they don't need to be avoided.
2020-09-26 08:42:24 +01:00
Asbelos
f76fb8d6c5 Merge branch 'feature/config' of https://github.com/DCC-EX/CommandStation-EX into feature/config 2020-09-26 08:10:55 +01:00
Asbelos
9ebe13828a Correct objdump 2020-09-26 08:10:43 +01:00
Harald Barth
bff7555102 NUM_SERIAL tells us how many serial lines to check 2020-09-25 22:49:53 +02:00
Harald Barth
6035e4d9ad Set preamblebits main to 16 and remove all preamble config from config.h 2020-09-25 22:27:37 +02:00
Harald Barth
32f1d7d890 Make all Wifi code disappear if Wifi is not enabled. 2020-09-25 22:14:20 +02:00
dexslab
bc8b01fbd6 Minor fixes start Uno Wifi Rev 2 fixes 2020-09-25 13:51:08 -04:00
Asbelos
b6b8bfb04d Fix Auto-poweron in blocking mode 2020-09-25 12:37:30 +01:00
Harald Barth
10495957dd remove things that do not need to be configurable 2020-09-24 11:59:01 +02:00
Harald Barth
9c5396bbc2 not worth the hassle 2020-09-24 11:27:21 +02:00
Harald Barth
812cee364f compiler warning 2020-09-24 11:06:57 +02:00
Harald Barth
1d47536501 Merge branch 'feature/config' of https://github.com/DCC-EX/CommandStation-EX into feature/config 2020-09-24 10:58:17 +02:00
Harald Barth
b810fb45c7 config.h only in .ino 2020-09-24 10:58:08 +02:00
Asbelos
caef013d35 Supply motor shield name for <s> 2020-09-24 09:51:09 +01:00
dexslab
0b603d4dfd Change motorshield back to whats in config, change from 1.2 version needed 2020-09-23 22:49:18 -04:00
FrightRisk
3d94d8347a Add support for 2 or 4 line LCD Display 2020-09-23 21:54:01 -04:00
FrightRisk
3df0ae16df Move version to its own .h file 2020-09-23 21:53:33 -04:00
dexslab
ff7fb3870b Fix for uno compile with wifi interface that is not needed and fix for compile on both motorshield type not being used properly 2020-09-23 17:54:47 -04:00
FrightRisk
ba79668a8f Add Ardunio and Motor Board types to <s> cmd 2020-09-23 15:17:01 -04:00
FrightRisk
00fb7c6d04 Merge branch 'feature/config' of https://github.com/DCC-EX/CommandStation-EX into feature/config
merge latest changes from remote
2020-09-23 12:05:56 -04:00
FrightRisk
dce241d1ae more experiments with dccexparser 2020-09-23 11:54:09 -04:00
Asbelos
737300796d Correct <+> command return 2020-09-23 16:22:20 +01:00
Harald Barth
da979a4492 Merge branch 'feature/config' of https://github.com/DCC-EX/CommandStation-EX into feature/config 2020-09-22 23:24:54 +02:00
Harald Barth
9e1d85f9bb make number of slots in Uno configurable 2020-09-22 23:24:30 +02:00
dexslab
623187281d Wifi baud how dare you 2020-09-22 17:15:27 -04:00
Harald Barth
9bb9fa5e84 rewrite freeMemory code 2020-09-22 23:10:52 +02:00
Harald Barth
cbd11e6099 Merge branch 'feature/config' of https://github.com/DCC-EX/CommandStation-EX into feature/config 2020-09-22 22:12:52 +02:00
Harald Barth
03c23abea2 Set default values meaning unconfigured 2020-09-22 22:11:50 +02:00
dexslab
d0ecfbc71c parenthesis are your firends 2020-09-22 16:02:11 -04:00
dexslab
c9bc63e659 Cleanup for wifi enabled and if on a mega 2020-09-22 15:59:34 -04:00
dexslab
37ab4d222f Fix for flash memory usage per Haba 2020-09-22 15:57:26 -04:00
dexslab
eb887fdbd2 Finish wifi interface fixes from serial123 branch, Fixes for flash string missing 2020-09-22 15:45:06 -04:00
dexslab
9ad8dd6cbd Implement Serial 123 Branch by hand due to merge conflicts 2020-09-22 15:20:33 -04:00
dexslab
28efc0ffef the start of new feature the config.h template including fix for github build action 2020-09-22 14:57:11 -04:00
Fred
283a988ba3
Update and rename readme.md to README.md 2020-09-21 11:35:14 -04:00
Fred
79136b784c
Merge pull request #37 from DCC-EX/Command-fixex
V fixes, R command and github sha.
2020-09-21 11:24:40 -04:00
Asbelos
ea785b4f07 V fixes, R command and github sha. 2020-09-20 00:59:07 +01:00
FrightRisk
b73d3a84a8 change platformio lib dependencies 2020-09-18 20:02:56 -04:00
FrightRisk
ae2869ba8d Rename .ino to match folder name and make changes for WiFi 2020-09-18 19:40:18 -04:00
FrightRisk
6eec133b24 Merge branch 'master' of https://github.com/DCC-EX/CommandStation-EX
merge cvreader into cs-ex
2020-09-18 17:42:29 -04:00
FrightRisk
2248c73379 remove readme file 2020-09-18 17:28:29 -04:00
FrightRisk
dab8dd08fe Delete files after moving to BS-FB to update this project with CVReader code 2020-09-18 17:06:41 -04:00
Asbelos
59febed37d <V> commands
UNTESTED
2020-09-18 00:04:42 +01:00