Commit Graph

20574 Commits

Author SHA1 Message Date
Andrey 954ddacd96 GM 2022-09-14 00:03:38 -04:00
Andrey 8ce57d5599 code formatting 2022-09-13 23:44:38 -04:00
Matthew Kennedy 35997c6318
pwm iteration limit to avoid float math accuracy loss (#4578) 2022-09-13 21:16:35 -04:00
rusefi 2042d9b0b6 You would not believe how you invert TLE9201 #4579 2022-09-13 21:03:47 -04:00
rusefi fc8c6df4fe h154 2022-09-13 20:23:40 -04:00
Andrey G 626785452a
subaru_eg33: remove duplicate compile script (#4576) 2022-09-13 19:56:41 -04:00
GitHub gen-configs Action d95317c683 Auto-generated configs and docs 2022-09-13 23:55:16 +00:00
rusefi 172c91aaf9 h154 2022-09-13 18:13:58 -04:00
Andrey G 31180e179b
digital_input: check for valid callback not name! (#4575) 2022-09-13 18:02:00 -04:00
Andrey G a269287b70
Os util update (#4574)
* chVTSetAny: "this could be simplified"

* os_utils: use Chibi's CriticalSectionLocker
2022-09-13 17:57:13 -04:00
GitHub gen-configs Action 4fef1d2346 Auto-generated configs and docs 2022-09-13 18:12:48 +00:00
Matthew Kennedy 86562332c4
resurrect EFI_CLOCK_LOCKS (#4572)
* resurrect EFI_CLOCK_LOCKS

* missing extern

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-09-13 14:07:25 -04:00
GitHub gen-configs Action 6e53b1b5a3 Auto-generated configs and docs 2022-09-13 06:33:23 +00:00
rusefillc 0b6cb09869 kick Start Cranking mode #4569 2022-09-13 02:23:57 -04:00
rusefillc 73537bd387 kick Start Cranking mode #4569 2022-09-13 02:18:49 -04:00
GitHub gen-configs Action 3c601bff93 Auto-generated configs and docs 2022-09-13 01:46:14 +00:00
rusefillc ac33561801 outputRequestPeriod into logs 2022-09-12 21:41:23 -04:00
rusefillc fae5f82125 outputRequestPeriod into logs 2022-09-12 20:56:57 -04:00
rusefillc 9c83cfd696 moving SD logic to better source 2022-09-12 20:39:43 -04:00
GitHub set-date Action ab51fc0b2a Update date 2022-09-13 00:25:52 +00:00
GitHub gen-configs Action 08db9cc1ac Auto-generated configs and docs 2022-09-13 00:18:15 +00:00
rusefillc 18684f2c28 outputRequestPeriod into logs 2022-09-12 20:13:17 -04:00
GitHub gen-configs Action 05e9c2081e Auto-generated configs and docs 2022-09-12 23:10:38 +00:00
Andrey G 69d9716fa6
tle8888 dead code (#4568) 2022-09-12 18:54:29 -04:00
Andrey G 8ff49301e5
stm32: microsecond timer: set correct period value (#4567)
Driver sets (period - 1) to ARR (auto-reload register)
So we need to set period to (1 << 32) to get maximum
0xffffffff value in ARR. But period is uint32_t.
So set it to 0 and it will ovelap to UINT32_MAX at
pwmp->tim->ARR  = pwmp->period - 1;
2022-09-12 07:35:31 -04:00
rusefillc 5c8d44eec7 at the moment efiWatchdog always fails on enable, would this fix? 2022-09-11 21:31:42 -04:00
GitHub gen-configs Action f359b304fb Auto-generated configs and docs 2022-09-12 01:21:40 +00:00
rusefi 88011024d9 at the moment efiWatchdog always fails on enable, would this fix? 2022-09-11 21:15:25 -04:00
GitHub set-date Action 944fb57bca Update date 2022-09-12 00:23:15 +00:00
Andrey G 55c1f53c75
dead code, reduce typedefs (#4566)
* Do lightweight checks first

* Dead getTimeIgnitionSeconds()

Dead since 81fffe87b7

* Get rid of efitime_t.

Purpose are not clear. Use efitick_t where ticks are used,
use efitimeus_t for uS, use efitimems_t or efitimems64_t for mS.

* Fix unit tests

* Fix misc: stm32f1_test_project
2022-09-11 16:08:11 -04:00
Andrey G e2addd1951
Supress tons of warning from triggers (#4565) 2022-09-11 15:25:58 -04:00
Andrey G 8069506135
EFI_PROD_CODE guard around port_mpu_util.h include (#4564) 2022-09-11 13:42:07 -04:00
Andrey G 91d4844e38
time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
rusefillc 7cc41dfa75 human brain does need sleep 2022-09-11 12:40:24 -04:00
rusefillc 07727f5d0a Revert "refactoring: type safety"
This reverts commit ed7908a69d.
2022-09-11 11:14:20 -04:00
rusefillc ed7908a69d refactoring: type safety 2022-09-11 11:00:12 -04:00
Andrey G 19226cb656
efiWatchdog: avoid converting time to float (#4562)
https://stackoverflow.com/questions/68690961/why-does-converting-int-to-float-lose-precision-in-c-programming-language
2022-09-11 05:46:55 -04:00
rusefillc 2eca6ec3c7 refactoring: type safety 2022-09-11 05:41:01 -04:00
rusefillc 407c2afeba
Poke 2022-09-11 05:11:00 -04:00
GitHub gen-configs Action d8169b5643 Auto-generated configs and docs 2022-09-11 07:53:45 +00:00
rusefillc 2a05a31550 refactoring: type safety 2022-09-11 03:46:50 -04:00
rusefillc 851e8e48d3 refactoring: type safety 2022-09-11 02:57:35 -04:00
GitHub gen-configs Action 23fc3f288d Auto-generated configs and docs 2022-09-11 06:42:14 +00:00
rusefillc 9ef8ca604c Merge branch 'master' of https://github.com/rusefi/rusefi 2022-09-11 02:35:25 -04:00
rusefillc 565b8dfc2d dead value 2022-09-11 02:34:02 -04:00
GitHub gen-configs Action 34d37a9270 Auto-generated configs and docs 2022-09-11 06:32:36 +00:00
rusefillc 6e71b72acc refactoring - reducing API between FW and Java 2022-09-11 02:16:47 -04:00
rusefillc dde67e20d6 Merge branch 'master' of https://github.com/rusefi/rusefi 2022-09-11 02:04:52 -04:00
rusefillc 94762094a7 refactoring - reducing API between FW and Java 2022-09-11 01:59:44 -04:00
GitHub gen-configs Action 85d2b6feda Auto-generated configs and docs 2022-09-11 05:07:57 +00:00