Matthew Kennedy
7b33ebfa9c
build ( #2399 )
2021-02-24 21:55:51 -05:00
Matthew Kennedy
d933d18e29
use spiPolledExchange for small transfers ( #2358 )
...
* configure for no cache
* this doesn't need a setting
* now we don't need invalidate
* reorder and comment
* mmc
* sw knock
* use spiPolledExchange for small transfers
* mock spi
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-17 14:48:21 -05:00
Matthew Kennedy
39884f8934
use DECLARE_ENGINE_PTR for Engine class ( #2365 )
...
* engine cleanup
* do the cleanup
* one last spot
* expand_engine noop for firmware
* simulator
2021-02-16 16:58:54 -05:00
Matthew Kennedy
b995e7bcaa
include board.c from hw_ports.mk ( #2311 )
...
* 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
* move board.c
* set explicit cpu type for simulator
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-08 07:52:31 -06:00
Matthew Kennedy
10c31c2955
-g3 to -g ( #2256 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -05:00
Andrey G
777979c3ca
Chibi os 20 ( #2212 )
...
* Update ChibiOS
* Fix Makefiles includes paths
* halconf.h: remove flash hack
* mcuconf: fix EXTI ptiorityes
* Digital Input: ICU: use designated initializers, initialize 'arr'
* ChibiOS: lis302dl fix
* ADC: update to new API
* UARTConfig: timeout_cb field, formating
* ChibiOS: remove _exit, _kill, _getpid
* Fix lis302dl
* Bump config versions
* chconfig_common: cosmetic changes
* stm32f4ems: commulative config update
* Update Simulator
* ALLCSRC already contain all needed ChibiOS files.
Same for ALLINC and ALLCPPSRC
* ChibiOS fix for Simulator
* ChibiOS: port lock/unlock hook and MMC over SPI timeout
* STM32F7: update configs
* STM32F7: update linker file
* Cypress: port ADC lld to ChibiOS-20
* Cypress: port SPI lld to ChibiOS-20
* Cypress: port CAN lld to ChibiOS-20
* Cypress: fix include path for rules.ld
* Cypress: update chconf.h and halconf.h for ChibiOS-20
* Kinetis: update ADC lld to ChibiOS-20
* Kinetis: update SPI lld to ChibiOS-20
* Kinetis: update UART lld driver for ChibiOS-20
* Kinetis: update chconf.h and halconf.h for ChibiOS-20
* Kinetis: fix include path for rules.ld
* Nucleo F746: update ld script
* Nucleo F746: fix compile
* Bootloader: fix compilation with ChibiOS-20, cleanup
* Bootloader: add way to pass crosscompiler using CROSS_COMPILE
* Debug build arguments
* Simulator: fix windows compilation
Exclude syscalls_cpp.cpp from compilation
2021-01-19 15:20:35 -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
rusefillc
26fbf0527a
trigger and start button pins not displayed by "pins" command fix #2084
2020-12-16 22:53:26 -05:00
Matthew Kennedy
8ad2080df7
switch stm32 scheduling to use PWM driver ( #1983 )
...
* move to folder
* extract hardware part of microsecond_timer
* dead ST forum link
* de-volatile
* simulator build
* guard
* switch stm32 to pwm timer
* comments
* f7 mcuconf
* simulator
* guard
* warning
* header, cleanup
* constant
* less magic
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 00:44:40 -05:00
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
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
e0bb7ad581
disable i2c, other unused features ( #1891 )
...
* dead
* more
2020-10-20 22:24:32 -04:00
Matthew Kennedy
97cb9f45bd
logging simplification: switch bare functions to member functions: try the second ( #1794 )
...
* first pass
* first pass
* const means we don't have to check!
* static
* test fixup
* fix sniffer
2020-09-13 11:49:25 +03:00
rusefi
256a4a2637
Revert "logging simplification: switch bare functions to member functions ( #1788 )"
...
This reverts commit d941bdc5
2020-09-12 04:36:24 -04:00
Matthew Kennedy
d941bdc502
logging simplification: switch bare functions to member functions ( #1788 )
...
* first pass
* first pass
* const means we don't have to check!
* static
* test fixup
2020-09-12 03:08:11 +03:00
rusefi
adcf368cc9
Hellen says simulator
2020-09-07 12:19:17 -04:00
rusefi
a6c7d60e5d
a bit of flexibility
2020-08-26 23:12:08 -04:00
David Holdeman
a0fbd8a81e
Properly catch simulator build failure ( #1716 )
...
* catch error
* file still returns 0 if not found
2020-08-21 22:46:00 -04:00
Andrei
068f21c616
vss_exti untested
2020-08-13 18:27:31 +03:00
rusefi
8764693179
TS SD integration #1653
2020-08-07 00:59:00 -04:00
rusefi
8192247175
TS SD integration #1653
2020-08-06 23:34:47 -04:00
rusefi
ea7fed6a16
TS SD integration #1653
2020-08-06 01:15:41 -04:00
rusefi
2531ba7ca6
progress
2020-08-06 00:36:10 -04:00
rusefi
8f4aecf7ca
The Big Refactoring of 2019: folder structure #723
2020-08-02 20:46:40 -04:00
rusefi
0748e57ad9
EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter fix #806
2020-07-12 21:53:55 -04:00
Matthew Kennedy
38d3641c00
trace global lock/unlock ( #1582 )
...
* trace global lock/unlock
* bootloader stub
* add to java
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-10 23:27:27 -04:00
David Holdeman
15e44ae9cc
Use github actions to build and upload bundles ( #1583 )
...
* add env var to skip upload
* remove checking from compile.bat
* working on push.yaml
* finish sorting
* progress
* rename push to builds
* rename push to builds
* Add skip upload env var
* fix pull_request name
* fixed typo and changed name
* fixed indentation and runs-on
* try different env var setup
* add nucleos and switch to underscore
* add quotes
* remove boards that were commented
* remove boards that were commented
* fix project board name
* fixed variable name
* add ini-file and console-settings
* try installing gcc-multilib first
* Install g++-multilib as well
* remove unnecessary export
* fixed exit numbers
* change to different env setup
* add simulator and console compilation to board bundles
* changed OS and added linux simulator build
* add checkout and missing colon
* add gcc-multilib installes
* Install mingw
* fixed install
* remove mingw from linux sim and call compile directly
* change directory
* moved envs to command
* debug ls
* debug ls
* set ftp vars
* add makefile debug info
* removed batchecks
* redirect stdout to easier see orrs
* change name
* remove redirect, add file inpection
* Add conditional project name
* Try software upgrade
* missing char
* update ine files
* try quotes
* add escapes
* add quotes
* add escapes and quotes
* remove quotes and escapes
* remove software upgrade
* ignore test 2
* update apt
* like this then
* forgot import
* fix case
* remove RUSEFI_SKIP_UPLOAD and check RUSEFI_FTP_SERVER instead
* break workflow back apart
* upload simulator artifact
* fixed operator
* update apt
* change paths
* Update build-firmware.yaml
* move update bundle to artifacts
* fix var name
* Install ncftp
* set env vars conditionally
* remove check so zips are created
* try things the github way and copy to primary
* re-enable test
* missing space
2020-07-08 11:10:24 -04:00
David Holdeman
2881db0a07
Convert scripts simulator ( #1518 )
...
* remove run_gcov and call ci_gcov from run_clean_gcov
* explicitly call bash
* remove unused scripts
* covert compile
* convert compile
* convert clean
2020-06-18 23:14:37 -04:00
rusefi
fb5756fe3e
nope, unit tests did not just fix themselves
2020-06-17 08:42:37 -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
rusefi
62c89a39da
class constructors are a great way to have simple initialization sequence
2020-05-03 11:49:06 -04:00
rusefi
11a02b6395
class constructors are a great way to have simple initialization sequence
2020-05-03 10:58:52 -04:00
rusefi
eb480c8cc7
simulator to have RPM out of the box
2020-05-01 12:56:40 -04:00
rusefi
880ceb38e4
making build a bit happier
2020-04-25 18:39:16 -04:00
Matthew Kennedy
a8f466c615
trigger emulator refactoring ( #1358 )
...
* trigger gen refactoring
* missed one
* fix makefile
* commentary
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 14:00:06 -04:00
rusefi
a08a6cebff
progress
2020-04-13 09:14:48 -04:00
rusefi
89474adb63
cj125 progress
2020-04-08 23:14:21 -04:00
rusefi
d3745c0f9e
smart gpio clean-up
2020-04-06 14:13:29 -04:00
rusefi
5c2794c2e0
critical error usability improvements
2020-03-28 21:28:32 -04:00
Matthew Kennedy
53679fab54
Finally rename injector_central to bench_test ( #1229 )
...
* bench test rename
* rename consumers
* good lord what are all of these externs doing
* fix tests
2020-03-26 08:03:55 -04:00
Matthew Kennedy
4740f525ee
save some ram ( #1211 )
...
* remove dead stuff
* why store those pointers twice?
2020-03-22 19:06:29 -04:00
Matthew Kennedy
5fc82e21f8
Move can_hw.cpp in to drivers folder ( #1184 )
...
* relocate
* include path
* simulator makefile
* fix mre while we're at it
* it would help if I fixed it right
2020-03-13 09:50:43 -04:00
Matthew Kennedy
8647abd22b
Add single flag for omitting PnP configs ( #1157 )
...
* switch to single enable flag
* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
rusefi
f020a0b0a1
code style
2020-02-13 23:25:09 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
rusefi
cb9fc19f92
that's not a worth a file
2019-12-24 00:03:53 -05:00
rusefi
c38b4545eb
refactoring
2019-12-23 23:32:43 -05:00
rusefi
3494f6ff9f
adding simplicity
2019-12-23 23:25:08 -05:00
rusefi
8ffbe768cd
simplicity?
2019-12-23 22:50:04 -05:00
rusefi
a81655216b
adding simplicity
2019-12-23 22:40:23 -05:00
rusefi
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
andreika-git
2a39c69f51
iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis ( #1043 )
...
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC
* Impl. IacPidMultTable
* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
rusefi
0dd517bcc7
The Big Refactoring of 2019: folder structure #723
2019-12-04 00:22:34 -05:00
rusefi
de36f76882
The Big Refactoring of 2019: folder structure #723
2019-12-03 23:52:44 -05:00
rusefi
48db08aaae
shared GCC settings between projects
2019-12-02 10:26:16 -05:00
rusefi
a7b7fd1005
making more code testable
2019-11-20 02:18:17 -05:00
rusefi
ad7e36c228
refactoring
2019-11-20 01:35:08 -05:00
rusefi
d3da33517f
making F4 and else happier with perf_trace, also maybe missing 'break'?
2019-11-19 20:36:47 -05:00
rusEfi
1991437f77
development into unit tests, makefile cleanup
2019-11-19 20:05:12 -05:00
rusefi
8cf19d3d12
refactoring & verbose trigger to simulator
2019-10-29 21:12:44 -04:00
rusefi
469a2f1fd9
reducing code duplication with prod code & fixing simulator
2019-10-29 16:57:55 -04:00
rusefi
f6bebd7eb7
fixing simulator start-up. how did CI miss this? is CI not doing anything? :(
2019-10-29 16:32:46 -04:00
rusefi
1f4a06e993
preparing for #974
...
code comments & refactoring
2019-10-14 13:10:19 -04: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
b3b8d8607c
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 16:41:10 -04:00
rusefi
533087f475
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi
b3d0f63ab3
magic command to facilitate linux build
2019-09-21 17:11:32 -04:00
rusefi
9ad82b03b5
fixing build
2019-09-21 15:33:13 -04:00
rusefi
05ef1b6c3e
reducing complexity
2019-09-20 01:09:31 -04:00
rusefi
46ee5a34e8
unit tests progress
2019-09-19 21:55:27 -04:00
rusefi
0384b0488f
docs
2019-08-26 21:56:10 -04:00
rusefi
2579897d06
fixing build?
2019-08-06 22:34:34 -04:00
rusefi
36a8cf8ad4
CI instability: FATAL error: warn stream not initialized for 6039
...
also some refactoring
fix #798
2019-08-04 13:48:10 -04:00
rusefi
d0d546e500
EFI_TOOTH_LOGGER
2019-07-07 15:22:46 -04:00
rusefi
05fac9e869
Refactoring: OS access should be explicit #867
2019-07-05 19:00:44 -04:00
rusefi
aaae4a2278
Refactoring: OS access should be explicit #867
2019-07-03 21:01:48 -04:00
rusefi
0fe8839ae4
Create readme.md
2019-06-24 19:30:01 -04:00
rusefi
728ff18f20
reducing scripts duplication
2019-06-07 19:54:15 -04:00
rusefi
f02f9a3a5f
TS over HW VSP wants lower blockingFactor #794
2019-05-06 21:25:49 -04:00
andreika-git
b80d95578d
EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes ( #793 )
...
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE
* Impl. EFI_CONSOLE_UART_DEVICE
* Move flash source files to ports/stm32/ & hw_ports.mk
* Fix TLE6240
* Fix EFI_NO_CONFIG_WORKING_COPY
* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
rusEfi
8afee0fd90
MC33816 integraion #784
...
bare bones skeleton
2019-05-03 21:13:25 -04:00
rusEfi
d8fa9cfb78
docs
2019-04-30 22:47:42 -04:00
rusefi
7772dbe3e2
Try ccache #769
2019-04-20 21:57:00 -04:00
rusefi
8c62395a10
more timestamps into CI logs also parallel simulator compilation
2019-04-20 17:27:04 -04:00
andreika-git
e9a57f4042
fix Simulator + HAL_USE_COMP ( #760 )
2019-04-15 08:59:29 -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
00e848c243
steps towards smarter gpio
2019-04-13 11:22:40 -04:00
rusefi
d8281626df
defined(__DOXYGEN__) ? fix #748
2019-04-12 22:10:57 -04:00
rusefi
f9fa7604bc
The Big Refactoring of 2019: folder structure #723
2019-04-05 01:02:34 -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
rusefi
02832ce0c3
The Big Refactoring of 2019: folder structure #723
2019-04-02 23:19:21 -04:00
rusefi
aaf6fcdf6a
The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
...
sweet progress!
2019-04-01 14:18:21 -04:00
rusefi
56d026b8e2
The Big Refactoring of 2019: folder structure #723
2019-03-31 16:33:16 -04:00
rusefi
43afb45c0b
trying to fix build
2019-03-29 11:14:03 -04:00
rusefi
aff03cdbc5
unifying_file_naming
2019-03-29 09:40:43 -04:00