peteGSX
84431d1841
Fix mess after rebase and conflicts
2023-02-01 07:49:31 +10:00
peteGSX
e12c5292fa
Merge branch 'ex-io-28-feature-request-enable-pwm-support' of https://github.com/DCC-EX/CommandStation-EX into ex-io-28-feature-request-enable-pwm-support
2023-02-01 07:29:17 +10:00
peteGSX
e76197faa9
Brief PWM start
2023-02-01 07:26:03 +10:00
peteGSX
bdc8aec9a6
Refactored, analogue tested
2023-02-01 07:19:52 +10:00
peteGSX
052256e2ed
Refactored, analogue tested
2023-02-01 07:18:04 +10:00
Neil McKechnie
ba9b363058
I2CManager_NonBlocking - Defer I2C speed changes for all drivers
...
Following on from the change to I2CManager_SAMD.h, the capability of deferring a request to change the speed of the I2C has been removed from the SAMD driver and put into the common NonBlocking code, so that all native drivers benefit from it.
2023-01-31 18:39:15 +00:00
Neil McKechnie
bdffd36820
IODevice.h - change visibility of findDevice to protected.
...
To support nested drivers efficiently (i.e. to allow the higher driver to call another driver directly, without searching for a VPIN every time), the visibility of the IODevice::findDevice() function has been changed from private to protected.
2023-01-31 15:24:38 +00:00
Neil McKechnie
4d350040ba
I2CManager_SAMD.h - avoid bus hangs on speed changes
...
The speed change is deferred until the next transmission is about to start to avoid issues with the I2C module being disabled and enabled during a transmission.
2023-01-31 12:28:51 +00:00
peteGSX
1073e142e6
Add new drivers
2023-01-31 19:32:12 +10:00
peteGSX
a18c06d021
Cleaned up PWM start
2023-01-31 19:29:39 +10:00
Neil McKechnie
291a331f3e
Fix read operations on I2CManager for SAMD
2023-01-31 00:36:57 +00:00
peteGSX
77b20e6a16
Merge branch 'ex-io-28-feature-request-enable-pwm-support' of https://github.com/DCC-EX/CommandStation-EX into ex-io-28-feature-request-enable-pwm-support
2023-01-30 05:00:40 +10:00
peteGSX
1d27eb67e4
Brief PWM start
2023-01-30 05:00:31 +10:00
peteGSX
7f19a92d2a
Refactored, analogue tested
2023-01-30 05:00:31 +10:00
Harald Barth
7e4f9eb0e1
jT answer should contain empty string
2023-01-29 11:33:28 +01:00
Harald Barth
1f5eafbcca
Bugfix for issue #299 TurnoutDescription NULL
2023-01-29 11:32:54 +01:00
peteGSX
28caa9e8d3
Brief PWM start
2023-01-29 19:26:33 +10:00
Harald Barth
95945eab4c
version bump
2023-01-29 08:50:19 +01:00
Harald Barth
638682f05c
STM32F4xx fast ADC read implementation (merge branch 'stm32_adcee_pma' into devel)
2023-01-29 08:47:05 +01:00
peteGSX
ffb08523da
Merge branch 'ex-io-28-feature-request-enable-pwm-support' of https://github.com/DCC-EX/CommandStation-EX into ex-io-28-feature-request-enable-pwm-support
2023-01-29 17:18:33 +10:00
peteGSX
d8a1bcaf34
Refactored, analogue tested
2023-01-29 17:18:23 +10:00
Harald Barth
212bf8d80e
Broadcast power for <s> again
2023-01-29 08:13:52 +01:00
peteGSX
a17c02444d
Refactored, analogue tested
2023-01-29 10:06:01 +10:00
Harald Barth
290d878063
version
2023-01-28 19:09:16 +01:00
Harald Barth
2a7588b1b5
jT answer should contain empty string
2023-01-28 19:07:59 +01:00
pmantoine
be33bafa66
Fixed logic of ADC ready
2023-01-28 14:39:00 +08:00
pmantoine
6cc66e26c1
Initial STM32F4xx fast ADC read implementation
2023-01-28 13:58:55 +08:00
Harald Barth
c91d66549c
Remove warnings
2023-01-27 19:42:55 +01:00
Harald Barth
9e5d780c14
Bugfix for issue #299 TurnoutDescription NULL
2023-01-27 18:42:26 +01:00
Harald Barth
2c0886bc2f
version and copyright info
2023-01-27 17:03:39 +01:00
Harald Barth
762742b4af
Add the macro def
2023-01-27 13:05:36 +01:00
Harald Barth
88b572a148
Add EXRAIL IFLOCO function
2023-01-26 16:55:58 +01:00
peteGSX
fcf16c1367
Update version
2023-01-26 18:53:25 +10:00
Colin Murdoch
c69b8d85c8
Merge branch 'devel-plus-fastclock' into devel
2023-01-24 12:30:48 +00:00
Colin Murdoch
006c85e6ae
Delete platformio.ini.original
...
Delete file not required
2023-01-24 12:21:28 +00:00
Neil McKechnie
d0ce59b19f
I2CManager_Mega4809.h - allow other I2C clock speeds.
2023-01-24 09:35:10 +00:00
Neil McKechnie
a3d4255fee
Revert "I2CManager_Mega4809.h - allow other I2C clock speeds."
...
This reverts commit 682c47f7dd
.
2023-01-24 09:33:17 +00:00
Neil McKechnie
e8e00f69d6
Non-blocking I2C - reset byte counters on timeout.
2023-01-23 22:31:33 +00:00
Neil McKechnie
10c8915d33
Ensure correct functions are called for strcpy_P, strncmp_P, strlen_P etc. on non-AVR targets..
2023-01-23 22:28:43 +00:00
peteGSX
4f233de726
Merge pull request #297 from DCC-EX:31-exio-to-do-optimise-read-speed
...
31-exio-to-do-optimise-read-speed
2023-01-24 08:25:13 +10:00
Neil McKechnie
682c47f7dd
I2CManager_Mega4809.h - allow other I2C clock speeds.
2023-01-23 22:23:05 +00:00
peteGSX
4acf46db54
EX-IO reads optimised for speed
2023-01-24 08:17:43 +10:00
peteGSX
20b3e9064c
Analogue inputs functioning
2023-01-23 21:35:22 +10:00
peteGSX
459904e5dd
More analogue inputs
2023-01-23 20:12:28 +10:00
peteGSX
878549d538
Working on analogue inputs
2023-01-23 16:26:07 +10:00
peteGSX
7f4e3d9cea
Digital inputs optimised
2023-01-23 11:49:23 +10:00
peteGSX
f2aeb4069f
Merge pull request #296 from DCC-EX:294-bug-report-ex-rail-signalsignalh-inverted
...
294-bug-report-ex-rail-signalsignalh-inverted
2023-01-23 04:59:54 +10:00
peteGSX
aaf25d5426
Remove excess comments
2023-01-23 04:53:39 +10:00
Neil McKechnie
705617239f
Sort out I2C timeout handling, and further I2C diagnostics.
...
Timeout handling and recovery in loop() function now operative.
Start-up check for I2C signals short to ground added.
Initial I2C device probe speed up.
Possible infinite loops in I2C AVR native driver during fault conditions removed.
2023-01-22 13:13:20 +00:00
Neil McKechnie
bfbc45674f
Update IO_AnalogueInputs.h
...
Add I2C initialisation calls (previously missing).
2023-01-22 12:38:24 +00:00