1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-06-08 17:25:24 +02:00

Commit Graph

  • 02ed7828c1 EX-RAIL bugfix: Could not read long loco addrs Harald Barth 2022-09-13 22:42:38 +02:00
  • 06bd80438e new version Harald Barth 2022-09-13 22:46:43 +02:00
  • cd15eed005 EX-RAIL bugfix: Could not read long loco addrs Harald Barth 2022-09-13 22:42:38 +02:00
  • 23d0158804 simplify EthernetInterface::setup, make code shorter and format according to our overall style Harald Barth 2022-09-05 22:19:18 +02:00
  • 2e9e614ad5
    Merge pull request #256 from bcsanches/master habazut 2022-09-05 20:34:11 +02:00
  • 64b1de08be Detects when ethernet cable is connected and is disconnected, also correctly handles EthernetServer tead down on such situations Bruno Crivelari Sanches 2022-09-05 14:23:54 -03:00
  • ad6c1384c9 EXRAIL bugfix, protect RANDWAIT from division by zero. Triggered by DELAYRANDOM(X, X+99) or less diff Harald Barth 2022-09-05 09:02:35 +02:00
  • 34c3d10767 Keep Ethernet singleton "alive" until connection is established. Bruno Crivelari Sanches 2022-09-03 17:16:33 -03:00
  • 7c4640ad91 STM32 Serial1 defs for F411RE and F446ZE pmantoine 2022-09-03 13:06:02 +08:00
  • c6866aba86 Fundumoto board does not have brake Harald Barth 2022-08-30 22:45:10 +02:00
  • a91152be95 example of motor shield that does brake on pwn and that reversed which equals out Harald Barth 2022-08-30 22:17:07 +02:00
  • 7d1d6bf1e1 make inverted power pin possible, lower DC frequency on Mega and for Uno if inverted def is used Harald Barth 2022-08-30 22:12:10 +02:00
  • cec6d6dbe7 need to ifdef that Harald Barth 2022-08-30 09:44:59 +02:00
  • 08427abe70 Workarounds for bugs and functionality not in the Arduino ESP32 package Harald Barth 2022-08-30 09:31:09 +02:00
  • 9dabf14aa3 ESP32: Experimental BT support, enable with #define SERIAL_BT_COMMANDS Harald Barth 2022-08-28 22:54:26 +02:00
  • 2f9c8faa77 ESP32: More WiFi diag Harald Barth 2022-08-28 19:44:07 +02:00
  • 86215b28ae Bugfix: Preserve direction all times when switching between DCC and DC Harald Barth 2022-08-23 07:56:56 +02:00
  • 827e4fef86 be consistent about that tripValue is already over limit Harald Barth 2022-08-22 08:48:33 +02:00
  • 43b7b5d797 adjust max current limit to ADC capability Harald Barth 2022-08-22 08:47:37 +02:00
  • 3c706926c5 more explanations to motor driver definitions and more conservative max current limit Harald Barth 2022-08-22 08:46:47 +02:00
  • a9ce9101e6 return success/fail from <f> and <F> command handling (setFn, parsef) Harald Barth 2022-08-20 18:15:18 +02:00
  • 58bac3dc51 revert adding space to power reply because of RtDriver app Harald Barth 2022-08-20 17:35:07 +02:00
  • 4fb53572f5 Diag outgoing messages on ESP32 Harald Barth 2022-08-20 11:45:29 +02:00
  • 11c5dc5f06 Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL Harald Barth 2022-08-19 17:04:03 +02:00
  • 5eb04f77a8 Replace FLUSH-SHOVE with broadcastReply() Harald Barth 2022-08-19 14:33:04 +02:00
  • 9d6931c438 Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL pmantoine 2022-08-17 15:28:54 +08:00
  • c2c51e32c3 Update STM32 timer 11 commentary pmantoine 2022-08-17 15:28:52 +08:00
  • 86538a4902 Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL Harald Barth 2022-08-17 09:20:18 +02:00
  • 04188926b4 Improve messages for power overload Harald Barth 2022-08-17 09:19:47 +02:00
  • 77cca8f6ee STM32 switch to Timer11 for DCC interrupts pmantoine 2022-08-17 14:29:02 +08:00
  • e36e867ec2 ESP32: implement JOIN Harald Barth 2022-08-17 02:11:51 +02:00
  • d3dbeaa666 bugfix: Wrong condition for ring->commit() Harald Barth 2022-08-17 00:28:15 +02:00
  • cadb82ab6b remove currently unused virtual functions Harald Barth 2022-08-16 22:32:27 +02:00
  • 1fc5f436fd Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL Harald Barth 2022-08-16 19:23:19 +02:00
  • 9633e77c0a move mark/commit into CommandDistributor::parse() Harald Barth 2022-08-16 19:22:19 +02:00
  • 5d415366d8 bigger ringstream on ESP32 Harald Barth 2022-08-16 12:43:38 +02:00
  • b9c1e779ae move WiFiESP::loop() to core 1 Harald Barth 2022-08-16 12:25:49 +02:00
  • 162e1f9d3e move ringClient into RingStream Harald Barth 2022-08-16 09:38:40 +02:00
  • ff28dbd561 no need to estop repeatedly Harald Barth 2022-08-15 10:50:55 +02:00
  • 60d91eef9d lots of diag Harald Barth 2022-08-15 10:49:56 +02:00
  • f0c2672835 Corrected comment in DCCTimer for STM32 pmantoine 2022-08-15 13:32:13 +08:00
  • 8cff51b913
    Merge pull request #252 from DCC-EX/add-EX-Turntable habazut 2022-08-14 00:47:35 +02:00
  • 9f27759a9c Add myEX-Turntable.example.h peteGSX 2022-08-14 07:11:38 +10:00
  • 0a6d023373 Add <D TT ...> ready to test peteGSX 2022-08-14 06:58:20 +10:00
  • d333a265f4 Add EX-Turntable to PORTX_HAL ready to test peteGSX 2022-08-14 06:48:03 +10:00
  • c49d11573c less verbose diag, version stamp Harald Barth 2022-08-13 18:38:51 +02:00
  • 82bcae627b Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL Harald Barth 2022-08-13 17:37:37 +02:00
  • 905b2c0148 protect from NULL pointer deref in ESP32 code when no MAIN rmt cannel is present Harald Barth 2022-08-13 17:36:53 +02:00
  • 4a84ea1b43 Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL pmantoine 2022-08-13 17:32:25 +08:00
  • 059fd1b193 Send inverted signal (DCC and DC mode) on ESP32 if signalPin2 defined in MotorDriver Harald Barth 2022-08-13 09:12:53 +02:00
  • da8b189b43 protect from NULL deref if running without prog track Harald Barth 2022-08-13 01:52:44 +02:00
  • 915de96e80 DC mode portability for ARM (SAMD21/STM32) pmantoine 2022-08-10 10:45:33 +08:00
  • a985356f0c version Harald Barth 2022-08-10 00:51:17 +02:00
  • c1993fba87 make DC mode portable to ESP32 Harald Barth 2022-08-10 00:14:28 +02:00
  • e1fd6e9414 disable ESP32 code that is not used Harald Barth 2022-08-09 16:26:48 +02:00
  • ecda69ba32 make sending loop ringbuffer to ESP32 Wifi more simple Harald Barth 2022-08-09 15:25:29 +02:00
  • 76c5608181 Protect port registers from change during interrupt code in differnet way Harald Barth 2022-08-09 13:12:04 +02:00
  • 84e44df47c Copyright addition pmantoine 2022-08-09 15:03:22 +08:00
  • db032d567d Update TEENSY copyright pmantoine 2022-08-09 14:57:33 +08:00
  • c9612984e8 STM32F411 fix to DCC period pmantoine 2022-08-09 12:28:15 +08:00
  • f56e3bec9e eliminate wrong ringread due to peek (eliminated peek as well) - new version Harald Barth 2022-08-08 13:00:53 +02:00
  • 966b9594ef version (milestone marker) Harald Barth 2022-08-07 20:14:26 +02:00
  • 186fd8adee implement Withrottle client handles to remember clients over reconnects Harald Barth 2022-08-07 20:12:42 +02:00
  • 5182bb171d ESP32 do not recycle client handles for now Harald Barth 2022-08-07 20:11:31 +02:00
  • caca265529 alternate implementation of DCC::issueReminders() Harald Barth 2022-08-07 20:05:40 +02:00
  • c115c441e4 ESP32 introduce NetworkClient class to hold state associated to WiFiClient Harald Barth 2022-08-07 01:24:41 +02:00
  • 6540ffee75 Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL Harald Barth 2022-08-06 19:23:57 +02:00
  • 76137ff24c send some answer to loco enquire even if no locos are found Harald Barth 2022-08-06 19:23:52 +02:00
  • 64a6412ce2 hearbeat 1s too agressive Harald Barth 2022-08-06 19:08:26 +02:00
  • 803db81c8f try to recover from ringbuffer read problem Harald Barth 2022-08-06 19:07:35 +02:00
  • af75297a23 I2CManager support for 1Mhz+ I2C speeds pmantoine 2022-08-06 18:06:00 +08:00
  • e7d8d320bd SAMD21 I2C native interrupt capable driver pmantoine 2022-08-06 17:51:13 +08:00
  • 17bdd2d724 Teensy build support, STM32F411RE first beta pmantoine 2022-08-06 16:53:14 +08:00
  • 42c35a11e1 version Harald Barth 2022-08-06 00:35:54 +02:00
  • 012d427c6e loop over WiThrottle so that broadcast commands get into outbound ring and get sent Harald Barth 2022-08-06 00:34:35 +02:00
  • 7551c2d2f6 Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL Harald Barth 2022-08-05 19:54:29 +02:00
  • 5f1a263158 do not make delete client conditional Harald Barth 2022-08-05 19:54:01 +02:00
  • 42ac954475 Forget withrottle client on disconnect Asbelos 2022-08-05 18:14:22 +01:00
  • 01f129e25f version update Harald Barth 2022-08-05 18:49:35 +02:00
  • 608c7547fb ESP32 Wifi AP mode no sleep Harald Barth 2022-08-05 16:14:51 +02:00
  • 5430711672 size send buffer for RMT channel including DCC checksum byte Harald Barth 2022-08-05 15:16:43 +02:00
  • 704fabd1a4 check M command against max DCC packet size Harald Barth 2022-08-05 15:15:42 +02:00
  • 6286f5fedf init trackPWM to false so that we do not get false positives later Harald Barth 2022-08-05 12:25:32 +02:00
  • 67b14ec57d take into account that the reset packets are sent first #repeat packets into the future Harald Barth 2022-08-04 09:50:20 +02:00
  • f57fd245a1 temp fix for counting packets code Harald Barth 2022-08-04 04:15:28 +02:00
  • 03c6f3ab24 Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL Harald Barth 2022-08-04 01:22:32 +02:00
  • 0301b78712 version update Harald Barth 2022-08-04 01:22:07 +02:00
  • 96f042897a Adopt setTrackMode to RMT channel pins Harald Barth 2022-08-04 01:21:28 +02:00
  • 7bad16dc59 ESP32 DCCWaveform::begin() bugfix for prog Harald Barth 2022-08-04 01:20:33 +02:00
  • 87fd1b887e ESP32 RMT pin add function Harald Barth 2022-08-04 01:19:11 +02:00
  • ad4a9d88b4 ESP32 platformio initial build info pmantoine 2022-08-03 16:21:58 +08:00
  • fad504bc7f extra catch for buggy compiler/preprocessor Harald Barth 2022-08-03 09:31:03 +02:00
  • 172dbfd444 make whole files ESP32 only Harald Barth 2022-08-03 08:57:34 +02:00
  • ee279c9a03 version update Harald Barth 2022-08-02 21:56:06 +02:00
  • 33327d14c9 Current reading for ACK and overload on ESP32 Harald Barth 2022-08-02 21:49:16 +02:00
  • 6167a949b6 approx conversion factor for 12bit ADC of ESP32 Harald Barth 2022-08-02 21:46:00 +02:00
  • df767aaa36 go back to idle/reset packet if nothing to do Harald Barth 2022-08-02 21:44:29 +02:00
  • 37ea688eab do compare with 255 right Harald Barth 2022-08-02 20:58:05 +02:00
  • 89905f8ed7 check ack in loop and update version Harald Barth 2022-08-02 16:32:21 +02:00
  • c7cf8246a7 make sentResetsSincePacket private to the class and replace all accesses with with methods Harald Barth 2022-08-02 15:57:45 +02:00