Commit Graph

  • e1aef00e39
    Merge 924eba416a into 0f13753ed3 Daniel Tobias 2024-06-03 14:21:55 +0100
  • 5ab5249c13
    Merge 86373e7f7e into 0f13753ed3 Adam Gauthier 2024-06-02 21:50:03 -0400
  • fc580b4c20
    Merge 7f366a2c85 into 0f13753ed3 tx_haggis 2024-05-30 13:51:40 -0500
  • 7f366a2c85 Add AE timeout unit tests tx_haggis 2024-05-01 15:34:55 -0500
  • 954a605d9a Add AE test assertion: especially for MAE tx_haggis 2024-04-24 10:36:24 -0500
  • c932206180 Igniton corrction test: expand assertions: make sure all corrections test both positive an negative advance values. tx_haggis 2024-04-23 08:30:19 -0500
  • 20ceee8fc7 Use TEST_ASSERT_BIT_[HIGH_LOW] instead of TEST_ASSERT_[TRUE|FALSE] Better failure messages, declares intent tx_haggis 2024-04-21 10:24:04 -0500
  • 267b539b1c Add test_correctionsDwell_uses_batvcorrection tx_haggis 2024-04-21 09:29:43 -0500
  • 30e6464d56 Shrink unit test for faster build/upload/execute We just need the 2D tables wired up, not the whole system initialized. 1. Factor out construct2dTables() from initialiseAll() 2. In the unit tests, call construct2dTables() instead of initialiseAll() Linker then does the heavy lifting of removing unused symbols tx_haggis 2024-04-18 18:07:22 -0500
  • 5792819a2c Tweak tests to pass on Teensy 3.5 tx_haggis 2024-04-18 11:49:41 -0500
  • f5a70ad161 DFCO - test behavior not implementation tx_haggis 2024-04-18 10:20:53 -0500
  • 3a2ed1c75b Add compile time buffer overflow check to RUN_TEST_P tx_haggis 2024-04-18 08:32:24 -0500
  • 6d9e6028a7 Unit test all ignition corrections tx_haggis 2024-04-18 08:22:36 -0500
  • c1af33cee5 Add populate_2dtable_P test utility function tx_haggis 2024-04-17 09:10:23 -0500
  • 699425ae4d Unit test correctionsFuel tx_haggis 2024-04-13 13:57:17 -0500
  • 8b8565e680 Unit test correctionAFRClosedLoop tx_haggis 2024-04-13 09:48:06 -0500
  • 5313773609 Separate calculation of AFR target from correction (and unit test the calculation). Separation of concerns and will make unit test AFR correction easier. tx_haggis 2024-04-13 09:46:12 -0500
  • af0f8f8010 Separate out populate_table() from 3D table tests tx_haggis 2024-04-13 09:41:21 -0500
  • 1d0af4803c Unit tests - avoid forward declarations tx_haggis 2024-04-13 09:40:38 -0500
  • bf5d6b4e3d Unit test flex & fuel temp corrections, plus minor cleanup tx_haggis 2024-04-13 09:32:39 -0500
  • 9c7728296a Test repetability - initialiseAll at the start of every test tx_haggis 2024-04-13 09:31:14 -0500
  • e34b8953a0 Add unit tests for correctionLaunch tx_haggis 2024-04-13 09:27:41 -0500
  • 9bc8ef90e7 Unit test battery correction tx_haggis 2024-04-13 09:26:39 -0500
  • ce3c58ee97 Unit test correctionFloodClear tx_haggis 2024-04-13 09:25:13 -0500
  • 4dac161d77 Use RUN_TEST_P to reduce test RAM usage tx_haggis 2024-04-13 09:23:48 -0500
  • 130e69036f Add test_corrections_MAE tx_haggis 2024-04-13 09:22:58 -0500
  • c7b715b464 Make TPS AE tests independent tx_haggis 2024-04-13 09:20:26 -0500
  • 949ebda1ed Add test_maths_div10_s16_perf tx_haggis 2024-04-13 09:19:26 -0500
  • b69552167c Unit test correctionASE tx_haggis 2024-04-13 09:16:46 -0500
  • 3cd2c0883d Add unit tests for correctionCranking tx_haggis 2024-04-13 09:15:01 -0500
  • c97deb9f9d
    Merge 239d478fed into 0f13753ed3 tx_haggis 2024-05-30 13:44:09 -0500
  • 239d478fed Unit test calculateRequiredFuel tx_haggis 2024-04-10 23:39:20 -0500
  • 398998c8da pwApplyNitrousStage() now uses Arduino map() function. tx_haggis 2024-03-27 10:31:36 -0500
  • 18a0551161 Add PW unit tests tx_haggis 2024-03-27 09:53:28 -0500
  • be973a734d MISRA fixes tx_haggis 2024-03-27 08:40:28 -0500
  • 72346faff5 Pulse width calcs: flatten & force inline tx_haggis 2024-03-26 23:25:30 -0500
  • e73b613d00 Extract percentApprox from PW calculations, optimize and unit test.. tx_haggis 2024-03-26 22:38:25 -0500
  • b79850461a Remove libdivide: optimise powers of 2 only. Slightly faster & saves 3 bytes tx_haggis 2024-03-25 14:35:58 -0500
  • 215f882bd2 Doxygen tx_haggis 2023-11-12 17:12:31 -0600
  • ed0db61bb3 Bug fixes tx_haggis 2023-11-10 17:36:35 -0600
  • d9dfe7b8dd MISRA fixes tx_haggis 2023-11-09 19:53:52 -0600
  • fa7188394f Encapsulate inj_opentime_uS: Save memory - doesn't need to be global Pulse widths will be zero if not valid: Faster comparisons tx_haggis 2023-05-29 07:32:11 -0500
  • bc889ea672 Initialize req_fuel_uS where it's declared I.e. in pw_calcs.cpp tx_haggis 2023-05-29 06:27:22 -0500
  • 72b9262382 Encapsulate primary & secondary fuel stages tx_haggis 2023-05-28 22:17:13 -0500
  • 05207e8b74 Move staging PW calc into single PW calculation. This makes it unit testable. tx_haggis 2023-05-28 12:46:41 -0500
  • 6964ea64a7 Add nitrous inside PW() tx_haggis 2023-02-12 08:16:17 -0600
  • 99acd029a0 inline getVE1 & getAdvance1 tx_haggis 2023-02-12 08:02:28 -0600
  • 7549c64028 Split out PW calcs to separate .H & .CPP tx_haggis 2023-02-12 07:57:26 -0600
  • 9d40cbfc4d Optimize computePwLimit() for nSquirts==1 tx_haggis 2023-02-11 17:52:32 -0600
  • 32c097d5f3 MISRA fixes tx_haggis 2023-02-11 14:29:12 -0600
  • 0c536911dd Chain PW intermediate calcs Use size integer types tx_haggis 2023-02-11 13:23:08 -0600
  • f172dda86f Optimize PW tx_haggis 2023-02-10 08:06:36 -0600
  • ede397d492
    Merge 6618aec440 into 0f13753ed3 john1786 2024-05-30 11:45:03 -0400
  • 016648b1df Use libdivide to calculate pulse width limit tx_haggis 2023-02-08 06:25:14 -0600
  • 774e521126 Refactor: extract computePwLimit() tx_haggis 2023-02-07 23:19:02 -0600
  • 3d7c4ecab2 Added pwApplyNitrous() - step 1 in cleanup. tx_haggis 2023-02-07 23:17:08 -0600
  • 0f13753ed3
    Performance: optimized 32-bit shifts (#1187) master tx_haggis 2024-05-29 23:12:14 -0500
  • 0ad4cb7cad Doxygen tx_haggis 2024-03-22 18:00:25 -0500
  • e1cab2d119 Apply optimised shifts tx_haggis 2024-02-19 00:37:51 -0600
  • 6c1299af92 Better separation of deocders and crank maths. tx_haggis 2024-02-18 21:35:49 -0600
  • 94c13591a3 Tooth based time to angle coversion is only used by a few decoders. So move the functions into decoders.cpp tx_haggis 2024-02-18 21:25:20 -0600
  • 46dede1ce1 Add optimized 32-bit shifting tx_haggis 2024-02-18 21:10:43 -0600
  • cf53ee7f3c
    Merge 4ffbce3f49 into 478e16cc52 tx_haggis 2024-05-29 03:03:37 -0500
  • ca94b3f605
    Merge 179615acc0 into 478e16cc52 tx_haggis 2024-05-29 03:03:37 -0500
  • eef3777091
    Merge 4c3bd75cb1 into 478e16cc52 tx_haggis 2024-05-29 03:03:37 -0500
  • 478e16cc52 Prevent flex boost adjustment being added multiple times to boost target Josh Stewart 2024-05-29 17:45:08 +1000
  • 878d6cf410 Prevent flex boost adjustment being added multiple times to boost target 202402-fixes Josh Stewart 2024-05-29 17:45:08 +1000
  • 341b2a25b6 Fix for Flex Boost Correction variable not being set correctly Josh Stewart 2024-05-29 16:32:25 +1000
  • aa0a7b7ab6 Fix for Flex Boost Correction variable not being set correctly Josh Stewart 2024-05-29 16:32:25 +1000
  • a31e64b9df Warnings cleanup Josh Stewart 2024-05-29 16:29:25 +1000
  • cb78a45326
    Unit Tests: provide correct filename in test messages (#1211) tx_haggis 2024-05-29 00:27:50 -0500
  • 3efca9edcf
    Merge 6ad068ef05 into 40463c51d6 tx_haggis 2024-05-29 00:03:38 -0500
  • 40463c51d6
    Adding functionality for Honda J series crank decoder. (#1202) nickamuch 2024-05-28 21:41:51 -0700
  • 951f97f559
    cppcheck: have to use absolute paths. (#1216) tx_haggis 2024-05-28 22:44:12 -0500
  • 0258f641ee Enable secondary trigger on non-seq missing tooth when VVT is enabled. See #1213 Josh Stewart 2024-05-29 13:27:53 +1000
  • 2e83b1ed6c Enable secondary trigger on non-seq missing tooth when VVT is enabled. See #1213 Josh Stewart 2024-05-29 13:27:53 +1000
  • 4ffbce3f49 MISRA fixes tx_haggis 2024-05-28 20:43:57 -0500
  • a92295801d Break *circular* header dependencies: globals.h -> board_avr2560.h -> globals.h tx_haggis 2024-05-27 08:31:31 -0500
  • 5751c4464a cppcheck: have to use absolute paths. tx_haggis 2024-05-27 16:34:24 -0500
  • 28a5ce018a Force loop() inline Reduces stack usage. tx_haggis 2023-07-02 09:39:14 -0500
  • a0a617519e Schedulers - remove inline_always: let the compiler decide. tx_haggis 2024-03-01 09:37:56 -0600
  • fe04ad1dae Use macros to define schedule ISRs (removes repeated code) tx_haggis 2024-02-06 08:33:51 -0600
  • 27f0e3fba9 Use a state machine idiom to consolidate timer ISR code. tx_haggis 2024-02-06 00:19:05 -0600
  • 2bfb0225c7 Save RAM: drop Schedule::durationNext - use new Status setting + existing Duration instead. tx_haggis 2024-02-05 11:40:22 -0600
  • cff8739b1f MISRA fixes tx_haggis 2023-11-06 13:56:34 -0600
  • 45ac11a85d Consolidate timeout calculation tx_haggis 2023-11-06 13:37:36 -0600
  • afb0648954 Initialize all Schedule members in constructor tx_haggis 2023-09-16 12:36:13 -0500
  • dbb94c1a09 Scheduler callbacks are set in pairs So model that with a setCallbacks() function. tx_haggis 2023-03-10 13:08:16 -0600
  • ea3b9d4205 Start the schedule timers externally And never turn them off - they were pretty much on continuosuly anyway. tx_haggis 2023-03-05 14:02:15 -0600
  • 5688d9dea3 Remove Schedule::hasNextSchedule Use a flag value in nextDuration instead. tx_haggis 2023-03-05 13:48:52 -0600
  • 5cb27e3ce0 Schedules: remove endCompare We had 2 paths to set the inj/ign end comparator: using duration; or using endCompare Replace with Duration - in timer ticks (since it's a smaller data type) tx_haggis 2023-03-05 12:37:01 -0600
  • 141fb383d3 Remove Schedule.startCompare It is only used within the set*ScheduleRunning() functions as an intermediate calculation variable. tx_haggis 2023-03-05 12:28:17 -0600
  • 692000cb55 Use common setScheduleNext function. tx_haggis 2023-03-05 12:27:15 -0600
  • a9139daab0 Extract common schedule state into Schedule tx_haggis 2023-03-05 12:25:40 -0600
  • ee4bf35eda Rename FuelSchedule members to match IgnitionSchedule tx_haggis 2023-02-26 18:34:51 -0600
  • 68be5c03c6 Record VVT angle when Poll cam method is in use. Fixes #1213 Josh Stewart 2024-05-27 09:34:00 +1000
  • bff1beca5d Record VVT angle when Poll cam method is in use. Fixes #1213 Josh Stewart 2024-05-27 09:34:00 +1000
  • 14bc4828fb Fix coil 6 declaration for STM32F407 SPECTRE board (#1215) Vitor Moreno B. Sales 2024-05-26 19:15:40 -0300
  • 84e63d867e
    Fix coil 6 declaration for STM32F407 SPECTRE board (#1215) Vitor Moreno B. Sales 2024-05-26 19:15:40 -0300
  • 7c12a5c3d6
    Merge a347e0c3da into 3c8726ffa0 155ac 2024-05-24 02:05:13 +0200