I am working on a Raspberry Pi3 and using a serial connection over GPIOs 6, 8, and 10 to communicate with a hardware board using G-codes. In prod, this is working fine, but the dev OS seems to offer a console over these pins, which is disrupting the communication. Because of this, I’m not able to use the development image which would be really nice since it has some great features.
My question is how can I disable the console over serial in dev? These settings don’t seem to be in either config files, since my prod and dev configs are identical.
Here is some information about the two ‘devices’ (same device actually, just swapping sd’s):
>HOST OS VERSION: Resin OS 2.0.8+rev1 (prod) >SUPERVISOR VERSION: 5.1.0
HOST OS VERSION: Resin OS 2.0.8+rev1 (dev)
SUPERVISOR VERSION: 5.1.0
COPY ./src/requirements.txt ./requirements.txt
RUN apt update
RUN apt-get install gcc
RUN pip install -r requirements.txt
COPY . ./
. CMD [“python”,“src/start_server.py”]
This is also my first project with Resin, Containers, and Pi so, if you see something else I might be missing, any other advice or guidance on best practices is more than welcome.