mirror of https://github.com/rusefi/bldc.git
Adding V1.0 and V0.9 options
This commit is contained in:
parent
591ac525a1
commit
732d5472f8
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright 2016 Benjamin Vedder benjamin@vedder.se
|
||||
|
||||
This file is part of the VESC firmware.
|
||||
|
||||
The VESC firmware is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
The VESC firmware is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_CHEAP_FOCER_2_H_
|
||||
#define HW_CHEAP_FOCER_2_H_
|
||||
|
||||
#define CFOC_IS_V10
|
||||
|
||||
#include "hw_Cheap_FOCer_2_core.h"
|
||||
|
||||
#endif /* HW_CHEAP_FOCER_2_H_ */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright 2016 Benjamin Vedder benjamin@vedder.se
|
||||
|
||||
This file is part of the VESC firmware.
|
||||
|
||||
The VESC firmware is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
The VESC firmware is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_CHEAP_FOCER_2_H_
|
||||
#define HW_CHEAP_FOCER_2_H_
|
||||
|
||||
#define CFOC_IS_V09
|
||||
|
||||
#include "hw_Cheap_FOCer_2_core.h"
|
||||
|
||||
#endif /* HW_CHEAP_FOCER_2_H_ */
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#ifdef CFOC_IS_V09
|
||||
#define HW_NAME "Cheap_FOCer_2_v09"
|
||||
#elif defined(CFOC_IS_V1)
|
||||
#elif defined(CFOC_IS_V10)
|
||||
#define HW_NAME "Cheap_FOCer_2"
|
||||
#else
|
||||
#error "Must define hardware type"
|
||||
|
|
Loading…
Reference in New Issue