Commit 51e3c7d
Adds ESP8266 support c/o jacobrosental and jnsbyr
bare minimum esp support
missing paren
pin functions based on board depended defaults
to support different ESP8266 boad layouts, use board depended constants
from "...\esp8266\hardware\esp8266\2.1.0\variants\...\pins_arduino.h"
analog pin mapping fixed
requires Arduino core for ESP8266 V2.2
VERSION_BLINK_PIN and PIN_SERIAL1_TX removed
most remaining absolte pin numbers/counts replaced by defines/constants from pins_arduino.h
config optimizations
- Firmata 2.5.1 or higher required
- esp8266/Adruino needs to fix macros digitalPinHasPWM and
digitalPinToInterrupt
- no wifio board support
fixed macro IS_PIN_INTERRUPT
new define DEFAULT_PWM_RESOLUTION
- default to 8-bit for all architectures and board
- ESP8266 default is 10-bit
examples updated to use define DEFAULT_PWM_RESOLUTION
WiFiStream variant integration
wifi updates
- Consolidate WiFi stream classes into single class
- Remove unused WiFi stream classes
- Fix ESP8266 serial output (needed flush)
- Fix ESP8266 connection status issue
- Automatically include WiFi lib for MKR1000 and ESP8266
- Simplify config error checking
- Update instructions in wifiConfig.h
- Do not ignore MKR1000 pins1 parent e5582d0 commit 51e3c7d
File tree
12 files changed
+223
-321
lines changed- examples
- StandardFirmataChipKIT
- StandardFirmataEthernetPlus
- StandardFirmataEthernet
- StandardFirmataPlus
- StandardFirmataWiFi
- StandardFirmata
- utility
12 files changed
+223
-321
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
684 | 706 | | |
685 | 707 | | |
686 | 708 | | |
| |||
695 | 717 | | |
696 | 718 | | |
697 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
698 | 723 | | |
699 | 724 | | |
700 | 725 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
| 675 | + | |
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
| 683 | + | |
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
| |||
687 | 696 | | |
688 | 697 | | |
689 | 698 | | |
690 | | - | |
| 699 | + | |
691 | 700 | | |
692 | 701 | | |
693 | 702 | | |
| |||
817 | 826 | | |
818 | 827 | | |
819 | 828 | | |
820 | | - | |
| 829 | + | |
821 | 830 | | |
822 | 831 | | |
823 | 832 | | |
824 | 833 | | |
825 | 834 | | |
826 | 835 | | |
827 | | - | |
| 836 | + | |
828 | 837 | | |
829 | 838 | | |
830 | 839 | | |
831 | 840 | | |
832 | | - | |
| 841 | + | |
833 | 842 | | |
834 | | - | |
| 843 | + | |
835 | 844 | | |
836 | 845 | | |
837 | 846 | | |
838 | 847 | | |
839 | | - | |
| 848 | + | |
840 | 849 | | |
841 | 850 | | |
842 | | - | |
| 851 | + | |
843 | 852 | | |
844 | 853 | | |
845 | 854 | | |
846 | 855 | | |
847 | | - | |
| 856 | + | |
848 | 857 | | |
849 | 858 | | |
850 | | - | |
| 859 | + | |
851 | 860 | | |
852 | 861 | | |
853 | 862 | | |
| |||
868 | 877 | | |
869 | 878 | | |
870 | 879 | | |
| 880 | + | |
| 881 | + | |
871 | 882 | | |
872 | 883 | | |
873 | 884 | | |
| |||
879 | 890 | | |
880 | 891 | | |
881 | 892 | | |
882 | | - | |
883 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
884 | 898 | | |
| 899 | + | |
885 | 900 | | |
886 | 901 | | |
887 | 902 | | |
| |||
0 commit comments