Commit Graph

2334 Commits

Author SHA1 Message Date
Andrey 6d12cdb7c9 only: debug channel cleanups 2023-09-14 10:10:10 -04:00
Andrey b81fb40203 testability: bench test commands should have automated coverage using simulator #5562
only: making CAN frame always available to simulator
2023-09-14 08:34:24 -04:00
Andrey ba66fdcf82 reducing code duplication around assert 2023-09-05 21:28:39 -04:00
rusefi 516c72c411 let's admit we use C++ here 2023-08-31 00:01:31 -04:00
Andrey 13bbb72264 null terminate USB strings 2023-08-27 09:30:33 -04:00
Matthew Kennedy c7a183db49 this button isn't useful as it just bricks the ECU 2023-08-27 09:08:08 -04:00
rusefi b785ed1019 PinRepository encapsulation 2023-08-21 23:09:30 -04:00
rusefi 6b5e42a7a6 let's admit it we are using C++ syntax 2023-08-21 22:26:09 -04:00
rusefillc 93f7077f92
Dup2 (#5528)
* reducing code duplication around ADC enums

* reducing code duplication around ADC enums
2023-08-21 20:06:54 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
rusefi 54797ab559 refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:05:19 -04:00
rusefi 80e52f5898 bench_test CAN packets do not use proper IDs #5525
only:hw
2023-08-20 21:41:25 -04:00
rusefi d08fbc2878 bench_test CAN packets do not use proper IDs #5525 2023-08-20 21:35:04 -04:00
Andrey G 9a9495f0fb
Pvs analysis (#5509)
* The 'chip->drv_state' variable is assigned values twice successively.

Found with PVS-Studio

* variable is assigned to itself

Found with PVS-Studio

---------

Co-authored-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2023-08-11 11:21:43 -04:00
Andrey G 1b3c5a7d6f
GetToothLoggerBufferBlocking() can return nullptr (#5462)
Co-authored-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2023-07-25 10:36:27 -04:00
rusefi 18222160d8 reducing code duplication 2023-07-16 15:52:43 -04:00
rusefillc f32c1206eb 42x compilation fix 2023-07-06 20:03:23 -04:00
rusefillc c2c5d5b01f cleaner HAL usage 2023-07-06 16:07:55 -04:00
Andrey 777c539cac fixing cypress & reducing copy-paste 2023-07-06 15:34:42 -04:00
rusefillc 330017db67 refactoring: reducing copy-pasta 2023-07-06 14:16:33 -04:00
rusefillc 6e638b779c refactoring: reducing copy-pasta 2023-07-06 13:46:50 -04:00
rusefillc 054589e403 pinout into pins command 2023-07-05 22:18:22 -04:00
Andrey G 7aebff02aa
Fix non-F4 (#5390)
* Fix non-F4

* Makefile: use tabs for intending recipe lines ONLY

https://stackoverflow.com/questions/53635263/why-does-indenting-if-else-with-tabs-break-a-makefile
The simple rule for makefiles is, always indent recipe lines with TAB,
and never indent any other lines with TAB.
2023-07-05 09:09:08 -04:00
Andrey a103960186 only:only BOR needs flash_ex? 2023-07-05 00:34:32 -04:00
Andrey 2d96b69e38 only:a bit more of AT32 2023-07-05 00:27:12 -04:00
Andrey b5f3094602 a bit more of AT32 2023-07-05 00:21:16 -04:00
Andrey 55ff879cb7 helping build 2023-07-05 00:21:06 -04:00
rusefillc d32a0c55d0 only:a bit of AT32 2023-07-04 23:48:15 -04:00
rusefillc d709afe21b
global_port.h (#5388)
* global_port.h

* global_port.h

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-07-04 23:45:10 -04:00
rusefillc 67834809d4
Get rid of HW_LAYER_EMS (#5389)
Now we have HW_LAYER(_CPP) for common HW stuff
And HW_LAYER_PORT(_CPP) for ports stuff

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-07-04 23:42:13 -04:00
rusefillc 8b33fb79bb a bit of AT32 2023-07-04 23:40:08 -04:00
rusefillc fa98b04909 a bit of AT32 2023-07-04 23:01:04 -04:00
rusefillc 9e838f1d12
HW_LAYER_EMS* renamed to HW_LAYER_PORT* (#5387)
* HW_LAYER_EMS_CPP renamed to HW_LAYER_PORT_CPP

* HW_LAYER_EMS renamed to HW_LAYER_PORT

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-07-04 22:30:20 -04:00
rusefillc 3a35e703a0 only:helping cygwin 2023-07-04 01:08:55 -04:00
Andrey G 18fd4dcf80
Openblt usb on Proteus with OSC detecor (#5382)
* OpenBLT: enable for F4 (proteus), enable USB interface

* OpenBLT: subaru EG33: sync code with common

* OpenBLT: fix flashing script

* OpenBLT: fix flash layout

* OpenBLT: reuse osc_detector for OpenBLT on Proteus

* OpenBLT: define STM32F4XX, STM32F7XX or STM32H7XX

For compatibility with RusEFI sources
2023-07-03 08:22:18 -04:00
Andrey G d5e9c3a5e1
Openblt usb for F7 (#5365)
* OpenBLT: enable USB for F7

* OpenBLT: simple flash over USB script
2023-07-02 09:22:55 -04:00
rusefillc 5812210afa helping C&K 2023-06-25 11:02:22 -04:00
rusefillc bc2a2b9ab9 only:better method name 2023-06-25 02:08:53 -04:00
rusefillc 47d92d3e95 helping gcc 2023-06-15 23:28:27 -04:00
Andrey 97b415436d only:docs 2023-06-15 17:40:24 -04:00
Andrey 86ce899026 only:using higher level API which could matter for unit tests around time zero 2023-06-15 17:36:07 -04:00
rusefillc e427007393 CJ125 is dead 2023-06-14 08:50:51 -04:00
rusefi 426bc8720e console "spark 1" bench hands up proteus #5320
i feel lucky!
2023-06-11 23:23:17 -04:00
rusefi f77f356e6d reducing code duplication 2023-06-11 23:17:13 -04:00
rusefi 731fd89ef7 reducing magic constant 2023-06-11 23:13:36 -04:00
andreika-git 23891833be fix old bug (again?) 2023-06-06 23:59:04 +03:00
rusefillc 551e7d5b38 p from past 2023-06-05 11:44:56 -04:00
Matthew Kennedy f7e6ccd9e2 de-pointerize outputMode #49 2023-06-05 10:25:00 -04:00
andreika-git 85058bb308 more guard #ifdefs 2023-06-02 07:27:37 -04:00
andreika-git ad02e45a4a weak signal detector disabling option for trigger_input_adc 2023-06-02 07:27:37 -04:00