forked from firmata/arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge upstream changes #1
Merged
Merged
Conversation
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
Intial BLE support for Arduino 101 and some BRL boards
fix issue where BLEPeripheral lib needed to be included
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 pins
ESP8266 support
- server related functions moved from WiFiStream into WiFiServerStream - unified class interface for sketch file (no client/server defines) - WiFi and TCP configuration and connect split into individual methods (constructor, config, begin, maintain) - WiFi only initialized once at startup
- fixed client accept in WiFiServerStream - added host connection callback hook to notfiy connect and disconnect
- fixed missing update of _connected when accepting a client
WiFiClientStream added
- split wifi init and firmata init into separate functions - add hostConnectionCallback
- check member _connected first in connect_client() to prevent querying connected() of disconnected _client - added method status() to check TCP connection state (ESP8266 only)
connection state management modified
- use generic names for init functions - add clarifications to comments
refactor setup function
Add TCP client and ability to choose between TCP client and Server
Use a single tab field separator in keywords.txt
The third field of keywords.txt is used to provide Arduino Language/Libraries Reference links, which are accessed from the Arduino IDE by highlighting the keyword and then selecting "Find in Reference" from the Help or right click menu. Adding values to this field that do not match any existing reference pages results in a "Could not open the URL" error. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywordstxt-format
Remove invalid reference links from keywords.txt
Add support for UNO WiFi Rev2 (ATMega4809)
Support for Sanguino/Melzi, e.g. Creality Ender-3
update TOTAL_PINS for nrf52840 (64 pins max)
The board uses the U-Blox WiFi NINA chip which has an ESP32 inside running NINA firmware. The SAMD21 is connected to the U-Blox chip via SPI. The WiFININA library is used to communicate between the U-Blox chip and the SAMD21. Other boards use the same U-Blox chip such as the MKR Vidor 4000 and the Uno WiFi Rev2. Additional changes will be required to support those boards.
Add support for Arduino MKR WiFi 1010
…ith Apple devices
Adjusted Bluefruit LE connection intervals for better compatibility with Apple devices
Added a condition that adds the SoftwareSerial library for the ESP8266.
Set Bluefruit LE advertising interval
Set up API docs using Doxygen
Add support for SPRESENSE board
Firmata/Firmata.h:131:17: error: friend declaration of 'void encodeByteStream(size_t, uint8_t*, size_t) const' specifies default arguments and isn't a definition [-fpermissive] 131 | friend void FirmataMarshaller::encodeByteStream (size_t bytec, uint8_t * bytev, size_t max_bytes = 0) const; | ^~~~~~~~~~~~~~~~~ Ref: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2000/n1263.html Fixes #437 Signed-off-by: Frederic Pillon <[email protected]>
Fix build issue with arm none eabi gcc v9.2.1
Not all STM32 boards have a LED_BUILTIN. Signed-off-by: Frederic Pillon <[email protected]>
Since STM32 core version 1.8.0, analog pins definition can be not contiguous Signed-off-by: Frederic Pillon <[email protected]>
STM32 update
Signed-off-by: Frederic Pillon <[email protected]>
[STM32] Fix version checking
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.