[actuator] change configuration of actuators (#3548)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled

* [actuator] change configuration of actuators

- add a configuration structure to the actuators array
- limit the use of macros
- add a shell command to get and set actuator value
- update config for all boards

* fix actuator faulhaber for NPS

* add missing file in actuators nps
This commit is contained in:
Gautier Hattenberger
2025-11-25 16:58:44 +01:00
committed by GitHub
parent c0416dfcbc
commit 5cda539646
106 changed files with 620 additions and 225 deletions
+5 -1
View File
@@ -16,7 +16,11 @@
<makefile>
<define name="ACTUATORS"/>
<file name="actuators.c"/>
<test/>
<test>
<define name="ACTUATORS_NB"/>
<define name="ACTUATORS_CONFIG" value="{0}"/>
<define name="USE_SHELL"/>
</test>
</makefile>
</module>
+1
View File
@@ -28,6 +28,7 @@
</header>
<makefile>
<configure name="DSHOT_BIDIR" default="FALSE"/>
<file name="actuators_dshot.c"/>
<file_arch name="actuators_dshot_arch.c"/>
<file_arch name="esc_dshot.c" cond="ifeq ($(RTOS),chibios)"/>
<file_arch name="hal_stm32_dma.c" dir="mcu_periph" cond="ifeq ($(RTOS),chibios)"/>
+1
View File
@@ -11,6 +11,7 @@
<provides>actuators</provides>
</dep>
<makefile target="sim|nps">
<file name="actuators_pwm.c"/>
<file_arch name="actuators_pwm_arch.c"/>
</makefile>
</module>
+3 -1
View File
@@ -13,9 +13,11 @@
<header>
<file name="actuators_pwm.h"/>
</header>
<makefile target="!sim">
<makefile>
<file name="actuators_pwm.c"/>
<file_arch name="actuators_pwm_arch.c"/>
<file_arch name="actuators_shared_arch.c" cond="ifeq ($(ARCH), stm32)"/>
<test/>
</makefile>
</module>