1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-04-21 20:41:19 +02:00

Commit Graph

  • 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
  • 863f2f4a85 eliminate resetsCounterP/setResetCounterPointer and replace with isProgTrack/makeProgTrack method Harald Barth 2022-08-02 15:36:51 +02:00
  • 6b2cd226e2 provide methods to access sentResetsSincePacket Harald Barth 2022-08-02 15:13:29 +02:00
  • 07600274f1 count packets sent by RMT HW Harald Barth 2022-08-02 12:42:20 +02:00
  • 167c5db1fe version which does MAIN on ESP32 Harald Barth 2022-08-02 01:30:26 +02:00
  • 2c24bbee17 typo in DIAG Harald Barth 2022-08-02 01:26:02 +02:00
  • b09dba1213 Make packetPending private and new access routine. Implement schedulePacket without packetPending variable for ESP32 Harald Barth 2022-08-02 01:24:01 +02:00
  • 33c9155f6e Make own interrupt routine selection array as RMT api only can have one interrupt routine with one argument Harald Barth 2022-08-02 01:22:36 +02:00
  • e5ce76e703 idle waveform through RMT Harald Barth 2022-08-01 22:56:56 +02:00
  • 7a123e7e17 make service start to be outside the DONT_TOUCH_WIFI_CONF area Harald Barth 2022-07-31 23:07:19 +02:00
  • f2eb64fd21 make service start to be outside the DONT_TOUCH_WIFI_CONF area Harald Barth 2022-07-31 23:07:19 +02:00
  • ed1b451b85 ESP32 Wifi "good to have" commands Harald Barth 2022-07-31 13:35:25 +02:00
  • 90d6ff43c5 on ESP32 wifiloop is an own task Harald Barth 2022-07-31 13:31:58 +02:00
  • 9d4e7903d5 version tag Harald Barth 2022-07-31 10:46:42 +02:00
  • eeb70293e0 disable ringstream read from flash Harald Barth 2022-07-31 10:42:03 +02:00
  • 024c8fc199 repair peek Harald Barth 2022-07-31 10:41:27 +02:00
  • ddc0c5ac3c new ringstream peek inline Harald Barth 2022-07-31 09:41:46 +02:00
  • 8916d1415f Revert "add RinStream::peek()" Harald Barth 2022-07-31 09:23:02 +02:00
  • 2ad0d7ab76 ESP32 wifi should not sleep, otherwise auth errors Harald Barth 2022-07-31 09:20:34 +02:00
  • 3f0b3ccaf7 ESP32 wifi added to startup and loop Harald Barth 2022-07-31 08:49:12 +02:00
  • bdd87e7399 wifi 2nd try kludge Harald Barth 2022-07-31 08:47:58 +02:00
  • 3aef54c0fe add RinStream::info() Harald Barth 2022-07-31 00:53:26 +02:00
  • 26fc11d1a6 add RinStream::peek() Harald Barth 2022-07-31 00:50:59 +02:00
  • d29219f858 ifdef whole file Harald Barth 2022-07-31 00:23:19 +02:00
  • 06647ae7e4 make RMT channel compile without dccpacket class Harald Barth 2022-07-31 00:18:35 +02:00
  • ca84cd2ea6 Merge ESP32 files of branch 'ESP32-checkpoint' into PORTX_HAL Harald Barth 2022-07-31 00:15:38 +02:00
  • fb513b64f9 (c) and version tag Harald Barth 2022-07-30 23:08:42 +02:00