Skip to content
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 167 commits into from
Mar 9, 2020
Merged

merge upstream changes #1

merged 167 commits into from
Mar 9, 2020

Conversation

jnsbyr
Copy link
Owner

@jnsbyr jnsbyr commented Mar 9, 2020

No description provided.

soundanalogous and others added 30 commits February 20, 2016 16:29
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
- 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
- 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
Add TCP client and ability to choose between TCP client and Server
soundanalogous and others added 29 commits July 15, 2018 09:19
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
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]>
Signed-off-by: Frederic Pillon <[email protected]>
[STM32] Fix version checking
@jnsbyr jnsbyr merged commit 41097ce into jnsbyr:master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.