Skip to content

Commit

Permalink
just some experimental settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Xnyle committed Nov 1, 2018
1 parent 948f8f5 commit c02ffed
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
3 changes: 2 additions & 1 deletion config.h
Expand Up @@ -51,7 +51,8 @@
#define ANGLE_5_300 210
#define TQS_CALIB 0.0
#define ACA 4764
#define EEPROM_INIT_MAGIC_BYTE 50 // makes sure (chance of fail 1/255) eeprom is invalidated after flashing new config
#define EEPROM_NOINIT // eeprom will not be cleared
#define EEPROM_INIT_MAGIC_BYTE 37 // makes sure (chance of fail 1/255) eeprom is invalidated after flashing new config
#define ADC_BATTERY_VOLTAGE_K 68
#define ACA_EXPERIMENTAL 128

Expand Down
Expand Up @@ -9,7 +9,7 @@
150
300
50
197
238
46
1.6
-110.4
Expand All @@ -30,7 +30,7 @@
false
64000
35
85
127
false
true
false
Expand Down
4 changes: 4 additions & 0 deletions nbproject/private/configurations.xml
Expand Up @@ -42,6 +42,7 @@
<in>stm8s_wwdg.h</in>
</df>
<df name="src">
<in>stm8s_adc1.asm</in>
<in>stm8s_adc1.c</in>
<in>stm8s_adc2.c</in>
<in>stm8s_awu.c</in>
Expand All @@ -51,6 +52,7 @@
<in>stm8s_clk.c</in>
<in>stm8s_exti.asm</in>
<in>stm8s_exti.c</in>
<in>stm8s_flash.asm</in>
<in>stm8s_flash.c</in>
<in>stm8s_gpio.asm</in>
<in>stm8s_gpio.c</in>
Expand All @@ -62,7 +64,9 @@
<in>stm8s_iwdg.c</in>
<in>stm8s_rst.c</in>
<in>stm8s_spi.c</in>
<in>stm8s_tim1.asm</in>
<in>stm8s_tim1.c</in>
<in>stm8s_tim2.asm</in>
<in>stm8s_tim2.c</in>
<in>stm8s_tim3.c</in>
<in>stm8s_tim4.c</in>
Expand Down
17 changes: 11 additions & 6 deletions nbproject/private/private.xml
Expand Up @@ -31,24 +31,29 @@
<file>file:/G:/osebikefw/config.h</file>
<file>file:/G:/osebikefw/BOdisplay.c</file>
<file>file:/G:/osebikefw/ACAeeprom.c</file>
<file>file:/G:/osebikefw/pwm.c</file>
<file>file:/G:/osebikefw/main.c</file>
<file>file:/G:/osebikefw/StdPeriphLib/inc/stm8s.h</file>
<file>file:/G:/osebikefw/Start_Compiling.bat</file>
<file>file:/G:/osebikefw/cruise_control.c</file>
<file>file:/G:/osebikefw/ACAcontrollerState.c</file>
<file>file:/G:/osebikefw/BOdisplay.h</file>
<file>file:/G:/osebikefw/ACAsetPoint.c</file>
<file>file:/G:/osebikefw/ACAcontrollerState.h</file>
<file>file:/G:/osebikefw/ACAcommons.h</file>
<file>file:/G:/osebikefw/motor.c</file>
<file>file:/G:/osebikefw/Makefile_linux</file>
<file>file:/G:/osebikefw/gpio.h</file>
<file>file:/G:/osebikefw/StdPeriphLib/src/stm8s_tim1.c</file>
<file>file:/G:/osebikefw/WriteOptionBytes.bat</file>
<file>file:/G:/osebikefw/ACAeeprom.h</file>
<file>file:/G:/osebikefw/display.c</file>
<file>file:/G:/osebikefw/Makefile_windows</file>
<file>file:/G:/osebikefw/motor.h</file>
<file>file:/G:/osebikefw/display_kingmeter.h</file>
<file>file:/G:/osebikefw/pwm.c</file>
<file>file:/G:/osebikefw/main.c</file>
<file>file:/G:/osebikefw/cruise_control.c</file>
<file>file:/G:/osebikefw/display_kingmeter.c</file>
<file>file:/G:/osebikefw/ACAsetPoint.c</file>
<file>file:/G:/osebikefw/gpio.c</file>
<file>file:/G:/osebikefw/gpio.h</file>
<file>file:/G:/osebikefw/brake.c</file>
<file>file:/G:/osebikefw/display.c</file>
</group>
</open-files>
</project-private>

0 comments on commit c02ffed

Please sign in to comment.