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
Matthew Kennedy
ff867b9301
fix warnings ( #1282 )
...
* warnings
* don't need to template those
2020-04-12 09:39:14 -04:00
Matthew Kennedy
3186741ddc
TPS Initialization Testing ( #1264 )
...
* test support
* stub for tests
* plumbing so we can test this
* add test
* comments
2020-04-05 09:10:08 -04:00
rusefi
de36f76882
The Big Refactoring of 2019: folder structure #723
2019-12-03 23:52:44 -05:00
rusefi
df26a9fb16
shared GCC settings between projects
2019-12-02 13:53:08 -05:00
rusEfi
1991437f77
development into unit tests, makefile cleanup
2019-11-19 20:05:12 -05:00
Matthew Kennedy
3bd1ddcc1f
Sensors: composition >> inheritance ( #953 )
...
* functional sensors
* format
* tests
* sim makefile
* eol
* format tests
2019-09-24 21:11:41 -04:00
rusefi
1fbd3dec45
unit_tests to init git modules
2019-08-25 20:15:14 -04:00
rusefi
cde33df1a0
Gcov ( #906 )
...
* trying to get gcov working
* unit tests code coverage #653
* unit tests code coverage #653
progress :(
* unit tests code coverage #653
2019-08-25 16:53:13 -04:00
rusefi
ef6c0ead20
unit tests code coverage #653
...
See https://stackoverflow.com/questions/57643813/cannot-get-gcov-to-produce-any-coverage-data
2019-08-25 10:21:36 -04:00
rusefi
415c2caae7
questionable readablity improvement
2019-08-25 00:37:05 -04:00
rusefi
c2d3f9729e
reviving unit tests
2019-07-06 21:00:34 -04:00
rusefi
47a3577e27
MK clean-up
2019-06-15 16:43:30 -04:00
rusefi
7c3e88c7dc
Try ccache #769
2019-04-20 21:44:00 -04:00
rusefi
4dac92e202
minor fix - same -Wextra twice
2019-04-20 20:32:20 -04:00
rusefi
e236a65525
cj125 and hip125 and else SPI broken with chibi18 migration fix #757
2019-04-14 18:35:39 -04:00
rusefi
5316d7ad6a
The Big Refactoring of 2019: folder structure #723
2019-04-09 23:01:45 -04:00
rusefi
e0c9493dd9
The Big Refactoring of 2019: folder structure #723
2019-04-05 01:41:24 -04:00
rusefi
56d026b8e2
The Big Refactoring of 2019: folder structure #723
2019-03-31 16:33:16 -04:00
andreika-git
b80806182f
More portability & small fixes ( #719 )
...
* Use hw_stm32.mk
* Fix bootloader
* Use more common hw_ports.mk filename instead of hw_stm32.mk
* More CPU compatibility for Makefile
* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE
* Move lockAnyContext()/unlockAnyContext() to rfiutil.c
* USE_FATFS
* EFI_LCD
* Less compilation errors
* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE
* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS
* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()
* merge
* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00