-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from hiveeyes/spring-cleaning
Spring cleaning with multiarch support
- Loading branch information
Showing
16 changed files
with
759 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,10 @@ | |
*.lai | ||
*.la | ||
*.a | ||
|
||
# IDE metadata | ||
/.idea | ||
|
||
# PlatformIO virtualenv and pioenv | ||
/.venv* | ||
/.pioenvs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# HX711 library contributors | ||
|
||
Listed in the order of appearance. | ||
|
||
- Weihong Guan: First steps | ||
- Bogdan Necula: Making it real | ||
- Zachary J. Fields: Performance improvements on AVR. Simplify read logic. | ||
- Rodrigo Wirth: Support to read the current `get_offset` and `get_scale` | ||
- Ulrich Wolf: Move pin definition out of constructor | ||
- Alexander Wilms: Improve documentation | ||
- David Holland-Moritz: Improve interrupt safety on AVR | ||
- Geert Roumen et al.: ESP32 support | ||
- Thomas O Fredericks: Support for Teensy 3.2 and non-blocking readings | ||
- Ahmad Elbadri: Improve ESP8266 stability | ||
- Andreas Motl: Bookkeeping, multiarch support | ||
- The Hiveeyes Developers: Spring-cleaning 2019 | ||
- Many bits and pieces by countless people from the community, | ||
see also "doc/backlog.rst" in the repository. | ||
|
||
Thanks a bunch! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# ============ | ||
# Main targets | ||
# ============ | ||
|
||
|
||
# ------------- | ||
# Configuration | ||
# ------------- | ||
|
||
$(eval venvpath := .venv2) | ||
$(eval pip := $(venvpath)/bin/pip) | ||
$(eval python := $(venvpath)/bin/python) | ||
$(eval platformio := $(venvpath)/bin/platformio) | ||
|
||
# Setup Python virtualenv | ||
setup-virtualenv: | ||
@test -e $(python) || `command -v virtualenv` --python=python2 --no-site-packages $(venvpath) | ||
|
||
|
||
# ---------- | ||
# PlatformIO | ||
# ---------- | ||
|
||
install-platformio: setup-virtualenv | ||
@$(pip) install platformio --quiet | ||
|
||
build-all: install-platformio | ||
@$(platformio) run | ||
|
||
build-env: install-platformio | ||
@$(platformio) run --environment $(environment) | ||
|
||
|
||
# Note: This are legacy build targets, the new ones are defined through `platformio.ini`. | ||
|
||
ci-all: install-platformio | ||
# atmelavr | ||
$(platformio) ci --board=megaatmega2560 --lib="." examples/HX711_basic_example | ||
$(platformio) ci --board=megaatmega2560 --lib="." examples/HX711_timeout_example | ||
$(platformio) ci --board=megaatmega2560 --lib="." examples/HX711_full_example | ||
|
||
# atmelavr | ||
$(MAKE) ci-basic board=feather328p | ||
|
||
# espressif8266 | ||
$(MAKE) ci-basic board=huzzah | ||
|
||
# espressif32 | ||
$(MAKE) ci-basic board=lopy4 | ||
|
||
# atmelsam | ||
$(MAKE) ci-basic board=adafruit_feather_m0 | ||
$(MAKE) ci-basic board=adafruit_feather_m4 | ||
|
||
# bluepill | ||
$(MAKE) ci-basic board=bluepill_f103c8 | ||
|
||
ci-basic: | ||
$(platformio) ci --board=$(board) --lib="." examples/HX711_basic_example --verbose | ||
|
||
clean: | ||
platformio run -t clean |
Oops, something went wrong.