sudo pacman -Sy yay lib32-ncurses ncurses tmux qemu-user-static qemu-user-static-binfmt neovim
setxkbmap -model abnt2 -layout br -variant abnt2
cat <<"EOF" > ~/.tmux.conf
## ~/.tmux.conf
## Use vim keybindings in copy mode
set-option -g mouse on
setw -g mode-keys vi
set-option -s set-clipboard off
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X rectangle-toggle
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'xclip -se c -i'
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -se c -i'
EOF
Check out the operating system installed
/ #
/ # cat /etc/os-release
NAME=Buildroot
VERSION=2018.08-gd14bfd8be1
ID=buildroot
VERSION_ID=2018.08
PRETTY_NAME="Buildroot 2018.08"
/ #
wpantund error
/ # wpantund
wpantund[5239]: Starting wpantund 0.08.00d (Dec 27 2019 13:06:32) . . .
wpantund[5239]: BUILD_VERSION = d14bfd8be1
wpantund[5239]: Reading configuration from "/etc/wpantund.conf" . . .
wpantund[5239]: Configuration file "/etc/wpantund.conf" read.
wpantund[5239]: set-config-param: "Config:NCP:SocketPath" = "/dev/ttyACM0"
wpantund[5239]: Stat (autolog): Tx: 0 packets (0 udp, 0 tcp, 0 icmp6) -- 0 bytes
wpantund[5239]: Stat (autolog): Tx history is empty
wpantund[5239]: Stat (autolog):
wpantund[5239]: Stat (autolog): Rx: 0 packets (0 udp, 0 tcp, 0 icmp6) -- 0 bytes
wpantund[5239]: Stat (autolog): Rx history is empty
wpantund[5239]: Stat (autolog):
wpantund[5239]: Stat (autolog): NCP state history is empty.
wpantund[5239]: Stat (autolog):
wpantund[5239]: Stat (autolog):
wpantund[5239]: Unable to open socket. "No such file or directory" (2) (filename = /dev/ttyACM0, type = 6)
wpantund[5239]: Unable to open socket with path </dev/ttyACM0>, errno=2 (No such file or directory)
wpantund[5239]: Runtime error thrown while starting up, "Unable to open socket"
wpantund[5239]: Cleaning up. (gRet = 4)
wpantund[5239]: Stopped.
- try to reset the pico using RUN and GND
- reset the pico with gpio
https://buildroot.org/downloads/manual/customize-configuration.txt
https://bootlin.com/~thomas/site/buildroot/debugging-buildroot.html
https://raspberrypi.stackexchange.com/questions/29339/what-are-the-run-pin-holes-on-raspberry-pi-2
https://www.digikey.com.br/en/maker/projects/intro-to-embedded-linux-part-1-buildroot/a73a56de62444610a2187cd9e681c3f2