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

282 Commits

Author SHA1 Message Date
Harald Barth
42c35a11e1 version 2022-08-06 00:35:54 +02:00
Harald Barth
01f129e25f version update 2022-08-05 18:49:35 +02:00
Harald Barth
67b14ec57d take into account that the reset packets are sent first #repeat packets into the future 2022-08-04 09:50:20 +02:00
Harald Barth
0301b78712 version update 2022-08-04 01:22:07 +02:00
Harald Barth
ee279c9a03 version update 2022-08-02 21:56:06 +02:00
Harald Barth
89905f8ed7 check ack in loop and update version 2022-08-02 16:32:21 +02:00
Harald Barth
167c5db1fe version which does MAIN on ESP32 2022-08-02 01:30:26 +02:00
Harald Barth
9d4e7903d5 version tag 2022-07-31 10:46:42 +02:00
Harald Barth
fb513b64f9 (c) and version tag 2022-07-30 23:08:42 +02:00
Harald Barth
ee639de5d6 fix diag bug, update version strings 2022-07-15 21:52:38 +02:00
Harald Barth
4833eaac65 move all arch dependent port register declarations to MotorDriver.h 2022-06-13 23:15:35 +02:00
Harald Barth
7fba96417f Merge branch 'TM_nofloat' into TM-mergetest 2022-06-11 22:14:56 +02:00
Harald Barth
808aa9aba9 show high accuracy status with track mode 2022-06-11 20:35:52 +02:00
Harald Barth
40dfda47c7 make usePWM per track (trackPWM) 2nd half 2022-06-11 19:57:45 +02:00
Harald Barth
62e471606d remember the base case 2022-06-07 00:18:48 +02:00
Harald Barth
0ab96d28c4 make compile on Uno 2022-06-06 23:45:28 +02:00
Harald Barth
d37e303bdc tag version 2022-06-06 23:34:40 +02:00
Harald Barth
016bc37b53 clean up getThrottleSpeed functions 2022-06-05 23:07:03 +02:00
Harald Barth
06e7ad5c53 prevent usage of pins for DC than can not do PWM 2022-05-25 09:28:28 +02:00
Harald Barth
55561188e1 reset speed and loosen brake 2022-05-24 08:07:33 +02:00
Harald Barth
55196c2e7d tag 2022-05-23 00:04:35 +02:00
Harald Barth
f8a19de9fb tag it 2022-05-13 01:22:00 +02:00
Harald Barth
f0e8419fea tag it 2022-05-13 01:16:40 +02:00
Dex
bd9a04572d Committing a SHA 2022-02-11 14:53:16 +00:00
Asbelos
22bf2b69f1 Committing a SHA 2022-02-04 15:33:26 +00:00
Harald Barth
1ec3b173fd Committing a SHA 2022-01-31 22:25:59 +00:00
FrightRisk
99a62883c7 Committing a SHA 2022-01-31 02:51:10 +00:00
Fred
eb6b14b848 Committing a SHA 2022-01-31 02:39:51 +00:00
Fred
75598b2b8b Committing a SHA 2022-01-30 17:31:41 +00:00
Harald Barth
05545321a9 Committing a SHA 2022-01-23 17:55:49 +00:00
Asbelos
509014bb6a Committing a SHA 2022-01-17 15:56:37 +00:00
Harald Barth
b4aa47a451 Committing a SHA 2022-01-15 16:24:52 +00:00
Asbelos
d5955a36bf Committing a SHA 2022-01-11 11:22:42 +00:00
Harald Barth
41cda58bef Committing a SHA 2022-01-08 20:47:13 +00:00
Harald Barth
5f878b5911 Committing a SHA 2022-01-07 01:41:00 +00:00
Harald Barth
00e3c80b44 Committing a SHA 2021-12-21 12:28:31 +00:00
Harald Barth
92591c8a2e Committing a SHA 2021-12-02 07:36:44 +00:00
Harald Barth
58afea135c Committing a SHA 2021-11-30 18:57:58 +00:00
Harald Barth
aa734b25e4 Merge branch 'disable-eeprom' into master 2021-11-30 19:45:33 +01:00
Florian Becker
419822ef06 Committing a SHA 2021-11-30 10:12:49 +00:00
Neil McKechnie
f05b3d1730 Committing a SHA 2021-11-24 13:02:35 +00:00
Asbelos
2be3e276f9 Committing a SHA 2021-11-24 12:02:40 +00:00
Harald Barth
a4f746c00c Warn for broken configs 2021-11-22 00:41:47 +01:00
Neil McKechnie
106fb612dc Committing a SHA 2021-11-21 17:56:29 +00:00
Neil McKechnie
d7fd9e1538 Committing a SHA 2021-11-15 16:16:55 +00:00
Neil McKechnie
fb97ba11de Committing a SHA 2021-11-12 00:09:59 +00:00
Harald Barth
0e78cf6e55 Committing a SHA 2021-11-07 23:20:28 +00:00
Harald Barth
89dcafb2d7 Committing a SHA 2021-11-07 16:04:52 +00:00
Harald Barth
d3381c6b2d Committing a SHA 2021-11-07 15:05:58 +00:00
Harald Barth
79ce71c2f9 Committing a SHA 2021-10-31 21:18:17 +00:00
Harald Barth
250c372f5c Committing a SHA 2021-10-29 20:30:40 +00:00
Harald Barth
f8fb08e331 Committing a SHA 2021-07-31 13:41:32 +00:00
Harald Barth
e2263b1e75 Committing a SHA 2021-07-31 13:35:39 +00:00
Harald Barth
d3ef5f53ae Committing a SHA 2021-07-24 19:22:25 +00:00
Neil McKechnie
129d1c2039 Committing a SHA 2021-07-22 20:49:33 +00:00
Neil McKechnie
88949358b4 Committing a SHA 2021-07-13 20:15:56 +00:00
Fred
29a4ad0072 Committing a SHA 2021-06-10 23:03:54 +00:00
Fred
915af8d981 Committing a SHA 2021-06-10 23:02:35 +00:00
Fred
766f88166c Committing a SHA 2021-06-10 18:24:13 +00:00
Ash-4
7851e7099c Committing a SHA 2021-06-10 18:23:17 +00:00
Fred
55cce0ef99 Committing a SHA 2021-06-10 18:07:16 +00:00
Neil McKechnie
75eefc7677 Committing a SHA 2021-06-10 15:25:03 +00:00
Fred
ac37228942 Committing a SHA 2021-05-16 02:13:48 +00:00
Fred
1807fe5c5f Committing a SHA 2021-05-16 02:12:24 +00:00
Fred
971732fce8 Committing a SHA 2021-05-16 01:51:24 +00:00
Fred
e12c3fc295 Committing a SHA 2021-05-16 01:45:54 +00:00
Fred
f75a6b47f9 Committing a SHA 2021-05-16 01:37:47 +00:00
Fred
0988340ff8 Committing a SHA 2021-05-16 01:36:41 +00:00
Dex's Lab
79a76e95b6 Committing a SHA 2021-05-15 04:20:02 +00:00
Dex's Lab
6766d95344 mend 2021-05-15 00:19:41 -04:00
Fred
fb3265a413 Committing a SHA 2021-05-15 04:04:22 +00:00
Fred
ebfde7cc81 Committing a SHA 2021-05-15 03:49:17 +00:00
Fred
a01d36c8e5 Committing a SHA 2021-05-15 03:43:28 +00:00
Fred
45a7efc935 Committing a SHA 2021-05-14 22:44:05 +00:00
Fred
9ec4f2d62a Committing a SHA 2021-05-14 22:19:25 +00:00
Fred
9fdd251a7b Committing a SHA 2021-05-14 17:34:12 +00:00
Fred
87cc8afdf9 Committing a SHA 2021-05-14 17:30:01 +00:00
Fred
7a68b0106d Committing a SHA 2021-05-14 00:29:09 +00:00
Fred
05da109144 Committing a SHA 2021-05-13 23:56:48 +00:00
Asbelos
1b1d8fceb4 Committing a SHA 2021-05-11 12:35:11 +00:00
Harald Barth
bce5acc8d0 Committing a SHA 2021-05-09 18:04:56 +00:00
Asbelos
7b2647ad81 Committing a SHA 2021-05-07 17:24:58 +00:00
Neil McKechnie
ebbe698e51 Committing a SHA 2021-05-06 23:12:48 +00:00
LarryD
9b4c374cd4 Committing a SHA 2021-04-27 15:02:30 +00:00
LarryD
9073aadab7 Committing a SHA 2021-04-27 15:01:27 +00:00
Asbelos
1d6e6ec10e Committing a SHA 2021-04-27 14:45:45 +00:00
LarryD
87481209ec Committing a SHA 2021-04-27 14:38:50 +00:00
Fred
83e4e4f6ee Committing a SHA 2021-04-27 14:38:18 +00:00
LarryD
b541614a19 Committing a SHA 2021-04-27 14:35:32 +00:00
LarryD
9ef0189ae8 Committing a SHA 2021-04-27 14:30:28 +00:00
LarryD
51491ac1e0 Committing a SHA 2021-04-27 14:28:06 +00:00
LarryD
dc200aab75 Committing a SHA 2021-04-27 14:26:21 +00:00
LarryD
5d0da81377 Committing a SHA 2021-04-27 14:23:45 +00:00
Fred
c27aa3a2d2 Committing a SHA 2021-04-20 13:31:38 +00:00
Neil McKechnie
ca7d728b81 Committing a SHA 2021-04-13 23:11:08 +00:00
Asbelos
b8b9b6d354 Committing a SHA 2021-04-12 08:19:20 +00:00
Harald Barth
813ad7e6a4 Committing a SHA 2021-04-06 20:11:40 +00:00
Harald Barth
2651934a75 Committing a SHA 2021-04-06 20:10:17 +00:00
Neil McKechnie
a86f0094a6 Committing a SHA 2021-04-03 22:22:38 +00:00
Neil McKechnie
192e8d9917 Committing a SHA 2021-04-03 10:39:34 +00:00
Neil McKechnie
07862ff933 Committing a SHA 2021-03-31 20:00:36 +00:00
Asbelos
b1d3f3200a Committing a SHA 2021-03-30 22:19:48 +00:00
Asbelos
0f5d1e7a51 Committing a SHA 2021-03-30 22:18:09 +00:00
Asbelos
2361704f0d Committing a SHA 2021-03-30 21:20:23 +00:00
Asbelos
76c2b5ae91 Committing a SHA 2021-03-25 15:18:44 +00:00
Asbelos
dd2260709d Committing a SHA 2021-03-24 10:37:04 +00:00
Asbelos
cfee1057c4 Committing a SHA 2021-03-24 10:02:39 +00:00
Fred
f8f80b18ca Committing a SHA 2021-03-23 14:37:31 +00:00
Harald Barth
f556cc5e1c Committing a SHA 2021-03-22 22:49:04 +00:00
Fred
180d5f5abb Committing a SHA 2021-03-19 02:48:33 +00:00
Fred
2f9d4429bc Committing a SHA 2021-03-19 02:46:48 +00:00
Fred
8b3ca6c2ff Committing a SHA 2021-03-17 00:47:12 +00:00
Neil McKechnie
174f8f209c Committing a SHA 2021-03-16 22:04:14 +00:00
Fred
05b225c352 Committing a SHA 2021-03-16 13:05:28 +00:00
Harald Barth
086336158f Committing a SHA 2021-03-14 21:17:25 +00:00
Harald Barth
25c2f06574 Committing a SHA 2021-03-12 21:14:36 +00:00
mstevetodd
d35529e94a Committing a SHA 2021-03-12 14:32:30 +00:00
Fred
fcd54b3a80 Committing a SHA 2021-03-11 19:54:48 +00:00
Asbelos
a8bd3df992 Committing a SHA 2021-03-11 14:00:43 +00:00
Neil McKechnie
f2c2e7ecaa Committing a SHA 2021-03-10 17:56:16 +00:00
Fred
6866216dfc Committing a SHA 2021-03-09 02:50:24 +00:00
mstevetodd
5d27da58b8 Committing a SHA 2021-03-09 02:46:24 +00:00
Fred
5f34fc396a Committing a SHA 2021-03-09 02:32:06 +00:00
Asbelos
f3d7851467 Committing a SHA 2021-03-08 13:53:35 +00:00
Asbelos
9562d1a3b9 Committing a SHA 2021-03-08 10:41:15 +00:00
mstevetodd
df4bae365d Committing a SHA 2021-03-07 21:57:19 +00:00
mstevetodd
7706e6560b
Update GITHUB_SHA.h 2021-03-07 16:57:05 -05:00
mstevetodd
090ece6e59 Committing a SHA 2021-03-07 21:51:23 +00:00
Fred
a072f3222b Committing a SHA 2021-03-07 20:58:54 +00:00
Fred
4861e592c7
Nano every2 (#129)
* Start adding back unowifi stuffz

* Uno Wifi compiling

* Fixes for compile arduino unowifi r2

* FlasString and Timers for Uno Wifi

ALL these changes should be portable back to master

* Remove extra timer that was already added

* Changed to EveryTimerB

* Add everytimerb.h

* Cleanup

* Linear address <a> cmd

* Allow lower case keywords

* Add the F define to be on safe side if it is not present in the library core code

* Clean simple Timer interface

Removes overkill files, puts all timer in a single small file. (DCCTimer)

* Timer port

* Timer working

And slow wave command removed

* Correcting non-portables merged from master

* Wave-state machine ( part 11)

* Microtuning waveform

Significant reduction in code paths and call overheads

* Current check cleanup

* Fix no-loco id

Has to handle -1 correctly

* fix wrong format letter

* redo flow through wifisetup again

* version++

* bugfixes wifi setup

* Retry harder for AP mode

* Remove unued if

* DIO2 replacement

Currently for writing signal pins during waveform.

* Drop analogReadFast (see DCCTimer)

AnalogRead speed set in DCCTimer for ease of porting.
Code tidy and diagnostics in MotorDriver

* UNTESTED fast power,brake,fault pins

* Distunguish between in/out of FASTPIN

* minor performance tweaks

* Config comments and example use

* Config/example loading

* IP/PORT on LCD

* Ethernet simulated mac

Plus fixed listening port

* Github SHA

* Committing a SHA

* Fix for nano compile

* Comments and a reliability fix.

* UnoRev2 protection

* PWM pin implementation

* fix wifi setup issue

* Reinstate IP_PORT

* Wifi channel and code cleaninga

* Reduce duplicated F() macros

Compiler isn't as clever as one might expect

* Committing a SHA

* Update config.example.h

Add comment to wifi channel section

* Committing a SHA

* Handle shields with common fault pins (Pololu)

* Committing a SHA

* remove warning

* Committing a SHA

* only do the sha generation on master

* yaml syntax

* Fast SSD1306 OLED driver

Incorporate code from SSD1306Ascii library to speed up OLED screen updates, reduce memory requirements and eliminate some library dependences.

* Fix auto-configure from cold boot.

Add call to Wire.begin().

* Update comment for OLED_DRIVER define.

* Update MotorDrivers.h

Add a motor board definition for using the IBT_2 board for a high current to the main track and keep the Arduino Motor Shield for operating the programming track.

* Committing a SHA

* Fix missing F  in motor drivers

* JOIN relay pin

* Swap Join Relay high/low

* Hide WIFI_CONNECT_TIMEOUT

This is not what the config suggests it is...  The timeout is in the ES and defaults to 15 seconds. Abandoning it early leads to confused setup.

* Enhance OLED/LCD speed

Write one character or position command per loop entry so as not to hold up the loop.  Add support for SH1106 OLED as 132x64 size option.

* Enhance OLED/LCD speed

* Delete comment about OLED on UNO.

* Trim unwanted code

* Handle display types correctly

* Update comments

* Speed up OLED writes

Add new flushDisplay() to end any in-progress I2C transaction.  Previously, an redundant command was sent that ended the in-progress transaction but also sent another complete, but unnecessary, transaction.

* Comments and copyright update

* Reduce RAM and flash requirement a few more bytes.

* Move statics into LCDDisplay class, and reduce RAM.

Some state variables were static in LCDDisplay.write().  Moved to class members.  Also, types of data items like row, column & character position changed to int8_t to save a few bytes of RAM.

* Type lcdCols and lcdRows to unsigned.

Since lcdCols is normally 128, it needs to be uint8_t, not int8_t.

* remove timeout from user config

* faultpin is common only if it exists ; make code prettier

* Rationalisation of SSD1306 driver

Merge SSD1306AsciiWire.cpp into SSD1306Ascii.cpp and rename SSD1306AsciiWire.h as SSD1306Ascii.h.
Merge allFonts.h into System5x7.h and rename as SSD1306font.h.
Move all SSD1306 files into root folder to facilitate compilation in Arduino IDE.

* Fix some font attributes as const.

* Remove unused initialisation sequences for tiny oled screens

* Add m_ to variables

* Bump up I2C speed

Speed was 100kHz (default).  Max for OLEDis 400kHz.

* Revert "Bump up I2C speed"

This reverts commit 1c1168f433.

* Bump up I2C speed

Speed was 100kHz (default). Max for OLEDis 400kHz.

* Drop duplicate DIAG

* ignore mySetup.h files

* Restore uno to default_envs

Restore uno (previously commented out) to default_envs.

* Update objdump.bat

Allows other editors as Notepad is very slow on large files

* Prog Track overload during cv read

* Faster LCD Driver

Extract LCD driver from library;
Trim unused functionality;
Reduce I2C communications to minimum;
Speed up I2C clock to 400kHz.

* Update config.example.h

Add IBT_2_WITH_ARDUINO to example config

* Update config.example.h

* Screen enhancements (#126)

* Add I2CManager to coordinate I2C shared parameters.

* Add use of I2CManager, and experimental scrolling strategies.

New scrolling capability by defining SCROLLMODE in Config.h to 0 (original), 1 (by page) or 2 (by line).  If not defined, defaults to 0.

* Scrolling updates

New scrolling capability by defining SCROLLMODE in Config.h to 0 (original), 1 (by page) or 2 (by line). If not defined, defaults to 0.
Reformat.

* Add I2CManager calls. Remove unnecessary delays.

* Add I2CManager calls, remove unnecessary I2C delays.

* SSD1306: Move methods from .h to .cpp and reformat.

* Fix compiler warning in LiquidCrystal_I2C

* Allow forcing of I2C clock speed.

New method forceClock allows the I2C speed to be overridden.  For example, if the I2C bus is long then the speed can be forced lower.  It can also be forced higher to gain performance if devices are capable.

* Make Config.h conditionally included.

Allow for non-existence of Config.h.

* Correct scrolling and allow longer messages

Correct the handling of scrolling in scrollmode 1 to avoid a blank page being displayed.  Also, allow MAX_MSG_SIZE to be optionally configured to override maximum message length on screens.

* compiler warning on uno

Co-authored-by: dexslab <dex35803@gmail.com>
Co-authored-by: Asbelos <asbelos@btinternet.com>
Co-authored-by: Harald Barth <haba@kth.se>
Co-authored-by: Neil McKechnie <neilmck999@gmail.com>
Co-authored-by: Neil McKechnie <75813993+Neil-McK@users.noreply.github.com>
2021-03-07 15:58:35 -05:00
Harald Barth
781d0325af Committing a SHA 2021-02-15 09:52:46 +00:00
Asbelos
ea785b4f07 V fixes, R command and github sha. 2020-09-20 00:59:07 +01:00