Commit Graph

3105 Commits

Author SHA1 Message Date
Josh Stewart 24d61e5069 Only run on PRs 2024-08-13 14:29:45 +10:00
Josh Stewart 8cadda4306 Revert "Dummy memory increase for Teensy and stm32"
This reverts commit 830b255e75.
2024-08-13 14:26:37 +10:00
Josh Stewart 830b255e75 Dummy memory increase for Teensy and stm32 2024-08-13 14:22:27 +10:00
Josh Stewart 942d4981b6 Revert "Dummy test data to verify memory change"
This reverts commit e83609ec9e.
2024-08-13 14:15:59 +10:00
Josh Stewart e83609ec9e Dummy test data to verify memory change 2024-08-13 13:56:43 +10:00
Josh Stewart d9c3af5b37 Add workflow name 2024-08-13 13:52:08 +10:00
Josh Stewart d9cec21ebb Disable verbose 2024-08-13 13:05:06 +10:00
Josh Stewart 9abb90a476 Enable reporting on PR 2024-08-13 12:58:29 +10:00
Josh Stewart 5eb1630682 Lock stm32 to v2.7.1 2024-08-13 12:55:49 +10:00
Josh Stewart b55cdf0abb Remove HWSERIAL 2 and 3 for stm32 2024-08-13 12:43:23 +10:00
Josh Stewart 5a8a10d7fb Match stm32 build option format 2024-08-13 12:30:39 +10:00
Josh Stewart 73ebfcb6aa Add all mega build options back 2024-08-13 12:26:31 +10:00
Josh Stewart 5500a44fc6 Add 2nd -D for mega 2024-08-13 12:24:49 +10:00
Josh Stewart b0b6356200 Try only single build flag 2024-08-13 12:22:31 +10:00
Josh Stewart e319e63c61 Try without escaping 2024-08-13 12:14:54 +10:00
Josh Stewart e7dc99c5b9 Use individual lines for build extra-flags 2024-08-13 12:08:34 +10:00
Josh Stewart 2e2fcb79f1 Try different escaping 2024-08-13 11:22:40 +10:00
Josh Stewart f798dd629a Change Time to TimeLib 2024-08-13 11:15:31 +10:00
Josh Stewart b14ada4f8c Fix mega platform 2024-08-13 10:57:01 +10:00
Josh Stewart 2a1cc65a58 Fixes 2024-08-13 10:47:44 +10:00
Josh Stewart 063f11c473 Add library board property 2024-08-13 10:42:48 +10:00
Josh Stewart 2c421d774c Add stm32f407 2024-08-13 10:31:09 +10:00
Josh Stewart afc3db83ac Try mega2560 without library 2024-08-13 10:10:58 +10:00
Josh Stewart 8f3e59129e Formatting 2024-08-13 09:55:22 +10:00
Josh Stewart 6db45e6c57 Use string literals for newline 2024-08-13 09:52:44 +10:00
Josh Stewart 7c4520a7c6 Use scalar multiline strings for paltform 2024-08-13 09:48:38 +10:00
Josh Stewart 7f43454502 Last try 2024-08-13 09:35:42 +10:00
Josh Stewart 72801c03ff Change formatting 2024-08-13 09:32:11 +10:00
Josh Stewart c090a7236d Change to array for platform 2024-08-13 09:29:11 +10:00
Josh Stewart c8cfbd5836 Try blank source-url 2024-08-13 09:15:14 +10:00
Josh Stewart 7f4d0b9f2f Try mega2560 compile with native core 2024-08-13 01:24:30 +10:00
Josh Stewart cd53f6570e Update compile-sketches action version 2024-08-13 01:22:01 +10:00
Josh Stewart 3ca0731671 Attempt compile only top level file 2024-08-13 01:10:20 +10:00
Josh Stewart 74c281526b Disable fail fast 2024-08-13 00:54:29 +10:00
Josh Stewart 19b6d75222 Add verbose 2024-08-13 00:36:45 +10:00
Josh Stewart c78ed832db Add sketch-paths 2024-08-13 00:30:49 +10:00
Josh Stewart 8c40a70b13 Fix platforms order 2024-08-13 00:20:41 +10:00
Josh Stewart 33d8e1e2f8 Fix platform names 2024-08-13 00:15:03 +10:00
Josh Stewart c7be0f0a38 Fix syntax 2024-08-13 00:04:15 +10:00
Josh Stewart 0e26ed1f67 Initial test 2024-08-13 00:02:17 +10:00
Josh Stewart f65b0e95b3 Fix for build failing on stm32 2024-08-12 13:18:20 +10:00
Josh Stewart 8400db2f92 Cleanup warning on boostTarget constrain 2024-08-12 07:34:20 +10:00
Josh Stewart 9c7b9df1c4 Reduce serial timeout to 700ms 2024-08-12 07:25:19 +10:00
tx_haggis bea806f611
Bugfix for serial I/O hanging when the payload size is only partially sent (#1227)
* Fix for spurious serial command causing timeout
due to ill formed payload size

* DOxygen

* MISRA fixes

* Comms - minor simplification
No need to include payload size in serialBytesRxTx whilst receiving payload.
2024-08-10 08:22:51 +10:00
chaoschris 799825ff27
Update init.cpp (#1231)
fixed boost pin definition for BlitzBox pin mapping
2024-08-08 15:00:54 +10:00
Josh Stewart a9d695db45 Fix for failing builds on non-CAN platforms 2024-08-08 14:09:17 +10:00
Josh Stewart ad93a801c4 Revised CAN Broadcast system. Added Haltech dash protocol 2024-08-08 13:45:49 +10:00
tx_haggis 7c14269fc3
Tweak unit tests so they pass on Teensy 3.5 (#1233) 2024-08-02 15:51:23 +10:00
tx_haggis 96dce4429c
Unit test all corrections (#1207)
* Add unit tests for correctionCranking

* Unit test correctionASE

* Add test_maths_div10_s16_perf

* Make TPS AE tests independent

* Add test_corrections_MAE

* Use RUN_TEST_P to reduce test RAM usage

* Unit test correctionFloodClear

* Unit test battery correction

* Add unit tests for correctionLaunch

* Test repetability - initialiseAll at the start of every test

* Unit test flex & fuel temp corrections, plus minor cleanup

* Unit tests - avoid forward declarations

* Separate out populate_table() from 3D table tests

* Separate calculation of AFR target from correction (and unit test the calculation).
Separation of concerns and will make unit test AFR correction easier.

* Unit test correctionAFRClosedLoop

* Unit test correctionsFuel

* Add populate_2dtable_P test utility function

* Unit test all ignition corrections

* Add compile time buffer overflow check to RUN_TEST_P

* DFCO - test behavior not implementation

* Tweak tests to pass on Teensy 3.5

* 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

* Add test_correctionsDwell_uses_batvcorrection

* Use TEST_ASSERT_BIT_[HIGH_LOW] instead of TEST_ASSERT_[TRUE|FALSE]
Better failure messages, declares intent

* Igniton corrction test: expand assertions: make sure all corrections test both positive an negative advance values.

* Add AE test assertion: especially for MAE

* Add AE timeout unit tests

* Convert copy/paste 2D table construction code into shared functions

* Disbale knock unit tests until knock implementation is stable.
2024-07-30 14:35:20 +10:00
Daniel Johnson fc5397b5a7
fix: inconsistent type on revolutionTime (#1228) 2024-07-21 09:39:18 +10:00