Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vms_ecu] Updated board config and added test module
- Loading branch information
Showing
8 changed files
with
467 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
|
||
<module name="vms_ecu_demo" dir="fsae_electric"> | ||
<doc> | ||
<description> | ||
A simple module for Viking Motorsports Engine Control Unit demonstration, | ||
showing it usability for Formula SAE student competition. | ||
More info at https://wiki.paparazziuav.org/wiki/VMS_ECU | ||
</description> | ||
|
||
<section name="ECU"> | ||
<!-- optionally define parameters here --> | ||
</section> | ||
</doc> | ||
|
||
<settings> | ||
<dl_settings> | ||
<dl_settings NAME="ECU"> | ||
<dl_setting min="0" max="1" step="1" values="FALSE|TRUE" var="ams_status" type="bool" shortname="AMS_EN" module="modules/fsae_electric/vms_ecu_demo"/> | ||
<dl_setting min="0" max="1" step="1" values="FALSE|TRUE" var="pwr_ready" type="bool" shortname="PWR_READY" module="modules/fsae_electric/vms_ecu_demo"/> | ||
<dl_setting min="0" max="1" step="1" values="FALSE|TRUE" var="pwr_stdby" type="bool" shortname="PWR_STDBY" module="modules/fsae_electric/vms_ecu_demo"/> | ||
<dl_setting min="0" max="1" step="1" values="FALSE|TRUE" var="rtds" type="bool" shortname="RTDS" module="modules/fsae_electric/vms_ecu_demo"/> | ||
<dl_setting min="0" max="4095" step="1" var="dac_1" type="uint16" shortname="DAC_1" module="modules/fsae_electric/vms_ecu_demo" handler="UpdateDac1"/> | ||
<dl_setting min="0" max="4095" step="1" var="dac_2" type="uint16" shortname="DAC_2" module="modules/fsae_electric/vms_ecu_demo" handler="UpdateDac2"/> | ||
</dl_settings> | ||
</dl_settings> | ||
</settings> | ||
|
||
<header> | ||
<file name="vms_ecu_demo.h"/> | ||
</header> | ||
<init fun="vms_ecu_demo_init()"/> | ||
<periodic fun="vms_ecu_demo_periodic()" freq="10."/> | ||
<makefile> | ||
<file name="vms_ecu_demo.c"/> | ||
<define name="USE_DAC1" value="1" /> | ||
<define name="USE_DAC2" value="1" /> | ||
|
||
<define name="USE_CAN1" value="1" /> | ||
<define name="USE_CAN2" value="1" /> | ||
|
||
</makefile> | ||
</module> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.