diff --git a/misc/git_scripts/git_add_upstream.bat b/misc/git_scripts/git_add_upstream.bat new file mode 100644 index 00000000..ca1b51d3 --- /dev/null +++ b/misc/git_scripts/git_add_upstream.bat @@ -0,0 +1,3 @@ +git remote -v +git remote add upstream https://github.com/rusefi/rusefi_documentation.git +git remote -v diff --git a/misc/git_scripts/git_pull_submodules.bat b/misc/git_scripts/git_pull_submodules.bat new file mode 100644 index 00000000..a59fa05d --- /dev/null +++ b/misc/git_scripts/git_pull_submodules.bat @@ -0,0 +1 @@ +git submodule update --init \ No newline at end of file diff --git a/misc/git_scripts/git_reset_to_upstream.bat b/misc/git_scripts/git_reset_to_upstream.bat new file mode 100644 index 00000000..283a74f8 --- /dev/null +++ b/misc/git_scripts/git_reset_to_upstream.bat @@ -0,0 +1,4 @@ +git fetch upstream +git checkout master +git reset --hard upstream/master +git push origin master -f \ No newline at end of file diff --git a/misc/git_scripts/readme.md b/misc/git_scripts/readme.md new file mode 100644 index 00000000..9c932a56 --- /dev/null +++ b/misc/git_scripts/readme.md @@ -0,0 +1,5 @@ + +The Windows Batch files are targeted at potential contributors who would fork rusefi/rusefi_documentation and work on their clone locally. + + +These scripts require command line GIT client. \ No newline at end of file diff --git a/misc/selecting_open_source_ecu_microcontroller.md b/misc/selecting_open_source_ecu_microcontroller.md new file mode 100644 index 00000000..03e46b22 --- /dev/null +++ b/misc/selecting_open_source_ecu_microcontroller.md @@ -0,0 +1,27 @@ + +As of Jan 2019 we still like Cortex-M a lot stm32, here are the reasons: Performance, Availability, +Toolchain, Hardware API. + +1. **Performance** - stm32 gives us 160MHz and close to 200Kb of RAM with floating point unit. + +2. **Availability** stm32 is cheap and readily available in low quantity both just chips and convenient dev boards + +3. **Toolchain** Free GNU Arm Embedded Toolchain allows us to compile and debug software + +4. **Hardware API** ChibiOS Hardware Abstraction Layer allows us to not spend too much time debugging low level peripheral registers + +One of the things we do not like about smt32 Cortex-M is the fact that this family is not automotive and not based on 5 volts. +In an ideal chip we would like to see 5v ADC and maybe more hardware timers. + + +We've looked into a few other chips but so far have not found a better overall platform. + +Relevant forum threads: + +S32K148 https://rusefi.com/forum/viewtopic.php?f=13&t=816 + +SPC563Mx, MPC563x - this one has some ChibiOS support - https://rusefi.com/forum/viewtopic.php?f=13&t=429 + +TMS570 - https://rusefi.com/forum/viewtopic.php?f=13&t=407 & https://github.com/rusefi/rusefi/issues/89 + +(in Russian) https://rusefi.com/forum/viewtopic.php?f=8&t=269 \ No newline at end of file diff --git a/misc/solenoid_diode_wiring.png b/misc/solenoid_diode_wiring.png new file mode 100644 index 00000000..e2cccbba Binary files /dev/null and b/misc/solenoid_diode_wiring.png differ