Skip to content

Conversation

@tfry-git
Copy link
Collaborator

So as it turns out the thing that does work on the Uno is shifting negative values by 0 bits (-1 << 0). Adjusted the guard to address Uno more selectively, and limit it to cases, where this applies.

@github-actions
Copy link

Memory usage change @ d150fdf

Board flash % RAM for global variables %
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:uno 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/Basics_Serial
flash
% examples/Basics_Serial
RAM for global variables
% examples/Inverses
flash
% examples/Inverses
RAM for global variables
% examples/SmartRanges
flash
% examples/SmartRanges
RAM for global variables
%
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:uno 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/Basics_Serial<br>flash,%,examples/Basics_Serial<br>RAM for global variables,%,examples/Inverses<br>flash,%,examples/Inverses<br>RAM for global variables,%,examples/SmartRanges<br>flash,%,examples/SmartRanges<br>RAM for global variables,%
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:avr:uno,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0

@github-actions
Copy link

github-actions bot commented Aug 1, 2024

Memory usage change @ 09702de

Board flash % RAM for global variables %
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:uno 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/Basics_Serial
flash
% examples/Basics_Serial
RAM for global variables
% examples/Inverses
flash
% examples/Inverses
RAM for global variables
% examples/SmartRanges
flash
% examples/SmartRanges
RAM for global variables
%
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:uno 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/Basics_Serial<br>flash,%,examples/Basics_Serial<br>RAM for global variables,%,examples/Inverses<br>flash,%,examples/Inverses<br>RAM for global variables,%,examples/SmartRanges<br>flash,%,examples/SmartRanges<br>RAM for global variables,%
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:avr:uno,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0

@tomcombriat
Copy link
Owner

Looks good, thanks! I just corrected a few typos.

Will merge soon. As this is not functionality critical, I propose not to throw a release just for this one.

@github-actions
Copy link

github-actions bot commented Aug 1, 2024

Memory usage change @ 7369158

Board flash % RAM for global variables %
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:uno 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/Basics_Serial
flash
% examples/Basics_Serial
RAM for global variables
% examples/Inverses
flash
% examples/Inverses
RAM for global variables
% examples/SmartRanges
flash
% examples/SmartRanges
RAM for global variables
%
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:uno 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/Basics_Serial<br>flash,%,examples/Basics_Serial<br>RAM for global variables,%,examples/Inverses<br>flash,%,examples/Inverses<br>RAM for global variables,%,examples/SmartRanges<br>flash,%,examples/SmartRanges<br>RAM for global variables,%
STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C8,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:avr:uno,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0

@tomcombriat tomcombriat merged commit ac71e82 into main Aug 6, 2024
@tomcombriat tomcombriat deleted the work/compile_guard branch August 6, 2024 11:42
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.

3 participants