Hi!
I’m working on a project which requires both serial port and LIRC.
I’ve used RESIN_HOST_CONFIG_dtoverlay=pi3-miniuart-bt to configure my serial port (https://resin.io/blog/updating-config-txt-remotely/). And it worked perfectly.
However I’m not sure how I can enable lirc, as I need a second dtoverlay entry in my config.txt for LIRC: lirc-rpi,gpio_in_pin=23,gpio_out_pin=26
However I can’t create a second env variable named RESIN_HOST_CONFIG_dtoverlay which is understandable.
How would I go about that?
Is my only option manually modifying /boot/config.txt?
Is there a syntax to supply a lost of values for RESIN_HOST_CONFIG_?
There isn’t great support for this right now through our remote config.txt management - as you’ve noticed, you need an environment variable per line, and those variables must be unique.
As a simple workaround, if you’re just looking for exactly two entries, you can use RESIN_HOST_CONFIG_dtoverlay and RESIN_HOST_CONFIG_device_tree_overlay, as the pi accepts that long form as an alias.
If you’re looking for more than two entries though, right now this isn’t supported through our remote config.txt management, and you’ll have to set this up the hard way, by manually modifying config.txt yourself.
Hi! still don’t supported multiple params into DTOVERLAY? my soundcard need to be enabled using this and to work well into ALSA need to add i2s-mmap overlay too… can’t pass both params with “,”?
Were you able to get this working with the audioinjector? I have this setup now with my app but I don’t get any audio. I have tested that it works if I setup a raspian config with the scripts provided by audioinjector on the latest build of raspian, but still no working audio through balenaCloud.