Skip to content

Commit c03cf0c

Browse files
committed
feat: Arduino-FOC updated to version 2.3.4
1 parent f8e6f6b commit c03cf0c

File tree

12 files changed

+9
-318
lines changed

12 files changed

+9
-318
lines changed

.github/workflows/arduino.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/esp32.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/rpi.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/samd.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/stm32.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

.github/workflows/teensy.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## v2.3.4 - 2024-11-27
4+
5+
* Based on [Arduino-FOC v2.3.4](https://github.com/simplefoc/Arduino-FOC/releases/tag/v2.3.4)
6+
37
## v2.3.0~3 - 2023-11-15
48

59
* Support all esp chips by default (except esp8266)

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set(SRC_FILES
1616

1717
set(INC_FILES "src/common/" "src/common/base_classes/" "src/")
1818

19-
set(IGNORE_FILES "src/sensors/Encoder.cpp" "src/sensors/HallSensor.cpp")
19+
set(IGNORE_FILES "src/sensors/Encoder.cpp" "src/sensors/HallSensor.cpp" "src/common/base_classes/FOCMotor.cpp")
2020

2121
idf_component_register(SRCS ${SRC_FILES} INCLUDE_DIRS ${INC_FILES})
2222

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "2.3.0~3"
1+
version: "2.3.4"
22
description: Arduino FOC for BLDC and Stepper motors (SimpleFOC)
33
url: https://github.com/espressif/Arduino-FOC
44
repository: https://github.com/espressif/Arduino-FOC.git

src/common/base_classes/BLDCDriver.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22
#define BLDCDRIVER_H
33

44
#include "esp_platform.h"
5-
6-
7-
enum PhaseState : uint8_t {
8-
PHASE_OFF = 0, // both sides of the phase are off
9-
PHASE_ON = 1, // both sides of the phase are driven with PWM, dead time is applied in 6-PWM mode
10-
PHASE_HI = 2, // only the high side of the phase is driven with PWM (6-PWM mode only)
11-
PHASE_LO = 3, // only the low side of the phase is driven with PWM (6-PWM mode only)
12-
};
13-
5+
#include "FOCDriver.h"
146

157
class BLDCDriver: public FOCDriver{
168
public:

src/common/base_classes/FOCDriver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef FOCDRIVER_H
22
#define FOCDRIVER_H
33

4-
#include "Arduino.h"
4+
#include "esp_platform.h"
55

66

77
enum PhaseState : uint8_t {

src/common/base_classes/StepperDriver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef STEPPERDRIVER_H
22
#define STEPPERDRIVER_H
33

4-
#include "Arduino.h"
4+
#include "esp_platform.h"
55
#include "FOCDriver.h"
66

77
class StepperDriver: public FOCDriver{

0 commit comments

Comments
 (0)