Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
Diff: Config/user_config.h
- Revision:
- 23:2adf23ee0305
- Child:
- 24:58c2d7571207
diff -r 60276ba87ac6 -r 2adf23ee0305 Config/user_config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Config/user_config.h Wed Apr 05 20:54:16 2017 +0000 @@ -0,0 +1,19 @@ +/// Values stored in flash, which are modifieable by user actions /// + +#ifndef USER_CONFIG_H +#define USER_CONFIG_H + + +#define E_OFFSET __float_reg[0] +#define M_OFFSET __float_reg[1] +#define I_BW __float_reg[2] +#define I_LIMIT __float_reg[3] + +#define PHASE_ORDER __int_reg[0] +#define CAN_ID __int_reg[1] +#define ENCODER_LUT __int_reg[4] + +extern float __float_reg[]; +extern int __int_reg[]; + +#endif