Skip to content

Commit d8441a6

Browse files
committed
Converted from makefile to platformIO
1 parent d663459 commit d8441a6

File tree

10 files changed

+22
-328
lines changed

10 files changed

+22
-328
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
bin/uno
2-
Makefile
1+
.pioenvs/
2+
.sconsign.dblite
3+
*.swp

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "Arduino-Makefile"]
2-
path = Arduino-Makefile
3-
url = https://github.com/sudar/Arduino-Makefile
41
[submodule "lib/FirmataMaster"]
52
path = lib/FirmataMaster
63
url = https://github.com/firmata/arduino

Arduino-Makefile

Lines changed: 0 additions & 1 deletion
This file was deleted.

INSTALL.md

Lines changed: 0 additions & 114 deletions
This file was deleted.

Makefile-Linux.mk

Lines changed: 0 additions & 58 deletions
This file was deleted.

Makefile-OSX.mk

Lines changed: 0 additions & 56 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,19 @@
1+
# Standard Firmata - Networking
12

2-
# StandardFirmata - Ethernet
3+
Deploy Standard Firamta which uses a networking stream instead of the serial port.
34

4-
This firmware provides the StandardFirmata protocol over tcp via Ethernet. The socket is available on port 5000.
55

6-
Currently, the ip address is hardcoded to `192.168.2.100`. This can be changed, or DHCP can be enabled by uncommenting out the line:
6+
## Installation
77

8-
```
9-
//#define DHCP 1
10-
```
8+
1. Install [PlatformIO](http://platformio.org/)
9+
2. Build and upload to your device
10+
11+
```
12+
platformio run --target upload
13+
```
1114
12-
It has been tested with an Arduino Uno and the [Ethernet Shield](http://arduino.cc/en/Main/ArduinoEthernetShield).
13-
14-
See [here](http://firmata.org) find more information about Firmata.
15-
16-
## How to install and use
17-
18-
The full procedure is detailed in [INSTALL.md](./INSTALL.md).
19-
20-
## Credits
21-
22-
Started from the foundation of [Bare-Arduino-Project](https://github.com/WeAreLeka/Bare-Arduino-Project)
23-
24-
Inspiration and a bit of code (EthernetStream in particular) from [ArduinoCommander-ethernet](https://github.com/4ntoine/ArduinoCommander-ethernet)
25-
26-
##Copyright and License
27-
28-
```
29-
The MIT License (MIT)
30-
31-
Copyright (c) 2014 Peter Schwarz
32-
33-
Permission is hereby granted, free of charge, to any person obtaining a copy
34-
of this software and associated documentation files (the "Software"), to deal
35-
in the Software without restriction, including without limitation the rights
36-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37-
copies of the Software, and to permit persons to whom the Software is
38-
furnished to do so, subject to the following conditions:
39-
40-
The above copyright notice and this permission notice shall be included in all
41-
copies or substantial portions of the Software.
42-
43-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
46-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
47-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
48-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49-
SOFTWARE.
50-
```
15+
## Adding additional boards
5116
17+
Currently, the build supports the Arduino Uno. If you'd like to add additional board targets,
18+
see the PlatformIO [docs](http://docs.platformio.org/en/latest/platforms/index.html) and add
19+
add your board.

bare-arduino.sublime-project

Lines changed: 0 additions & 49 deletions
This file was deleted.

platformio.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
[env:uno]
3+
platform = atmelavr
4+
framework = arduino
5+
board = uno
6+

0 commit comments

Comments
 (0)