Andrey
0162ddb0d9
only:simulator build to include board_firmware.mk
...
only:simulator build to include board_common.mk
2024-10-06 23:22:06 -04:00
Alexey Esaulenko
7a801e9838
Fix incremental build of the simulator (linux version)
...
the root cause is .os.sentinel generation - it breaks, if $(OS) variable is empty
2024-09-14 14:25:11 -04:00
Andrey
4ea3cc868c
only: cd simulator ; make always full build unless on Windows #6337
2024-09-12 08:53:12 -04:00
rusefillc
acf97cc55c
https://sourceware.org/bugzilla/show_bug.cgi?id=9687 Weak symbols not working on mingw32
2024-08-03 12:24:06 -04:00
rusefillc
5527e451cf
custom board: custom gauges #6525
...
only: order of includes matters
2024-05-16 19:40:49 -04:00
Andrey
7a8674d47b
only:used by custom board custom live data
2024-05-16 00:05:39 -04:00
kifir23917
b84a4d13e1
move US_TO_NT_MULTIPLIER macro definition to Makefile ( #6445 )
...
* only:unit test time mess
* move US_TO_NT_MULTIPLIER macro definition in Makefile
---------
Co-authored-by: rusefi <rusefillc@gmail.com>
2024-05-01 19:33:39 -04:00
rusefi
85f1847726
only:HW_HELLEN_NISSAN is needed for 121 canned tune
2024-04-15 00:48:03 -04:00
David Holdeman
1569eb3158
force rebuild if os has changed
2024-03-23 22:18:13 -04:00
rusefillc
87c624c613
simulator has rules
2024-03-21 09:00:11 -04:00
David Holdeman
c7e4573428
check for file first
2024-03-18 20:26:08 -04:00
David Holdeman
f6e33b919d
define SHORT_BOARD_NAME
2024-03-18 19:41:13 -04:00
David Holdeman
4f3d44d484
add BOARDCPPSRC
2024-03-18 19:41:13 -04:00
David Holdeman
0db2ed0d85
Get default tune and include meta output folder
2024-03-17 00:22:21 -04:00
David Holdeman
15d53bb3c3
make PCHOBJ depend on CPPOBJS for simulator
...
make clean simulator remove pch
2024-03-12 23:58:58 -04:00
David Holdeman
2e71050428
set SHORT_BOARD_NAME
2024-03-12 23:58:58 -04:00
David Holdeman
caa64df58a
make simulator depend on config files
2024-03-12 22:25:40 -04:00
Andrey
bf68919fd6
only: Mazda Miata NB2 default tune #4038
2024-03-06 11:44:50 -05:00
rusefillc
ae8125fd89
only:EPIC: Improve toolset for default tune canned tune generation #4871
2024-03-06 01:27:30 -05:00
rusefillc
8c016642a3
EPIC: Improve toolset for default tune canned tune generation #4871
2024-02-24 23:06:42 -05:00
David Holdeman
2215981f00
build simulator with make bundle
2024-02-21 18:33:51 -05:00
Andrey
4489f050af
only: reducing variable reuse hack
2024-01-15 19:55:38 -05:00
rusefillc
e931bd850d
signal_executor_sleep is not part of real firmware
2024-01-07 15:51:49 -05:00
Andrey
523f9dad02
only:EPIC: Improve toolset for default tune canned tune generation #4871
2023-11-25 22:32:08 -05:00
Andrey
b7584611b1
only:EPIC: Improve toolset for default tune canned tune generation #4871
2023-11-25 20:41:00 -05:00
Andrey
80b65f95fc
only:EPIC: Improve toolset for default tune canned tune generation #4871
2023-11-25 18:18:59 -05:00
Matthew Kennedy
14a87d497e
remove ccache
2023-11-02 14:30:22 -04:00
Matthew Kennedy
0a767edd3d
prep adding Werror=shadow
2023-11-01 19:25:13 -04:00
Andrey
55b6f25725
simulator from source code should have debug fix #5495
2023-09-06 23:19:44 -04:00
rusefillc
c23efdc222
only:bump GCC level in simulator ( #5392 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-07-06 11:52:17 -04:00
rusefillc
06f10b48df
simulator board name
2023-04-29 06:47:09 -04:00
Andrey
7464275b00
progress: bringing simulator closer to real code
...
only:hellen-honda-k
2023-03-05 01:50:51 -05:00
Nathan Schulte
d144248a6f
fix simulator build (via MinGW) ( #4799 )
...
* firmware: kill -9 dead hipLastExecutionCount
* firmware: pin_repository C includes efi_gpio.h
* firmware: controllers: tidy #endif comments
* firmware: primary_pins logic depends EFI_GPIO_HARDWARE
* firmware: only print ADC info if HAL_USE_ADC
* firmware: digital_input: tidy #endif comments
* firmware: digital_input logic depends on e.g. HAL_USE_ADC
* firmware: digital_input logic depends !EFI_SIMULATOR
* firmware: digital_input logic depends e.g. HAL_USE_ADC
* simulator: Makefile includes RUSEFI_LIB_C as CSRC
* Revert "GHA/build-firmware: pin agents to Ubuntu 20.04 (#4793 )"
This reverts commit cb2477be6c
.
2022-11-18 23:43:43 -05:00
Nathan Schulte
4c197b4745
simulator: use CC and CPPC for LD ( #4794 )
...
this allows to specify a different GCC when building
2022-11-18 21:15:13 -05:00
Nathan Schulte
777c683319
simulator: Makefile uses spaces ...
...
... tabs are reserved for recipes
2022-11-18 10:09:28 -05:00
Matthew Kennedy
c3d6bd7e59
Pt2001 module ( #4396 )
...
* pt2001 uses module
* read flag0
* c
* libfirmware
* makefiles
* are unit tests happy?
* bootloader
2022-08-08 08:53:08 -04:00
Matthew Kennedy
a0d8ae3f4f
use libfirmware for a few things ( #4351 )
...
* use libfirmware
* unit tests
* crc
* missed one
* bootloader
2022-07-16 02:22:51 -04:00
Matthew Kennedy
a95bc3ad03
implement CAN driver for simulator ( #4312 )
...
* stub simulator CAN driver
* comments
* CAN sensor
* maybe implement?
* s
* fix
* tx and rx actually work!?!?!
* check_can_isr
* modify chibios
* Sim has no CAN on Windows (for now?)
* safer init/deinit, enable assertions
* smarter handling of missing CAN device
* better guards
* guards for windows
2022-07-03 08:25:24 -04:00
Matthew Kennedy
bc6a87cadc
allow enum_class in rusefi_hw_enums.h ( #4104 )
...
* make things c++ friendly
* install various canaries in coal mines
* using is much clearer than typedef
* fixing builds
* lps25
* trigger includes were a mess
* c -> c++ cleanup
* os util
* why did so many include os_util.h?
* fwd declare
* cypress/kinetis
* s
* eg33 happy
* happy sim
* cypress usb
* pch
* cypress
* doesn't need to include all that
* h7
2022-04-25 20:38:16 -04:00
rusefillc
f4fe1ce310
Explicit fw ( #3968 )
...
* explicit FW ID
* explicit FW ID
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-02-27 00:49:47 -05:00
Matthew Kennedy
736c7f33d9
make the simulator smaller ( #3869 )
...
* small sim
* o2 is ok
2022-02-01 16:19:46 -05:00
rusefillc
fcdb7b340d
mk files refactoring
...
saving build
2022-01-06 22:19:00 -05:00
rusefillc
04ab6a0488
mk files refactoring
2022-01-06 21:48:48 -05:00
rusefillc
a13a0a2cc9
mk files refactoring
2022-01-06 20:32:39 -05:00
rusefillc
7f0357ffcb
mk files refactoring
2022-01-06 20:06:31 -05:00
rusefillc
7c0fd37dfe
Live Data progress
2022-01-06 19:02:35 -05:00
Matthew Kennedy
bb57a4b084
detect more overflows with asan ( #3582 )
...
* overflow detector
* type list dynamic allocate
* fix the buffer length
* comment
* pr fb
* sanitize sim
* fix sim sanitizer bug
* didn't mean to turn off optimization for sim
* asan can do that, if you turn it on!
* cleaning
2021-11-20 01:38:39 -05:00
Matthew Kennedy
cdd27abb09
turn on c++ 20 ( #3579 )
...
* set flags
* emit initializers
* jar
2021-11-19 22:19:34 -05:00
Scott Smith
37da55c920
Compile each project's PCH to a separate file to reduce developer friction. ( #3505 )
...
Having to remove the precompiled header when switching from firmware to simulator to unit_tests and
back again is annoying. Use a directory to store the precompiled header output. Turn off
precompiled header warnings as GCC still complains even if it finds a valid one eventually.
2021-11-08 15:52:58 -05:00
Andrey
0e6a51e5c0
export board-specific macro for stm32 pins based on board yaml #3298
...
meta progress
2021-10-26 10:27:10 -04:00