* CAN-bus library for STM32
This adds CAN-bus library for STM32. Mainly for STM32F4, but others can be added later.
* CAN2 and F446 support added for STM32 CAN library
Adds support for second can interface and F446 bit timings.
* Fix STM32 CAN pin selection and STM32F1 support
The previous way to select CAN pins wasn't actually working, so this fixes that problem and also the F1 support too.
* Fix building for Mega/Teensy
* Update cancomms.ino
* Update speeduino.ino
* STM32 CAN library fixes
* TX mailbox addition
Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
* CAN-bus library for STM32
This adds CAN-bus library for STM32. Mainly for STM32F4, but others can be added later.
* CAN2 and F446 support added for STM32 CAN library
Adds support for second can interface and F446 bit timings.
* Fix STM32 CAN pin selection and STM32F1 support
The previous way to select CAN pins wasn't actually working, so this fixes that problem and also the F1 support too.
* Fix building for Mega/Teensy
* Update cancomms.ino
* Update speeduino.ino
* STM32 CAN library fixes
Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
* fix building for STM32F401CC and general macro cleanup
* Now building for all generic STM32F4x7 boards in arduino IDE is ok.
* buildflag cleanup
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
* STM32 jump to DFU
This enable jumping to hardware bootloader with software command.
Based on @iLeeeZi previous work.
Co-Authored-By: iLeeeZi <3372213+iLeeeZi@users.noreply.github.com>
Co-Authored-By: Pasi Kemppainen <48950874+pazi88@users.noreply.github.com>
* lowercase functions fixes
Co-authored-by: iLeeeZi <3372213+iLeeeZi@users.noreply.github.com>
Co-authored-by: Pasi Kemppainen <48950874+pazi88@users.noreply.github.com>
Reducing the minimum limit of barometric pressure (when using map as baro sensor)
The highest motorable road is "Khardung La" with 49 kPa barometric pressure but I think 65 kPa is a safer limit than that.
maybe it needs to be customizable in TS ?
* Added pinIsReserved macro
Function used to don't initialize reserved pins such as USB on ARM boards, each pin must be defined on board.h file
* Update board_teensy35.h
Include Serial and CAN0 pins
* Squashed commit of the following:
commit c73f316fa5bf8c929a8fef5736f4a40045ea992f
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Wed Nov 25 21:53:45 2020 +0100
cleanup and fix merge issues
commit 57f1e8c6c73bcfb699b18ac51a2ec646be822f55
Merge: 04478ca 131673d
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Wed Nov 25 18:59:58 2020 +0100
Merge branch 'Closedloop_idle_improvements' into ClosedLoopIdleImprovement
commit 131673dc60417cbc773b0763d2f93e917c83325f
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Sun Nov 22 21:54:03 2020 +0100
more fiddeling with idle control
commit e4406166cde91552027a0dfb7958d6894098f066
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Sun Nov 22 20:36:24 2020 +0100
More fiddeling with idle control
commit 45822003d41e021e3ed93e8e14ce05479ddfd17b
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Sat Nov 21 14:59:32 2020 +0100
fix initial value
commit ff8fadae7844bd8e5934ee0f311fbf5e0842ec29
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Thu Nov 19 23:14:14 2020 +0100
add TPS limit to prevent integeral windup.
commit 7683b2e65569787b1c94eae6f4847cdadd394402
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Thu Nov 19 22:40:53 2020 +0100
cleanup idle.h
commit da55ee9dbd76d65608bfb5b950bc948a498b9599
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date: Thu Nov 19 22:36:18 2020 +0100
Further improvement simplifying code for closedloop PID control with feedforward.
make PWM output work
Tinkering new Idle control
working on closedloop idle
Initial work on improving closed loop Idle control
* reset platformio.ini
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
* CAN-bus library for STM32
This adds CAN-bus library for STM32. Mainly for STM32F4, but others can be added later.
* CAN2 and F446 support added for STM32 CAN library
Adds support for second can interface and F446 bit timings.
* Fix STM32 CAN pin selection and STM32F1 support
The previous way to select CAN pins wasn't actually working, so this fixes that problem and also the F1 support too.
* Fix building for Mega/Teensy
* Update cancomms.ino
* Update speeduino.ino
Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
* Temporary fix for Teensy CanBus ALT pins being set and not possible use pins 29 30 for other stuff.
* Add comment indicating why the setRX/TX calls are needed
Co-authored-by: Josh Stewart <josh@noisymime.org>