rusefi-full/firmware/config/boards/kinetis
Matthew Kennedy 85fab40d21
get mcu temperature within port (#2326)
* remove EFI_ADC_TEMP_SENSOR

* implement

* comment

* s

* switch adc_inputs over

* header

* s

* I think aligned-on-stack should work ok

* num channels

* cache safety

* move adc init too

* don't compile that file for the h7

* cypress & kinetis

* ports

* guard against bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 22:04:36 -05:00
..
OS/os get mcu temperature within port (#2326) 2021-02-09 22:04:36 -05:00
config Auto-generated configs and docs 2021-02-09 19:01:08 +00:00
libc Kinetis readme files 2019-07-27 12:46:51 -04:00
!compile_kinetis.bat Switch to Bash (#1585) 2020-07-09 10:27:20 -04:00
!generate_memory_usage_report.bat
board.c
board.h
board.mk Chibi os 20 (#2212) 2021-01-19 15:20:35 -05:00
board_configuration.cpp convert cranking defaults to mg (#1921) 2020-11-03 14:12:26 -05:00
chconf.h reducing code duplication 2021-02-05 23:56:22 -05:00
compile_kinetis.sh move cd statements to common_make.sh (#1830) 2020-09-28 18:25:15 -04:00
config.mk github CI fix (Kinetis/release) (#1045) 2019-12-04 15:16:26 -05:00
efifeatures.h Gpio cleanup #2 (#1530) 2021-01-06 18:29:47 -05:00
halconf.h Chibi os 20 (#2212) 2021-01-19 15:20:35 -05:00
halconf_community.h Update chibios (#1364) 2020-04-25 16:32:32 -04:00
mcuconf.h
readme.md Kinetis readme files 2019-07-27 12:46:51 -04:00
rusefi_hw_enums.h Gpio cleanup #2 (#1530) 2021-01-06 18:29:47 -05:00

readme.md

rusEfi runs on MKE16F512 (alpha version as of July 2019)

rusEfi Kinetis implementation consists of three files/folders: firmware/config/boards/kinetis firmware/hw_layer/ports/kinetis firmware/hw_layer/trigger_input_comp.cpp

Since MKE16F512 is the first not stm32 rusEfi implementation, AndreiKA has a lot of fun! Kinetis overrides are in firmware/config/boards/kinetis/rusefi_hw_enums.h overrides pins firmware/config/boards/kinetis/config/rusefi_config_kinetis.txt

todo: have rusefi_stm32_hw_enums.h
have rusefi_kinetis_hw_enums.h move more generated files to 'generated' folder(s) maybe generated_stm32?

todo: move firmware/config/boards/kinetis/config/!gen_enum_to_string.bat somewhere else? merge with stm32?

At the moment we use internal RC generator. Open question if it's good enough.

pic

How to program

Used to be NXP_Kinetis_Bootloader_2_0_0 KinetisFlashTool and it's not clear how to download it now :(

We happen to have https://github.com/rusefi/rusefi_external_utils/raw/master/Kinetis/FSL_Kinetis_Bootloader_2.0.0_repack.zip