You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or 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
examples/RTU/ModbusRTUClientKitchenSink RAM for global variables
%
examples/RTU/ModbusRTUClientToggle flash
%
examples/RTU/ModbusRTUClientToggle RAM for global variables
%
examples/RTU/ModbusRTUServerKitchenSink flash
%
examples/RTU/ModbusRTUServerKitchenSink RAM for global variables
%
examples/RTU/ModbusRTUServerLED flash
%
examples/RTU/ModbusRTUServerLED RAM for global variables
%
examples/RTU/ModbusRTUTemperatureSensor flash
%
examples/RTU/ModbusRTUTemperatureSensor RAM for global variables
%
examples/TCP/EthernetModbusClientToggle flash
%
examples/TCP/EthernetModbusClientToggle RAM for global variables
%
examples/TCP/EthernetModbusServerLED flash
%
examples/TCP/EthernetModbusServerLED RAM for global variables
%
examples/TCP/WiFiModbusClientToggle flash
%
examples/TCP/WiFiModbusClientToggle RAM for global variables
%
examples/TCP/WiFiModbusServerLED flash
%
examples/TCP/WiFiModbusServerLED RAM for global variables
%
arduino:avr:leonardo
-8
-0.03
0
0.0
-8
-0.03
0
0.0
-8
-0.03
0
0.0
-8
-0.03
0
0.0
-8
-0.03
0
0.0
-8
-0.03
0
0.0
-8
-0.03
0
0.0
arduino:megaavr:uno2018:mode=off
-8
-0.02
0
0.0
-8
-0.02
0
0.0
18
0.04
0
0.0
18
0.04
0
0.0
-8
-0.02
0
0.0
-8
-0.02
0
0.0
-8
-0.02
0
0.0
-8
-0.02
0
0.0
-8
-0.02
0
0.0
arduino:samd:mkrwifi1010
-88
-0.03
0
0.0
-88
-0.03
0
0.0
-88
-0.03
0
0.0
-88
-0.03
0
0.0
-88
-0.03
0
0.0
-88
-0.03
0
0.0
-88
-0.03
0
0.0
-88
-0.03
0
0.0
-88
-0.03
0
0.0
Click for full report CSV
Board,examples/RTU/ModbusRTUClientKitchenSink<br>flash,%,examples/RTU/ModbusRTUClientKitchenSink<br>RAM for global variables,%,examples/RTU/ModbusRTUClientToggle<br>flash,%,examples/RTU/ModbusRTUClientToggle<br>RAM for global variables,%,examples/RTU/ModbusRTUServerKitchenSink<br>flash,%,examples/RTU/ModbusRTUServerKitchenSink<br>RAM for global variables,%,examples/RTU/ModbusRTUServerLED<br>flash,%,examples/RTU/ModbusRTUServerLED<br>RAM for global variables,%,examples/RTU/ModbusRTUTemperatureSensor<br>flash,%,examples/RTU/ModbusRTUTemperatureSensor<br>RAM for global variables,%,examples/TCP/EthernetModbusClientToggle<br>flash,%,examples/TCP/EthernetModbusClientToggle<br>RAM for global variables,%,examples/TCP/EthernetModbusServerLED<br>flash,%,examples/TCP/EthernetModbusServerLED<br>RAM for global variables,%,examples/TCP/WiFiModbusClientToggle<br>flash,%,examples/TCP/WiFiModbusClientToggle<br>RAM for global variables,%,examples/TCP/WiFiModbusServerLED<br>flash,%,examples/TCP/WiFiModbusServerLED<br>RAM for global variables,%
arduino:avr:leonardo,-8,-0.03,0,0.0,-8,-0.03,0,0.0,-8,-0.03,0,0.0,-8,-0.03,0,0.0,-8,-0.03,0,0.0,-8,-0.03,0,0.0,-8,-0.03,0,0.0
arduino:megaavr:uno2018:mode=off,-8,-0.02,0,0.0,-8,-0.02,0,0.0,18,0.04,0,0.0,18,0.04,0,0.0,-8,-0.02,0,0.0,-8,-0.02,0,0.0,-8,-0.02,0,0.0,-8,-0.02,0,0.0,-8,-0.02,0,0.0
arduino:samd:mkrwifi1010,-88,-0.03,0,0.0,-88,-0.03,0,0.0,-88,-0.03,0,0.0,-88,-0.03,0,0.0,-88,-0.03,0,0.0,-88,-0.03,0,0.0,-88,-0.03,0,0.0,-88,-0.03,0,0.0,-88,-0.03,0,0.0
Hi @ant32 ,
readding the include breaks the compilation on mbed platform; since the error is due to delay being declared static inline in a .h, I'd rather add the correct include between #ifdef STM32DUINO or similar
@facchinm
Made the changes and included only the header that contains delay and delayMicroseconds code. Did some research and it looks like the correct define is ARDUINO_ARCH_STM32 let me know if you'd like me to rebase and or create a new pull request
examples/RTU/ModbusRTUClientKitchenSink RAM for global variables
%
examples/RTU/ModbusRTUClientToggle flash
%
examples/RTU/ModbusRTUClientToggle RAM for global variables
%
examples/RTU/ModbusRTUServerKitchenSink flash
%
examples/RTU/ModbusRTUServerKitchenSink RAM for global variables
%
examples/RTU/ModbusRTUServerLED flash
%
examples/RTU/ModbusRTUServerLED RAM for global variables
%
examples/RTU/ModbusRTUTemperatureSensor flash
%
examples/RTU/ModbusRTUTemperatureSensor RAM for global variables
%
examples/TCP/EthernetModbusClientToggle flash
%
examples/TCP/EthernetModbusClientToggle RAM for global variables
%
examples/TCP/EthernetModbusServerLED flash
%
examples/TCP/EthernetModbusServerLED RAM for global variables
%
examples/TCP/WiFiModbusClientToggle flash
%
examples/TCP/WiFiModbusClientToggle RAM for global variables
%
examples/TCP/WiFiModbusServerLED flash
%
examples/TCP/WiFiModbusServerLED RAM for global variables
%
arduino:avr:leonardo
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
arduino:mbed:envie_m7
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
arduino:mbed:nano33ble
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
arduino:megaavr:uno2018:mode=off
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
arduino:samd:mkrwifi1010
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
0
0.0
Click for full report CSV
Board,examples/RTU/ModbusRTUClientKitchenSink<br>flash,%,examples/RTU/ModbusRTUClientKitchenSink<br>RAM for global variables,%,examples/RTU/ModbusRTUClientToggle<br>flash,%,examples/RTU/ModbusRTUClientToggle<br>RAM for global variables,%,examples/RTU/ModbusRTUServerKitchenSink<br>flash,%,examples/RTU/ModbusRTUServerKitchenSink<br>RAM for global variables,%,examples/RTU/ModbusRTUServerLED<br>flash,%,examples/RTU/ModbusRTUServerLED<br>RAM for global variables,%,examples/RTU/ModbusRTUTemperatureSensor<br>flash,%,examples/RTU/ModbusRTUTemperatureSensor<br>RAM for global variables,%,examples/TCP/EthernetModbusClientToggle<br>flash,%,examples/TCP/EthernetModbusClientToggle<br>RAM for global variables,%,examples/TCP/EthernetModbusServerLED<br>flash,%,examples/TCP/EthernetModbusServerLED<br>RAM for global variables,%,examples/TCP/WiFiModbusClientToggle<br>flash,%,examples/TCP/WiFiModbusClientToggle<br>RAM for global variables,%,examples/TCP/WiFiModbusServerLED<br>flash,%,examples/TCP/WiFiModbusServerLED<br>RAM for global variables,%
arduino:avr:leonardo,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed:envie_m7,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
arduino:mbed:nano33ble,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
arduino:megaavr:uno2018:mode=off,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:samd:mkrwifi1010,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
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.
Removing Arduino.h causes compile issues on stm32duino so adding back just the needed dependency.
Here is the definition of delayMicroseconds in stm32duino https://github.com/stm32duino/Arduino_Core_STM32/blob/a7283739a4d8bafe95c9f9b9156e6f82a1ebbd75/cores/arduino/wiring_time.h#L64
this breaking change was introduced on #58 pull request