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

Unify Ctor structure (only default/copy-ctor) #41

Merged
merged 6 commits into from
Sep 16, 2020
Merged

Conversation

aentinger
Copy link
Member

Only provide default-ctor and copy-ctor, access data via public struct data and provide convenient assignment functions for enum classes where feasible.

@aentinger aentinger self-assigned this Sep 16, 2020
@github-actions
Copy link

Memory usage change @ 66f8cb0

Board flash % RAM for global variables %
arduino-beta:mbed:envie_m4 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino-beta:mbed:envie_m7 💚 -64 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino-beta:mbed:nano33ble 💚 -64 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrvidor4000 ❔ -68 - +32 -0.03 - +0.01 0 - 0 0.0 - 0.0
Click for full report table
Board examples/UAVCAN-Heartbeat-Publish
flash
% examples/UAVCAN-Heartbeat-Publish
RAM for global variables
% examples/UAVCAN-Heartbeat-Subscribe
flash
% examples/UAVCAN-Heartbeat-Subscribe
RAM for global variables
% examples/UAVCAN-Service-Client
flash
% examples/UAVCAN-Service-Client
RAM for global variables
% examples/UAVCAN-Service-Server
flash
% examples/UAVCAN-Service-Server
RAM for global variables
%
arduino-beta:mbed:envie_m4 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-beta:mbed:envie_m7 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -64 -0.01 0 0.0
arduino-beta:mbed:nano33ble 0 0.0 0 0.0 -64 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrvidor4000 32 0.01 0 0.0 -20 -0.01 0 0.0 -28 -0.01 0 0.0 -68 -0.03 0 0.0
Click for full report CSV
Board,examples/UAVCAN-Heartbeat-Publish<br>flash,%,examples/UAVCAN-Heartbeat-Publish<br>RAM for global variables,%,examples/UAVCAN-Heartbeat-Subscribe<br>flash,%,examples/UAVCAN-Heartbeat-Subscribe<br>RAM for global variables,%,examples/UAVCAN-Service-Client<br>flash,%,examples/UAVCAN-Service-Client<br>RAM for global variables,%,examples/UAVCAN-Service-Server<br>flash,%,examples/UAVCAN-Service-Server<br>RAM for global variables,%
arduino-beta:mbed:envie_m4,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-beta:mbed:envie_m7,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-64,-0.01,0,0.0
arduino-beta:mbed:nano33ble,0,0.0,0,0.0,-64,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:samd:mkrvidor4000,32,0.01,0,0.0,-20,-0.01,0,0.0,-28,-0.01,0,0.0,-68,-0.03,0,0.0

@aentinger aentinger merged commit 01bff3b into master Sep 16, 2020
@aentinger aentinger deleted the new-ctors branch September 16, 2020 04:38
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.

1 participant