/raspi-serial-test

Test repository for serial communication

Primary LanguageGoMIT LicenseMIT

raspi-serial-test

This is a test repository for serial communication

Prerequisite

Let UART0 available

Reference: Raspberry Pi Documentation - Configuration

Disable Serial Console

  1. execure the command below
sudo raspi-config
  1. Select 3 Interface Options Configure connections to peripherals

  2. Select I6 Serial Port Enable/disable shell messages on the serial connection

  3. Select <No> for Would you like a login shell to be accessible over serial?

  4. Select <Yes> for Would you like the serial port hardware to be enabled?

Disable bluetooth

echo dtoverlay=disable-bt | tee -a /boot/config.txt

Reboot

sudo reboot

Build

goreleaser build --snapshot --rm-dist