mirror of https://github.com/rusefi/bldc.git
Removed rest of submodule
This commit is contained in:
parent
631ecc64e0
commit
20952b7e87
|
@ -1,3 +0,0 @@
|
|||
[submodule "lispBM/lispBM"]
|
||||
path = lispBM/lispBM
|
||||
url = git@github.com:svenssonjoel/lispBM.git
|
|
@ -157,8 +157,6 @@ Reminder : Remember to select your board in [**conf_general.h**]
|
|||
```bash
|
||||
git clone https://github.com/vedderb/bldc.git vesc_firmware
|
||||
cd vesc_firmware
|
||||
git submodule init
|
||||
git submodule update
|
||||
#make build/your_firmware_name_here.bin
|
||||
make build/VESC_fw.bin
|
||||
```
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#define FW_VERSION_MAJOR 6
|
||||
#define FW_VERSION_MINOR 00
|
||||
// Set to 0 for building a release and iterate during beta test builds
|
||||
#define FW_TEST_VERSION_NUMBER 4
|
||||
#define FW_TEST_VERSION_NUMBER 5
|
||||
|
||||
#include "datatypes.h"
|
||||
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
/*
|
||||
Copyright 2021 Joel Svensson svenssonjoel@yahoo.se
|
||||
|
||||
This program 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.
|
||||
|
||||
This program 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 PLATFORM_MUTEX_H_
|
||||
#define PLATFORM_MUTEX_H_
|
||||
|
||||
#include <ch.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
extern bool mutex_init(mutex_t *m);
|
||||
extern void mutex_lock(mutex_t *m);
|
||||
extern void mutex_unlock(mutex_t *m);
|
||||
|
||||
#endif
|
|
@ -1,32 +0,0 @@
|
|||
/*
|
||||
Copyright 2021 Joel Svensson svenssonjoel@yahoo.se
|
||||
|
||||
This program 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.
|
||||
|
||||
This program 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/>.
|
||||
*/
|
||||
|
||||
#include "platform_mutex.h"
|
||||
|
||||
bool mutex_init(mutex_t *m) {
|
||||
chMtxObjectInit(m);
|
||||
return true;
|
||||
}
|
||||
|
||||
void mutex_lock(mutex_t *m) {
|
||||
chMtxLock(m);
|
||||
}
|
||||
|
||||
void mutex_unlock(mutex_t *m) {
|
||||
chMtxUnlock(m);
|
||||
}
|
||||
|
Loading…
Reference in New Issue