Commit Graph

109 Commits

Author SHA1 Message Date
rusefillc 90e5630e60 avoid float -> int64 conversion #1977
cherry picking...
2020-11-23 23:33:46 -05:00
Matthew Kennedy 55379463c0
remove (#1985) 2020-11-23 20:10:17 -05:00
Matthew Kennedy f3b7a1d9da
Remove lockAnyContext, replace with CriticalSectionLocker (#1938)
* switch to CriticalSectionLocker

* that's just about all

* clean up last usage

* include hpp for sim

* need the cpp wrappers in the makefile too

* include dir

* include
2020-11-19 06:56:02 -05:00
Matthew Kennedy 5d3d85d644
put getTimeNowLowerNt in to mpu_util (#1950)
* put getTimeNowLowerNt in to mpu_util

* move GPTDEVICE to port_mpu_util

* and remove from efifeatures
2020-11-18 14:17:00 -05:00
rusefi 4280e3327f Stack usage is still all over the place #1662 2020-08-02 10:52:52 -04:00
rusefi 4210632cd1 Stack usage is still all over the place #1662 2020-08-01 21:31:23 -04:00
rusefi fb5756fe3e nope, unit tests did not just fix themselves 2020-06-17 08:42:37 -04:00
Matthew Kennedy ff3329655a
Dont cache dma buffers (#1110)
* add no_cache

* don't disable cache

* conventions

* formatting
2020-01-29 00:32:43 -05:00
rusefi 6e128a341b code style 2020-01-26 13:58:47 -05:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 3dbecfc2f0 todo 2019-11-13 22:02:13 -05:00
Matthew Kennedy 8969efaffe fix (#1005) 2019-11-13 08:42:16 -05:00
rusefi c9b994ba0d Revert "restoring #1003"
This reverts commit 08940cc6
2019-11-12 23:18:48 -05:00
rusefi 08940cc6c0 restoring #1003 2019-11-12 22:17:29 -05:00
rusefi 4b1c1e72ab time to panic and revert more 2019-11-12 21:42:44 -05:00
Matthew Kennedy 0570ef4c42 Fix (#1004)
* Revert "fixing build"

This reverts commit 22da8a7dfe.

* undo overzealous ifdef cplusplus
2019-11-12 01:13:13 -05:00
rusefi c4339e17d8 unit tests progress 2019-09-18 21:38:45 -04:00
rusefi 86e421e0ee fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi 092d2438d8 refactoring 2019-07-05 19:05:07 -04:00
rusefi 05fac9e869 Refactoring: OS access should be explicit #867 2019-07-05 19:00:44 -04:00
rusefi 0295c343b9 Refactoring: OS access should be explicit #867 2019-07-04 03:25:35 -04:00
rusefi b81c60cf3e Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi aaae4a2278 Refactoring: OS access should be explicit #867 2019-07-03 21:01:48 -04:00
Matthew Kennedy e044ddf974 enable dtcm (#856) 2019-06-23 09:20:17 -04:00
rusefi 28b6efa003 #787 2019-05-05 10:26:16 -04:00
rusefi c7b6f6f21f docs 2019-05-04 22:39:24 -04:00
rusefi 0aac3c8f41 we need TLE8888 driver #714 2019-04-04 23:03:32 -04:00
rusefi 5b11926fea we need TLE8888 driver #714 2019-04-04 19:29:33 -04:00
andreika-git f1ec34f032 More portability and smaller RAM footprint possible (#722)
* EFI_NO_CONFIG_WORKING_COPY

* EFI_CONSOLE_NO_THREAD

* EFI_SHAFT_POSITION_INPUT

* #ifndef UTILITY_THREAD_STACK_SIZE

* fix printf() -> print()
2019-03-30 22:41:46 +01:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi 4bba678dce Why do we use so much stack? #695
docs
2019-02-23 12:12:34 -05:00
dron0gus 76fa11d5e2 warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi 0eb2470a61 getMaxUsedStack() - stack usage reseach mini progress 2019-02-12 18:47:16 -05:00
rusefi 06be313448
Migrating to chibios18 (#687)
* first step #631

* chconf #631

* no EXT driver

* #631 progress

* #631 WOW it already compiles?!

* #631 simulator progress

* #631 CAN is back

* more changes about 25MHz

* Migrate to Chibios 18 stable #631

* undoing some merge mistake?

* little mess

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631
joystick works!

* Migrate to Chibios 18 stable #631
done?!
2019-02-05 18:36:25 -05:00
rusefi d9c8c1fc3e #631 TIME_MS2I mostly 2019-01-28 20:00:17 -05:00
rusefi de2eb04519 #657 2019-01-28 02:59:14 -05:00
rusefi fb206bb3df #657 pulling global access down 2019-01-28 00:52:21 -05:00
rusefi ddfee50ab6 better location for CORE_CLOCK 2018-12-26 21:35:52 -05:00
rusefi 7069d83e2d refactoring 2018-12-25 16:06:24 -05:00
rusefi 5ccc3bbef5 refactoring trigger system 2018-12-24 22:57:36 -05:00
rusefi fe85582767 refactoring 2018-12-24 22:17:13 -05:00
rusefi 4aaf6f884f bringing std types together 2018-12-08 16:00:36 -05:00
andreika-git 23fea3c0c5 STM32 Nucleo144-F767ZI board: Initial support (#620)
* More EFI_ #ifdefs for config flexibility

* Even more config flexibility

* New firmware/config/stm32f7ems/* files

* New firmware/config/boards/NUCLEO_F767/* files

* New firmware/hw_layer/stm32f7/* files

* Fix for EFI_USB_SERIAL

* Adding #if defined(STM32F7XX)

* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL

* I2Cv2 config changed in F7

* More versatile CCM defines

* Makefiles

* Double #ifs cleanup

* docs
2018-11-16 07:40:06 -05:00
rusefi ae61b62e51 refactoring: reducing code duplication 2018-10-28 15:07:42 -04:00
rusefi cf5e05e7b9 refactoring 2018-09-16 23:10:06 -04:00
rusefi 7caf762609 refactoring 2018-09-16 22:00:14 -04:00
rusefi 38d21215ab refactoring 2018-09-16 20:28:23 -04:00
rusefi a396c9b587 refactoring: better field names 2018-07-26 15:51:06 -04:00
rusefi a63db44420 docs 2017-12-06 20:04:27 -05:00
rusefi c435f663b0 docs 2017-05-17 20:29:22 -04:00