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

examples/gcoap: add saml11-xpro to CI boards with insufficient memory #19933

Merged

Conversation

krzysztof-cabaj
Copy link
Contributor

Contribution description

Bors run for PR #19927 reveals that examples\gcoap do not fit in saml11-xpro board.
I checked and this same linker error also appears on current master branch.

This PR add sampl11-xpro board to the Makefile.ci BOARD_INSUFFICIENT_MEMORY list.

Testing procedure

See logs from bors https://ci.riot-os.org/details/073c5dadc6ba4bc8a613edb78a1a4a2d

Issues/PRs references

PR #19927

@github-actions github-actions bot added the Area: examples Area: Example Applications label Sep 19, 2023
Copy link
Member

@miri64 miri64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future reference: Would have been faster and completely if you would have put this commit into #19927

@miri64
Copy link
Member

miri64 commented Sep 19, 2023

bors merge

@bors
Copy link
Contributor

bors bot commented Sep 19, 2023

🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

@miri64 miri64 added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 19, 2023
@miri64
Copy link
Member

miri64 commented Sep 19, 2023

(the problem is that your fix in #19927 increased the binary size of applications including gnrc_icmpv6_echo and that was enough to overflow the ROM for the saml11-xpro for the gcoap example)

@miri64
Copy link
Member

miri64 commented Sep 19, 2023

bors merge

@bors
Copy link
Contributor

bors bot commented Sep 19, 2023

🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

@miri64
Copy link
Member

miri64 commented Sep 19, 2023

bors cancel

@riot-ci
Copy link

riot-ci commented Sep 19, 2023

Murdock results

✔️ PASSED

b11c22c examples/gcoap: add saml11-xpro to CI boards with insufficient memory

Success Failures Total Runtime
65 0 65 01m:40s

Artifacts

bors bot added a commit that referenced this pull request Sep 19, 2023
19933: examples/gcoap: add saml11-xpro to CI boards with insufficient memory r=miri64 a=krzysztof-cabaj

### Contribution description

Bors run for PR #19927 reveals that ```examples\gcoap``` do not fit in saml11-xpro board. 
I checked and this same linker error also appears on current master branch. 

This PR add sampl11-xpro board to the Makefile.ci BOARD_INSUFFICIENT_MEMORY list.

### Testing procedure

See logs from bors https://ci.riot-os.org/details/073c5dadc6ba4bc8a613edb78a1a4a2d

### Issues/PRs references

PR #19927 


Co-authored-by: krzysztof-cabaj <kcabaj@gmail.com>
@miri64
Copy link
Member

miri64 commented Sep 19, 2023

bors cancel

@bors
Copy link
Contributor

bors bot commented Sep 19, 2023

Canceled.

@miri64
Copy link
Member

miri64 commented Sep 19, 2023

bors merge

bors bot added a commit that referenced this pull request Sep 19, 2023
19923: boards: add Silabs EFM32 Giant Gecko GG11 Starter Kit r=miri64 a=gschorcht

### Contribution description

The PR adds the support for the EFM32GG11B family and the Silabs EFM32 Giant Gecko GG11 Starter Kit board.

The Silabs EFM32 Giant Gecko GG11 has the following on-board features:

- EFM32GG11B MCU with 2 MB flash and 512 kB RAM
- J-Link USB debugger
- 176x176 RGB LCD (not supported)
- 2 user buttons, 2 user RGB LEDs and a touch slider
- Si7021 Relative Humidity and Temperature Sensor
- Si7210 Hall-Effect Sensor (not supported)
- USB OTG interface (Device mode supported)
- 32 MByte Quad-SPI Flash (not supported yet)
- SD card slot (not supported yet, follow-up PR based on PR #19760)
- RJ-45 Ethernet (not supported)
- Dual microphones (not supported)

### Testing procedure

Basic tests should work.

### Issues/PRs references

19927: sys/shell/ping: fix ping packet size overflow r=miri64 a=krzysztof-cabaj

### Contribution description

In #19829 `@mchesser` point out integer overflow in the ```ping``` command and API. This PR fix this issue in two ways:
1) Add protection in the API.
2) Add protection in the user command.

### Testing procedure

Without this PR passing negative number to the ```ping -s``` option cause segmentation fault, for example in the 
```example/gnrc_networking```:

```
> ping -s -7 ::1
ping -s -7 ::1
Segmentation fault
```

With this PR user shows appropriate warning test:

```
> ping -s -7 ::1
ping -s -7 ::1
ICMPv6 datagram size should be in range <0, 65527>.
> 
``` 

### Issues/PRs references

Issue #19829 

19933: examples/gcoap: add saml11-xpro to CI boards with insufficient memory r=miri64 a=krzysztof-cabaj

### Contribution description

Bors run for PR #19927 reveals that ```examples\gcoap``` do not fit in saml11-xpro board. 
I checked and this same linker error also appears on current master branch. 

This PR add sampl11-xpro board to the Makefile.ci BOARD_INSUFFICIENT_MEMORY list.

### Testing procedure

See logs from bors https://ci.riot-os.org/details/073c5dadc6ba4bc8a613edb78a1a4a2d

### Issues/PRs references

PR #19927 


Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: krzysztof-cabaj <kcabaj@gmail.com>
@bors
Copy link
Contributor

bors bot commented Sep 19, 2023

Build failed (retrying...):

bors bot added a commit that referenced this pull request Sep 19, 2023
19927: sys/shell/ping: fix ping packet size overflow r=miri64 a=krzysztof-cabaj

### Contribution description

In #19829 `@mchesser` point out integer overflow in the ```ping``` command and API. This PR fix this issue in two ways:
1) Add protection in the API.
2) Add protection in the user command.

### Testing procedure

Without this PR passing negative number to the ```ping -s``` option cause segmentation fault, for example in the 
```example/gnrc_networking```:

```
> ping -s -7 ::1
ping -s -7 ::1
Segmentation fault
```

With this PR user shows appropriate warning test:

```
> ping -s -7 ::1
ping -s -7 ::1
ICMPv6 datagram size should be in range <0, 65527>.
> 
``` 

### Issues/PRs references

Issue #19829 

19933: examples/gcoap: add saml11-xpro to CI boards with insufficient memory r=miri64 a=krzysztof-cabaj

### Contribution description

Bors run for PR #19927 reveals that ```examples\gcoap``` do not fit in saml11-xpro board. 
I checked and this same linker error also appears on current master branch. 

This PR add sampl11-xpro board to the Makefile.ci BOARD_INSUFFICIENT_MEMORY list.

### Testing procedure

See logs from bors https://ci.riot-os.org/details/073c5dadc6ba4bc8a613edb78a1a4a2d

### Issues/PRs references

PR #19927 


Co-authored-by: krzysztof-cabaj <kcabaj@gmail.com>
@bors
Copy link
Contributor

bors bot commented Sep 19, 2023

Build failed (retrying...):

@bors
Copy link
Contributor

bors bot commented Sep 19, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 3ce4939 into RIOT-OS:master Sep 19, 2023
26 checks passed
@krzysztof-cabaj
Copy link
Contributor Author

krzysztof-cabaj commented Sep 20, 2023

Wow! ... i think that this will be simple and straight-forward PR.

@miri64 thank for support - with initial version of the code as well as help with bors.

@benpicco thanks for valuable comment in PR #19927 - as this fix was merged I don't know does it make sense to rollback it.
But next time, before removing board from CI i would try save some precious ROM memory.

UPDATE.
I have just see murdock logs - and there are the same problems with another sam board - this time saml10-xpro - https://ci.riot-os.org/details/04d0275ce5274380bbd5c876f7d6559e.

Should I add to list all samX boards with 16KiB or try to save some memory in PR #19927 as @benpicco suggests?

@miri64
Copy link
Member

miri64 commented Sep 20, 2023

Wow! ... i think that this will be simple and straight-forward PR.

@miri64 thank for support - with initial version of the code as well as help with bors.

@benpicco thanks for valuable comment in PR #19927 - as this fix was merged I don't know does it make sense to rollback it. But next time, before removing board from CI i would try save some precious ROM memory.

UPDATE. I have just see murdock logs - and there are the same problems with another sam board - this time saml10-xpro - https://ci.riot-os.org/details/04d0275ce5274380bbd5c876f7d6559e.

Should I add to list all samX boards with 16KiB or try to save some memory in PR #19927 as @benpicco suggests?

The latter please, and you can just cherry-pick a git revert of the commit here.

krzysztof-cabaj added a commit to krzysztof-cabaj/RIOT that referenced this pull request Sep 20, 2023
krzysztof-cabaj added a commit to krzysztof-cabaj/RIOT that referenced this pull request Sep 20, 2023
@MrKevinWeiss MrKevinWeiss added this to the Release 2023.10 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: examples Area: Example Applications CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants