Commit Graph

2511 Commits

Author SHA1 Message Date
Josh Stewart 95b8e6ee75 Signatures for 202108 release 2021-08-09 23:05:32 +10:00
Pasi Kemppainen 4e46da16d2
Small bug fix (#629) 2021-08-09 22:57:55 +10:00
Josh Stewart 7fe55037dc Remove remaining base tunes 2021-08-09 21:31:23 +10:00
Josh Stewart 9849b6a74f Remove old datasheets from repo 2021-08-09 21:23:01 +10:00
Josh Stewart 16b642d630 Remove the (non-functional) tacho sweep option from GUI 2021-08-09 16:35:57 +10:00
Josh Stewart 111fe95846
Fix badges on README 2021-08-09 16:11:59 +10:00
Josh Stewart 60cbf0c6da Merge branch 'master' of https://github.com/noisymime/speeduino 2021-08-01 23:02:09 +10:00
Josh Stewart 1560dd8308 Engage closed loop boost based on baro rather than fixed 100kpa 2021-08-01 23:02:05 +10:00
Vitor Moreno B. Sales 43f2ce594c
Fix for disable maximum output time (#622) 2021-07-29 21:00:43 +10:00
Vitor Moreno B. Sales b6147b65b0
AE graph unit for O2 sensor (#617) 2021-07-22 13:53:51 +10:00
Josh Stewart a5f7cc162b Merge branch 'master' of https://github.com/noisymime/speeduino 2021-07-22 11:57:39 +10:00
Josh Stewart d8f7f8d21d Force Teensy platform to the latest 1.54 2021-07-22 11:57:33 +10:00
Vitor Moreno B. Sales b5c6127028
Add delay option for idle advance (#601)
* Make idle advance respect delay

Also increased resolution to half second.

Remove code duplication, removed unnecessary math

* Add a new configurable delay

* Fix copy paste error

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-07-19 18:03:07 +10:00
Vitor Moreno B. Sales cd9092517c
Allow negative angle on flat shift (#600) 2021-07-19 09:35:42 +10:00
tx_haggis ef03225c32
INI file fixes (#615)
* Add missing commas

* Missing closing brace

* Missing &

Was using bitwise comparison (&): looks like it should be boolean (&&)

* Remove extra closing brace "}"

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-07-19 09:14:45 +10:00
Vitor Moreno B. Sales 118e3d40a5
Enhanced programmable outputs (#589)
* Enhanced programmable outputs

Added possibility to set minimum programmable output time.

Added names for the comparators to make it more user friendly, TS will complain about the change for existing tune.

Added more possibilities

Added possibility to set a minimum or a maximum output time

Added possibility to combine any number of rules or all of them

I got a lot of requests for this feature.

Keeps the RAM usage the same.

fix

* Fixed maximum timing

* Fix STM32 build
2021-07-19 09:11:04 +10:00
Pasi Kemppainen 0e3514980e
Add RPM switch point for instantaneous map sample method. (#572)
* Add RPM switch point for instantaneous MAP reading

* Add descriptions and other stuff to make PR

* Add suggested changes

* Use RPMdiv 100 for reading switch point

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-07-19 09:07:44 +10:00
Pasi Kemppainen f776c4b170
STM32F407 pinout BMW PnP board (#538)
* Pin mapping for BMW PnP boards

BMW PnP pin mapping to support 6cyl fully seqvential. Basically same as v0.4 pin mapping, but in addition there is correct pins for ign/inj 5-6.

* F407 pinout

Not finished

* Added VSSpin to the pin definition

* Added also missing baro sensor pin

* F407 pinout to match my MEGA replacement board

* Fix small typo

* STM32F407 pinout

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2021-07-18 20:01:11 +10:00
DylanRooijakkers 49a251432c
Boost by Gear (#573)
* Boost by Gear

* Minor changes to PR

- Changed *2 into bitwise operator
- Reserved 1 extra bit for boostByGearEnabled for 2 additional boost by gear modes in the future

* Added mode to set percentage of boost target table
2021-07-18 10:37:16 +10:00
Josh Stewart 68997257c2 Fix char type in Fram 2021-07-17 10:03:02 +10:00
Josh Stewart e2d486a116 Add filter for Flex sensor (Eth% and fuel temp) 2021-07-17 09:42:58 +10:00
Josh Stewart 20560e654f Fix cancomms array typo. Fixes #610 2021-07-10 09:06:01 +10:00
adamg-86 41a7bcfe84
fix the afterstart enrichment table display in TS (#568) 2021-07-08 17:13:07 +10:00
adamg-86 7eced4cd3e
Added values to CANcomms (#588)
* added status values to CANcom

I added the missing status value to CANcomms to be able to acces them via serial.

* Revert "added status values to CANcom"

This reverts commit 2d0abb9f36.

* added status values to CANcomms

added values to CANcomms to be able to acces them via serial

* corrected the number of values

* fixed the packet size

* change order and some values

I removed some status and added some

* comments and remove double

remove some status that where there two times and added comments for status1, 2, 3, 4
2021-07-08 17:10:53 +10:00
Tjeerd dabf4d1caf
Fix for OL+CL (#566)
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2021-07-06 23:31:50 +10:00
Josh Stewart dfce7572a0 Merge branch 'master' of https://github.com/noisymime/speeduino 2021-07-06 20:32:22 +10:00
Josh Stewart 5b6d280773 Add Microsoft temp files to gitignore 2021-07-06 20:32:18 +10:00
Zeiberstein 823a5ea3ad
Update table.ino (#585)
Simplify interpolation for table2D data.
2021-07-06 08:55:27 +10:00
shiznit304 63b2a08234
Disable EGO during DFCO (#605)
* Update README.md

* updated memere

* Added RPM target adder for Idle Up

* Update corrections.ino

* fixed idle up rpm adder logic

* idleUpRPMAdder code rewrite

* PWM CL and OLCL fix

* removed unused variable

* Revert "Add missing commas (#571)"

This reverts commit 12de8294a8.

* Revert "Revert "Add missing commas (#571)""

This reverts commit fbe588685f.

* Revert "Merge branch 'master' of https://github.com/shiznit304/speeduino"

This reverts commit 6e7a6ac36f, reversing
changes made to 07dc9e3286.

* Revert "Revert "Revert "Add missing commas (#571)"""

This reverts commit 07dc9e3286.

* Revert "Revert "Add missing commas (#571)""

This reverts commit fbe588685f.

* Revert "removed unused variable"

This reverts commit 4cb5f2b499.

* goingToMaster

* added DFCO requirement

Added feature:
DFCO bit needs to be 0 for EGO correction to function. This will prevent EGO control from adding fuel during DFCO.
2021-07-05 14:58:23 +10:00
Vitor Moreno B. Sales 9022bffb0a
Fixes for Arduino_Core_STM32 V2.0 (#592)
Fixes and added FRAM to the code

Fixes for Teensy 4.1
2021-07-04 11:30:12 +10:00
Pasi Kemppainen 1da3fb1304
Add EMAP gauge/logging (#596) 2021-07-04 11:26:57 +10:00
Olli Hollmen 61b1401b49
Add doxygen documentation (#597)
* Add Doxygen markup for grouping decoders. Tidy-up doucumentation just enough to make
Doxygen 'Modules' page neat / somewhat consistent (w/o stripping any info, on the contrary
some info is now added for few decoders that had only name present).
Add minimally modified Doxygen Doxyfile configuration.

* Document statuses and config* structure members in globals.h:
- Convert existing documentation to doxygen
- Document some of the undocumented members cross-referencing code files
  where they are used (often containing good explanations in code comments) or
  deriving meaning from code (leave question mark as marker of uncertainty
  or need for clarification)
- Same activity in misc .h header files w. struct declarations.
Misc .ino files with code:
- Convert existing code documentation to doxygen
- Add documentation to undocumented functions (deriving idea from raw code and
  code embedded comments)
- Some additions to existing documentation.
End sentences with period, as it has many iportant meanings for Doxygen
e.g. auto-brief ends at first-sentence period and in (doxygen generated)
HTML ascii newline does not break lines (or sentences).
Doxyfile: Add README.md file as INPUT from upper (codebase root) directory.
2021-06-22 15:30:52 +10:00
adamg-86 1e8d7dc678
Fix boost cut (#595)
Reset boost cut bit and fix map reading when in Map reading = envent average and boost cut engage.
2021-06-20 02:10:49 +10:00
Olli Hollmen 446a11df72
Add Doxygen markup for grouping decoders. Tidy-up doucumentation just enough to make (#591)
Doxygen 'Modules' page neat / somewhat consistent (w/o stripping any info, on the contrary
some info is now added for few decoders that had only name present).
Add minimally modified Doxygen Doxyfile configuration.
2021-06-10 07:47:17 +10:00
Wilmar den Ouden 7c8513e477
fix: install STM32RTC from Github (#590)
Signed-off-by: wilmardo <info@wilmardenouden.nl>
2021-06-08 08:47:45 +10:00
Josh Stewart f43d426018 Remove hardware design files 2021-06-05 23:29:07 +10:00
Pasi Kemppainen 1f8b8eb486
Fix 2.0.0 STM32 core and F1 support (#587) 2021-06-03 10:07:11 +10:00
DIY-EFI 74656300ca
Fix CORE4 Spare In 1 (#584)
Pin A13 is "Sparein1", allocating it to the second O2 sensor prevents it from working, an unused pin (A5) has now been allocated to O2_2
2021-05-22 09:58:24 +10:00
tx_haggis 12de8294a8
Add missing commas (#571) 2021-04-28 09:58:46 +10:00
Josh Stewart e187285e63 Small fixes for broken builds from the last few PRs 2021-04-22 10:58:50 +10:00
Pasi Kemppainen 982e52db1b
VVT2 addition and closed loop VVT improvement (#551)
* VVT2 and closed loop VVT improvement

* Fix building for latest changes

* Fix CRC error

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-04-22 08:56:39 +10:00
tx_haggis 1f47f8dcd6
Additional compiler warning fixes (#561)
* Remove unnecessary and invalid forward declarations

* Flag unused parameter
2021-04-21 22:24:35 +10:00
tx_haggis 1a4188aa31
Fix build warnings (#558)
* Flag unused parameters

* Fix compile warnings: abuse of static inline

Place functions in correct order & only forward
declare when necessary

* Suppress unused parameter warnings

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-04-21 16:33:19 +10:00
Josh Stewart e136d0ea57 Merge branch 'master' of https://github.com/noisymime/speeduino 2021-04-21 15:12:33 +10:00
Pasi Kemppainen 140042d27a
Build fix (#552) 2021-04-21 15:06:59 +10:00
Josh Stewart fcdc2d2d5f Merge branch 'master' of https://github.com/noisymime/speeduino 2021-04-21 14:53:01 +10:00
Josh Stewart 787405f029 Board compatibility work 2021-04-21 14:52:58 +10:00
tx_haggis 02cb7bebd6
Isolate table3D member access in comms.ino (#545)
* fix!: fix ODR violations

* refactor: move page specific code into a separate CPP file

* refactor: page getter/setter share mapping logic

Extract common page-to-entity mapping logic from
getPageValue() & setPageValue() - place in map_page_offset_to_entity()
and share.

* performance: optimize CRC calc

Calculate page CRC by iterating over entities & tables.

* CRC table calculation - use table iterator

* refactor: use iterators for sendPage()

Re-implement sendPage() using page & table iterators
Future proof & fast

* refactor: sendPageASCII()

Pull put shared code into functions.
Use table iterator

* refactor: use shared axis factor

This puts the axis factor usage in one place

* refactor: encapsulate page size & count

Added getPageCount() & getPageSize()

* Added static_assert for all pages.

* Remove C++ language elements

namesapces, scope resolution, enum struct

* Rename comms.ino to comms.cpp

Provides better encapsulation of non-global
data & functions.

INO files are all mashed together by some
custom process. So everything becomes global and
static functions/variables aren't really private to
 the translation unit. Thus breaking encapsulation :-(
2021-04-21 14:36:27 +10:00
Vitor Moreno B. Sales dd3847bfd3
STM32 fixes and tweaks (#553)
* STM32 fixes and tweaks

Removed generic STM32F103 options from PlatformIO
Added optional serial compilations on PlatforIO
Make sure all timers are stoped at boot
Small speed improve at SPIasEEPROM
Added timers usage table to board_stm32_official.h

* Added base board
2021-04-15 10:26:58 +10:00
Josh Stewart 9a7ab944d4 Fix spark 2 load axis showing incorrect name 2021-04-07 10:55:37 +10:00