pwm_out multi-instance support

PX4 uses banks of 8 outputs as a logical structure. Boards that have
more outputs than 8 get multiple instances. This is an arbitrary choice
that helps with overall structure and enables the mixing of different
device classes (like FMU, IO or UAVCAN).
This commit is contained in:
Daniel Agar
2021-03-17 22:03:18 +01:00
committed by Lorenz Meier
parent c1c0a62be5
commit e7722b11eb
5 changed files with 258 additions and 79 deletions
+1
View File
@@ -35,6 +35,7 @@ px4_add_module(
MAIN pwm
COMPILE_FLAGS
-Wno-array-bounds
-O0
SRCS
pwm.cpp
DEPENDS