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

Support Sink with multiple elements #35

Merged
merged 4 commits into from Oct 18, 2021
Merged

Conversation

aentinger
Copy link
Contributor

@aentinger aentinger commented Oct 15, 2021

This fixes #36.

@aentinger aentinger added the type: enhancement Proposed improvement label Oct 15, 2021
@aentinger aentinger self-assigned this Oct 15, 2021
Same macro name, different macro parameter.
@aentinger aentinger marked this pull request as ready for review October 18, 2021 05:06
@github-actions
Copy link

Memory usage change @ 6c16c41

Board flash % RAM for global variables %
arduino:mbed_nano:nano33ble 🔺 0 - +160 0.0 - +0.02 🔺 0 - +16 0.0 - +0.01
arduino:mbed_nano:nanorp2040connect 0 - 0 0.0 - 0.0 🔺 0 - +20 0.0 - +0.01
arduino:mbed_portenta:envie_m4 🔺 0 - +128 0.0 - +0.01 🔺 0 - +24 0.0 - +0.01
arduino:mbed_portenta:envie_m7 🔺 0 - +128 0.0 - +0.02 🔺 0 - +16 0.0 - 0.0
Click for full report table
Board examples/Threading/Demo_Shared_Counter
flash
% examples/Threading/Demo_Shared_Counter
RAM for global variables
% examples/Threading/Demo_Source_Sink_Counter
flash
% examples/Threading/Demo_Source_Sink_Counter
RAM for global variables
% examples/Threading/Demo_Source_Sink_LED
flash
% examples/Threading/Demo_Source_Sink_LED
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_SPI
flash
% examples/Threadsafe_IO/Threadsafe_SPI
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_SPI_BusIO
flash
% examples/Threadsafe_IO/Threadsafe_SPI_BusIO
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix
flash
% examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping
flash
% examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_Reader
flash
% examples/Threadsafe_IO/Threadsafe_Serial_Reader
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_Writer
flash
% examples/Threadsafe_IO/Threadsafe_Serial_Writer
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Wire
flash
% examples/Threadsafe_IO/Threadsafe_Wire
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Wire_BusIO
flash
% examples/Threadsafe_IO/Threadsafe_Wire_BusIO
RAM for global variables
%
arduino:mbed_nano:nano33ble 0 0.0 0 0.0 160 0.02 16 0.01 160 0.02 16 0.01 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:mbed_nano:nanorp2040connect 0 0.0 0 0.0 0 0.0 16 0.01 0 0.0 20 0.01 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:mbed_portenta:envie_m4 0 0.0 0 0.0 128 0.01 16 0.01 128 0.01 24 0.01 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:mbed_portenta:envie_m7 0 0.0 0 0.0 128 0.02 16 0.0 128 0.02 16 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/Threading/Demo_Shared_Counter<br>flash,%,examples/Threading/Demo_Shared_Counter<br>RAM for global variables,%,examples/Threading/Demo_Source_Sink_Counter<br>flash,%,examples/Threading/Demo_Source_Sink_Counter<br>RAM for global variables,%,examples/Threading/Demo_Source_Sink_LED<br>flash,%,examples/Threading/Demo_Source_Sink_LED<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_SPI<br>flash,%,examples/Threadsafe_IO/Threadsafe_SPI<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_SPI_BusIO<br>flash,%,examples/Threadsafe_IO/Threadsafe_SPI_BusIO<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_Reader<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_Reader<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_Writer<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_Writer<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Wire<br>flash,%,examples/Threadsafe_IO/Threadsafe_Wire<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Wire_BusIO<br>flash,%,examples/Threadsafe_IO/Threadsafe_Wire_BusIO<br>RAM for global variables,%
arduino:mbed_nano:nano33ble,0,0.0,0,0.0,160,0.02,16,0.01,160,0.02,16,0.01,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:mbed_nano:nanorp2040connect,0,0.0,0,0.0,0,0.0,16,0.01,0,0.0,20,0.01,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:mbed_portenta:envie_m4,0,0.0,0,0.0,128,0.01,16,0.01,128,0.01,24,0.01,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:mbed_portenta:envie_m7,0,0.0,0,0.0,128,0.02,16,0.0,128,0.02,16,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

@aentinger aentinger merged commit 3d96dd4 into main Oct 18, 2021
@aentinger aentinger deleted the sink-with-size-greater-zero branch October 18, 2021 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Sinks with a queue size greater than one
1 participant