Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
1d14e05
Add information about examples, homepage and version to @PlatformIO L…
Roman3349 Sep 27, 2016
9e5522f
Merge pull request #24 from Roman3349/master
PaulStoffregen Sep 27, 2016
1ab78dd
Add comments about tech support
PaulStoffregen Feb 6, 2017
1b7a568
Add comment about ESP defs support
PaulStoffregen Feb 7, 2017
15b2fe5
Bump version to 2.3.3
PaulStoffregen Feb 7, 2017
6521f58
ignore build-env
orgua Jul 15, 2017
5f1d674
remove some define-crust from old c
orgua Jul 15, 2017
e090036
bump ver
orgua Jul 15, 2017
a72a535
move source
orgua Jul 15, 2017
6b7abb2
reduce datatypes, const correctness and lot more explicit coding
orgua Jul 15, 2017
4360fc5
simplify pin access
orgua Jul 15, 2017
c241c30
extend crc interface
orgua Jul 15, 2017
f83fb7c
separate hardware dependend code and optimize variable names
orgua Jul 16, 2017
6c1f52e
add readme
orgua Jul 16, 2017
db5b13b
make examples more easy to understand
orgua Jul 16, 2017
475c7c0
better naming
orgua Jul 16, 2017
48546ea
adapt to "new" .ino extension
orgua Jul 16, 2017
269664f
reformat code
orgua Jul 16, 2017
12e53f8
reformat examples
orgua Jul 16, 2017
8d0e99a
rework examples to make them coherent
orgua Jul 16, 2017
fedcbee
add note for proper resistor
orgua Jul 16, 2017
8c7bf6b
optimize naming vars
orgua Jul 16, 2017
8d03443
ease up on interrupt handling
orgua Jul 16, 2017
0a14df1
clean up search()
orgua Jul 16, 2017
384926f
optimize write-routine
orgua Jul 16, 2017
bed0771
allow local copies of pins to save pgm-space
orgua Jul 16, 2017
ba37570
bugfix of latest commit
orgua Jul 16, 2017
861947b
add cmake
orgua Jul 16, 2017
b0059ea
add new bus discovery
orgua Jul 16, 2017
0f37385
add new example for ds2438 battery monitor
orgua Jul 16, 2017
a747f8a
make examples more similar
orgua Jul 16, 2017
bd5e7bb
4 byte overhead to allow pullups on avr ... do it
orgua Jul 16, 2017
fbb5bcb
fix latest two commits
orgua Jul 16, 2017
ddd1276
first try to make bus open drain compatible
orgua Jul 16, 2017
a46469c
even better implementation of open-drain only! change on runtime if w…
orgua Jul 16, 2017
d2d1527
begin to write readme
orgua Jul 16, 2017
c1db0fa
cleanup compiler-switches and add cleaner way to use pull ups of µCs
orgua Jul 22, 2017
cb3921c
remove compilerwarnings
orgua Jul 22, 2017
06ec89b
add more universal way to allow pullups
orgua Jul 22, 2017
07cf55f
test lib with different compilers
orgua Jul 22, 2017
4ee1c64
big documentation update
orgua Jul 22, 2017
d8f9680
documentation, doxygen, and proper defined code style
orgua Jul 22, 2017
b50467b
missed line
orgua Jul 22, 2017
29789b7
introduce and use onewire-cmds and overload write() and read()
orgua Jul 22, 2017
1063008
temporary fix for problems with redbear-modules
orgua Jul 22, 2017
0baab67
move information about board libraries to readme
orgua Jul 23, 2017
d565136
test travis CI
orgua Jul 29, 2017
c7476cb
add gitattributes to handle various OS-standards
orgua Jul 29, 2017
4f1d50d
try platform io as a CI
orgua Jul 29, 2017
e71d52d
try bugfix
orgua Jul 29, 2017
f7f9e55
next try
orgua Jul 29, 2017
a5396be
extend CI
orgua Jul 29, 2017
d5e5987
jobs by board
orgua Jul 29, 2017
01c33ef
extend tested boards
orgua Jul 29, 2017
6692ba6
try to fix bug
orgua Jul 29, 2017
8f0f28d
try to make failing board work
orgua Jul 29, 2017
e5a4738
add more boardfixes
orgua Jul 29, 2017
64ff43c
fix and document travis
orgua Jul 29, 2017
9fa00e4
further extend travis tests
orgua Jul 29, 2017
0348cf2
teensy2 does not compile OW in platformIO
orgua Jul 29, 2017
fbbf75c
disable pic32 travis run
orgua Jul 29, 2017
41bc883
improve doc
orgua Jul 29, 2017
330e8bd
reflect tested hardware in documentation
orgua Aug 19, 2017
1b77038
prepare release
orgua Aug 19, 2017
561d2f5
add todo
orgua Aug 19, 2017
f81aec2
resolve conflicts to update fork
orgua Aug 19, 2017
d2e4da1
proper handle pullup-wish if platform-code touches this setting
orgua Aug 19, 2017
78dae78
remove unused "search_last_family_discrepancy"
orgua Aug 19, 2017
48e978e
add a todo
orgua Aug 20, 2017
80ccf60
restructure platform-files
orgua Aug 20, 2017
9ec5d85
optimize travis scripts
orgua Aug 20, 2017
0eab878
try to fix linker error with teensy2
orgua Aug 20, 2017
bf4e56a
revert not working fix to make teensy2 compile in pio
orgua Aug 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# sources
*.ino text
*.cpp text
*.c text
*.hpp text
*.h text
*.md text
*.yml text
*.json text
*.properties text

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.xml
*.iml
cmake-build-debug/
44 changes: 44 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
os: linux
dist: trusty
group: edge
sudo: false

language: python

python:
- "2.7"

cache:
pip: true
apt: true
directories:
- "~/.platformio"

before_cache:
- rm -f $HOME/.cache/pip/log/debug.log

before_install:
- pip install -U platformio

env:
- PIO_BRD: "'-b uno'" # arduino uno
- PIO_BRD: "'-b due'" # arduino due
- PIO_BRD: "'-b zero'" # arduino zero
- PIO_BRD: "'-b teensy30 -b teensy31 -b teensy35 -b teensy36'" # teensy 3
# - PIO_BRD: "'-b teensy20 -b teensy20pp'" # teensy 2 -> crc-lib has linker problem in platformIO but works in arduino-sw
- PIO_BRD: "'-b esp01 -b nodemcuv2 -b espduino'" # esp8266
- PIO_BRD: "'-b espino32 -b esp32dev'" # esp8266
- PIO_BRD: "'-b rfduino'" # nrf51
# - PIO_BRD: "'-b lenny -b uno_pic32'" # pic32mx -> error: pic32-g++ not found
- PIO_BRD: "'-b genuino101'" # intel curie
- PIO_BRD: "'-b attiny88 -b attiny84'" # attiny
- PIO_BRD: "'-b digispark-tiny'" # attiny

before_script:
- platformio init $PIO_BRD

script:
- platformio ci --lib="." $PIO_BRD ./examples/DS18x20_Temperature/DS18x20_Temperature.ino
- platformio ci --lib="." $PIO_BRD ./examples/DS2408_Switch/DS2408_Switch.ino
- platformio ci --lib="." $PIO_BRD ./examples/DS250x_PROM/DS250x_PROM.ino
- platformio ci --lib="." $PIO_BRD ./examples/DS2438_BatMon/DS2438_BatMon.ino
16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.6)
project(OneWire)

set(CMAKE_CXX_STANDARD 14)

set(SOURCE_FILES
examples/bus_discovery/bus_discovery.ino
examples/DS18x20_Temperature/DS18x20_Temperature.ino
examples/DS2408_Switch/DS2408_Switch.ino
examples/DS250x_PROM/DS250x_PROM.ino
examples/DS2438_BatMon/DS2438_BatMon.ino
src/platform.cpp
src/OneWire.cpp
)

add_executable(OneWire ${SOURCE_FILES})
Loading