Torizon kernel module pwm-beeper

Hi @bgo ,

You can use TorizonCore Builder to create a custom TorizonCore image with the PWM beeper driver as an external Kernel Module. Try following Approach 1 from this article: Building External Kernel Modules With Torizon | Toradex Developer Center.

In your case the contents of source-dir should be:

obj-m := pwm-beeper.o

SRC := $(shell pwd)

all:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules

clean:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean

Then create tcbuild.yaml following the article, run torizoncore-builder build and your custom image should be created with the kernel module included.

Let me know if this helps you.

Best regards,
Lucas Akira