Neil McKechnie
538519dd9d
Add option to suppress I2C retries.
...
I2CRB method suppressRetries() added to allow retries to be suppressed.
2023-01-14 18:58:06 +00:00
Neil McKechnie
6e69df2da8
Add I2C retries to Wire and to non-blocking I2CManager.
2023-01-14 18:18:57 +00:00
Neil McKechnie
3c5b7bbcfe
HAL updates
...
Remove redundant deferment of device _begin() calls (no longer necessary).
Improve diagnostic loop measurement.
2023-01-14 17:15:30 +00:00
Neil McKechnie
79437bbf37
Update MotorDriver.cpp
...
Remove unnecessary and undesirable interrupt disable/enable when writing to HAL driver.
2023-01-14 17:10:45 +00:00
pmantoine
a6ae1a48a2
Fixed STM32F4xx MAC address simulation
2022-11-28 10:44:41 +08:00
pmantoine
913f0a0c86
STM32F412ZG/F446ZE serial support update
2022-11-27 21:04:49 +08:00
Harald Barth
984fd2fa08
select better bytes for the faked mac addr
2022-11-25 20:44:16 +01:00
Harald Barth
d062de2eb8
better pseudo random
2022-11-24 20:24:57 +01:00
Harald Barth
e1ec63464c
Merge branch 'devel' of https://github.com/DCC-EX/CommandStation-EX into devel
2022-11-23 22:45:59 +01:00
Harald Barth
aa02cd11e3
firebox disable, gcc flag for smaller binary
2022-11-23 22:44:29 +01:00
Neil McKechnie
ce5d546b9b
Update DCC.cpp to remove diagnostic code.
2022-11-22 17:26:11 +00:00
Neil McKechnie
644cb29a3a
Performance improvements in function DCC::issueReminders
...
Function issueReminders was taking around 1700us to complete. It has been refactored to optimise calculations and reduce the amount of the loco table that needs to be scanned each time. It now takes typically under 50us to execute.
2022-11-22 17:24:11 +00:00
Neil McKechnie
70203c3733
Fix to IO_DFPlayer.h - device was ignoring commands
...
The DFPlayer device does not like successive commands arriving to quickly after one another and may ignore a command. The driver has been modified to enforce a delay between commands by sending pad characters where necessary.
2022-11-22 17:15:13 +00:00
Harald Barth
f4aa572df2
Remove RAM thief
2022-11-18 20:19:53 +01:00
Harald Barth
01e5d49332
version
2022-11-16 00:14:54 +01:00
Harald Barth
6a3a891682
break to va_end()
2022-11-16 00:14:11 +01:00
Harald Barth
f5b48619bf
AVR Mega2560: Set timer reg ADCSRB correct
2022-11-16 00:13:31 +01:00
Harald Barth
4a3d8729c6
Merge branch 'devel' of https://github.com/DCC-EX/CommandStation-EX into devel
2022-11-09 00:52:31 +01:00
Harald Barth
d874ad8cc3
Make GETFLASHW code more universal
2022-11-09 00:52:07 +01:00
Harald Barth
bd8439c2f9
Fix: Roster indexing when sending to withrottle
2022-11-08 23:35:07 +01:00
pmantoine
65714ed1f2
Rename Nucleo build target
2022-11-08 07:48:35 +11:00
Harald Barth
280e61e1fc
Make EthernetInterface code more robust
2022-11-07 11:53:56 +01:00
Harald Barth
b061c0b347
version
2022-11-07 11:22:15 +01:00
Harald Barth
7f3d547541
Initialize outboundRing properly to NULL
2022-11-07 11:20:00 +01:00
Harald Barth
eb0861959c
version
2022-11-06 21:33:40 +01:00
Harald Barth
f1d445e056
Do not abort ethernet startup on W5100
2022-11-06 21:32:54 +01:00
Harald Barth
4f19a60621
number of ADC inputs was reversed
2022-11-06 21:30:32 +01:00
Harald Barth
2b3ba514b0
Use X as the questionmark sign in <T 17 X>
2022-11-05 23:11:54 +01:00
Harald Barth
a199de6d3e
Make <T nn ?> return long config print
2022-11-04 23:43:26 +01:00
Harald Barth
c0cb643cb5
When sending all turnouts, keep it short
2022-11-04 23:15:29 +01:00
Harald Barth
be2f3b0db7
Ethernet restructure
2022-11-04 16:08:43 +01:00
pmantoine
f939ea0768
Add MEGAAVR ADCeee skeleton.
2022-11-02 13:55:10 +08:00
pmantoine
863c839563
Add Teensy ADCee class skeleton.
2022-11-02 13:46:16 +08:00
Harald Barth
ee4963dfca
devel version string update
2022-10-31 19:43:55 +01:00
Asbelos
5e2b416c30
roster list half error
2022-10-31 19:38:49 +01:00
Asbelos
eed1237b9f
FIX Driveaway!
2022-10-31 19:14:33 +01:00
peteGSX
07f1d6fc20
Updated .gitignore ( #261 )
2022-10-31 19:13:43 +01:00
Harald Barth
45504db1ad
stacked motor shield example typo fix
2022-10-26 18:59:39 +02:00
Harald Barth
d60a55091f
Merge branch 'PORTX_HAL-cursense2' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL-cursense2
2022-10-25 12:01:13 +02:00
Harald Barth
90897ff2d1
stacked motor shield example
2022-10-25 11:59:29 +02:00
pmantoine
88c7e540fa
STM32 additional serial port support
2022-10-24 11:12:56 +08:00
pmantoine
888165e987
Skeletal ADCee class for STM32
2022-10-24 08:33:08 +08:00
pmantoine
57aa1457e0
GETFLASHW hack for SAMD/STM32
2022-10-23 17:49:39 +08:00
Harald Barth
1a67930af4
make tones like a Taurus
2022-10-22 00:48:53 +02:00
Harald Barth
604a69e0a8
version
2022-10-20 00:54:35 +02:00
Harald Barth
f56a9a2c43
compiler warning fixes and stupid cast for ESP toolchain
2022-10-20 00:53:05 +02:00
Harald Barth
56ed6ab6dc
free memory value updated on ESP
2022-10-20 00:52:19 +02:00
Harald Barth
9afce0a7df
change from xstrcmp to xstrncmp
2022-10-19 11:10:37 +02:00
Harald Barth
e8180603ba
version tag
2022-10-18 23:41:21 +02:00
Harald Barth
f792e07d40
remove possible RAM corruption and improve findUniqThrottle
2022-10-18 22:48:02 +02:00