mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-14 17:35:22 +01:00
feat: pio install
This commit is contained in:
8
.gitpod.yml
Normal file
8
.gitpod.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
# This configuration file was automatically generated by Gitpod.
|
||||
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
|
||||
# and commit this file to your remote git repository to share the goodness with others.
|
||||
|
||||
tasks:
|
||||
- init: make install
|
||||
|
||||
|
||||
8
Makefile
8
Makefile
@@ -1,9 +1,13 @@
|
||||
PIO ?= /home/gitpod/.platformio/penv/bin/platformio
|
||||
install:
|
||||
python3 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
|
||||
|
||||
init:
|
||||
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/master/scripts/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
|
||||
sudo udevadm control --reload-rules
|
||||
sudo udevadm trigger
|
||||
build:
|
||||
pio run -e build
|
||||
$(PIO) run -e build
|
||||
|
||||
flash:
|
||||
pio run -e build -t upload
|
||||
$(PIO) run -e build -t upload
|
||||
Reference in New Issue
Block a user