• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mendersoftware / mender-mcu / 2003557205
57%
main: 0%

Build:
Build:
LAST BUILD BRANCH: pr_209
DEFAULT BRANCH: main
Ran 26 Aug 2025 08:02AM UTC
Jobs 2
Files 26
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Aug 2025 07:14AM UTC coverage: 57.289%. Remained the same
2003557205

push

gitlab-ci

danielskinstad
feat: support Zephyr 4.2.0

* replace deprecated swap mode option
From https://docs.zephyrproject.org/latest/releases/migration-guide-4.1.html:
```
The Kconfig ``SB_CONFIG_MCUBOOT_MODE_SWAP_WITHOUT_SCRATCH`` has been deprecated and replaced
with ``SB_CONFIG_MCUBOOT_MODE_SWAP_USING_MOVE``, applications should be updated to select this
new symbol if they were selecting the old symbol.
```

Note that this will still allow us to build with older versions, as the
MCUboot options set in mender-mcu's Kconfig are merely there for verbosity

* return int in response callbacks
This is needed in order to use Zephyr 4.2.0

From https://docs.zephyrproject.org/latest/releases/migration-guide-4.2.html:
```
The http_response_cb_t HTTP client response callback signature has changed.
The callback function now returns int instead of void. This allows the
application to abort the HTTP connection. Existing applications need to
update their response callback implementations. To retain current behavior,
simply return 0 from the callback.
```

In order to not break backwards compatibility we use Zephyr's `ZEPHYR_VERSION`
and `ZEPHYR_VERSION_CODE` to define macros that return void on versions
below 4.2.0 and int on newer versions.

Ticket: MEN-8638
Changelog: Title

Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>

2 of 2 new or added lines in 1 file covered. (100.0%)

42 existing lines in 1 file now uncovered.

2303 of 4020 relevant lines covered (57.29%)

71.22 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
42
74.32
0.0% src/platform/net/zephyr/http.c
Jobs
ID Job ID Ran Files Coverage
1 unit-tests - 2003557205.1 26 Aug 2025 08:03AM UTC 18
22.81
2 integration-tests - 2003557205.2 26 Aug 2025 08:02AM UTC 20
61.07
Source Files on build 2003557205
  • Tree
  • List 26
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #2003557205
  • 2d8e6341 on github
  • Prev Build on pr_213 (#1991553009)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc