Andrey
998652ac76
sensor_chart into unit tests
2022-11-06 11:28:25 -05:00
rusefi
26eda07424
Lua CAN bus index: let's fail if invalid value specified
2022-08-21 22:31:52 -04:00
Matthew Kennedy
c3d6bd7e59
Pt2001 module ( #4396 )
...
* pt2001 uses module
* read flag0
* c
* libfirmware
* makefiles
* are unit tests happy?
* bootloader
2022-08-08 08:53:08 -04:00
Matthew Kennedy
acf18c7072
move math ( #4353 )
2022-07-17 00:16:22 -04:00
Matthew Kennedy
a0d8ae3f4f
use libfirmware for a few things ( #4351 )
...
* use libfirmware
* unit tests
* crc
* missed one
* bootloader
2022-07-16 02:22:51 -04:00
rusefillc
6c8f130ff9
JNI for test coverage #3965
2022-03-15 13:05:24 -04:00
rusefillc
2955f66f66
JNI for test coverage #3965
2022-02-26 21:02:34 -05:00
rusefillc
abca5dca2f
JNI for test coverage #3965
2022-02-26 12:51:50 -05:00
Andreika
2beca221a3
hellen_board_id + hellen-common.mk ( #3885 )
...
* Hellen_board_id
* move EXTI init before config load
* add NT2USF()
* Hellen_board_id unit-tests
* hellen-common.mk
* fix for older macos compiler
2022-02-03 11:24:31 -05:00
rusefillc
fcdb7b340d
mk files refactoring
...
saving build
2022-01-06 22:19:00 -05:00
rusefillc
04ab6a0488
mk files refactoring
2022-01-06 21:48:48 -05:00
rusefillc
a13a0a2cc9
mk files refactoring
2022-01-06 20:32:39 -05:00
rusefillc
7f0357ffcb
mk files refactoring
2022-01-06 20:06:31 -05:00
rusefillc
7c0fd37dfe
Live Data progress
2022-01-06 19:02:35 -05:00
Matthew Kennedy
29ec0a5859
better pch usage and gmock constructors ( #3426 )
...
* break out mock constructors
* comment and spacing
* unnecessary compiler options
* happy stepper
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-30 20:31:09 -04:00
Andrey
0e6a51e5c0
export board-specific macro for stm32 pins based on board yaml #3298
...
meta progress
2021-10-26 10:27:10 -04:00
Andrey
e5a5b0a0f7
export board-specific macro for stm32 pins based on board yaml #3298
...
mre meta progress
2021-10-25 21:05:45 -04:00
Andrey
9ab6c42418
export board-specific macro for stm32 pins based on board yaml #3298
...
proteus meta progress
2021-10-25 17:36:21 -04:00
Matthew Kennedy
3518da97a7
set up precompiled header ( #2971 )
...
* ignore
* set up precompiled header
* makefile
* fixes
* cleanup
* only depend cpp on pch
* efifeatures in pch
* f7 efifeatures
* consolidate
* simulator
* proteus build
* error handling is a good one
* bootloader pch
* don't auto include pch
* dirs
* delete on clean
* bootloader cleans
* clean.sh deletes pch
* disable in bl for now
* there was a typo so maybe it'll work now
* remove todo
* don't need that any more
* don't need these parts
* don't need this part
* undo changes
* use a different cpp as example
* s
* Revert "cleanup"
This reverts commit 8de8698490f5d09c2df753f00a89751aa898be9a.
* also unnecessary now
* buh
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-25 21:23:23 -04:00
Matthew Kennedy
5cb659a7b0
lua pwm hooks ( #2687 )
...
* pwm hook
* dedicated pins
* write hook
* UI
* more info
* zero based, clamp
* memory
* don't compile lua in bootloader at all
2021-05-20 19:01:17 -04:00
Matthew Kennedy
0ea1f15ca3
compile gpiochips as cpp ( #2702 )
...
* rename
* core
* structing
* more
* makefile
* structing
* 6240 compiles
* explicit cast instead of implicit narrowing
* 8888
* no extern C
* fix tests build
* extern "C"
* 33810
* 8860
* 33810
* linker
* unbreak master
* don't need that if compiling as C++
* bump config
* fix test
* tests
* unit tests bad merge
* build
* move subaru logic to cpp file
* cpp goodness
* hpp include
* this is probably the right thing to do
* simulator
2021-05-17 08:42:56 +03:00
rusefillc
e892defd78
helping jenkins
2021-05-16 11:35:05 -04:00
Andrey G
54eeac2c10
Hw layer rearrangement ( #2707 )
...
* Fix unit_tests
* simulator: fix redifinition of TS_PRIMARY_SERIAL warning
2021-05-16 15:19:34 +03:00
Andrey
4f63d2b476
More low-level firmware coverage for the simulator/unit-tests #2656
2021-05-15 05:27:33 -04:00
rusefillc
9032730700
Break out unit tests #2627
2021-05-07 22:14:22 -04:00
rusefillc
66cd0da92f
Break out unit tests #2627
2021-05-07 17:43:24 -04:00
rusefillc
7eb28a1367
Break out unit tests #2627
2021-05-07 17:18:18 -04:00
rusefillc
5fdc1a17d3
Break out unit tests #2627
2021-05-07 12:36:30 -04:00
rusefillc
e26f2215d5
Break out unit tests #2627
2021-05-06 16:33:10 -04:00
rusefillc
45d877414d
explicit paths
2021-05-06 10:09:18 -04:00
rusefillc
2c49760626
explicit paths
2021-05-06 10:04:21 -04:00
Matthew Kennedy
830575a306
lua 5.4 ( #2590 )
...
* thread priority
* build
* makefile prep
* call startup
* lua 5.1
* mk
* 5.3
* mk
* I guess lua does something?
* extract hooks, builds for tests
* a bit of error handling
* guard
* bootloader makefile
* remove lua
* submodule
* submodule update
* builds with submodule
* disabled by default
* h7 chconf
* tweaks
* add a useful hook
* move luaconf
* perf trace lua
* test helpers
* lua unit tests
* include to satiate clang
2021-04-28 22:41:25 -04:00
rusefillc
41804736e2
engine sniffer into unit tests
2021-04-04 22:41:38 -04:00
Matthew Kennedy
2328c1be6b
Fuel pressure sensor checks ( #2449 )
...
* test for missing sensor
* test negative pressure delta checking logic
* test new hasSensor logic
2021-03-12 23:32:41 -05:00
Matthew Kennedy
423acd384b
simplify MCU selection ( #2308 )
...
* set mcu type in hw_ports
* move f4 linker script
* move f7 linker script
* don't set default linker file in makefiles
* extra line
* prometheus actually didn't depend on anything special for f469
* dead line
* h7
* dead
2021-02-08 02:11:44 -05:00
Matthew Kennedy
10c31c2955
-g3 to -g ( #2256 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -05:00
Matthew Kennedy
55ebe223a7
Partition configs by board type ( #2106 )
...
* remove old flag
* flags
* reorder switch
* oops
2020-12-22 21:54:40 -05:00
Matthew Kennedy
1838beadfa
only build in config for the correct board ( #2088 )
...
* only build in config for the correct board
* undo
* undo
* undo
* only touch proteus config
* include configs in tests
2020-12-17 17:12:24 -05:00
Matthew Kennedy
83a65032d6
clang warnings again ( #2055 )
...
* s
* changelog
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 13:59:28 -05:00
Matthew Kennedy
e544e8150a
unit tests in clang ( #2012 )
...
* clang errors
* non-test-only
* debugging
* rules on mac
* makefile
* put back
* let's see if this way makes everybody happy
* no, it does nto
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 23:21:17 -05:00
rusefillc
286fa10b15
occasional tunerstudio CRC errors #1943
...
getting ready for unit test
2020-11-15 11:55:26 -05:00
Matthew Kennedy
bb8650179c
consolidate EFI_UNIT_TEST and friends ( #1940 )
...
* restructure
* guard c++
* idle too
* status_loop.h
* consolidate definitions
* use 1/0 instead, check for existence
* missed a few
* dead define
* defs for bootloader
2020-11-11 20:34:39 -05:00
Matthew Kennedy
2a0205e3c4
switch to single precision constants ( #1880 )
...
* adjust builds
* fix test
2020-10-14 20:04:35 -04:00
rusefi
9977668480
The Big Refactoring of 2019: folder structure #723
2020-08-02 20:55:27 -04:00
rusefi
c3f26c93b5
The Big Refactoring of 2019: folder structure #723
2020-08-02 20:52:31 -04:00
rusefi
8f4aecf7ca
The Big Refactoring of 2019: folder structure #723
2020-08-02 20:46:40 -04:00
rusefi
517761320e
logicdata into unit tests
2020-07-19 22:41:34 -04:00
rusefi
52972cec99
OMG it works!
2020-07-19 21:27:28 -04:00
rusefi
c39d135e94
Makefile clean-up
2020-05-25 13:42:55 -04:00
Matthew Kennedy
94e63e7c43
binary logging ( #1443 )
...
* field support
* tests
* makefiles
* test data too
* missing include dir
* write correct thing
* fix one test
* fix test
* omnomnomnom ram
* format
* use defined names
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-17 15:56:37 -04:00