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

ArduPilot / ardupilot / 15090389039
60%

Build:
DEFAULT BRANCH: master
Ran 18 May 2025 12:44AM UTC
Jobs 2
Files 1889
Run time 3min
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

17 May 2025 02:43AM UTC coverage: 60.241% (+0.2%) from 60.044%
15090389039

push

github

tpwrules
AP_HAL_ChibiOS: correctly verify flash on H7

Previously, the routine only read the data back from the data cache,
which was guaranteed correct as the cache would be allocated by the test
before programming then filled with the correct data during programming.

Invalidate the data cache area containing the just-programmed data to
ensure that it is actually read back from the flash memory and the
verification does something.

This is not trivial to check, but it can be done. To an unprogrammed
(all 1s) 256-bit flash word, program the byte sequence
`CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC1CCCCCCCC`
followed by (and without erasing) the sequence
`CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC0CCCCCCCC`. This
will cause the flash memory (on the tested H743 revision at least) to
read `CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDCCCCCCCCCCCCCCCCCCCCCCCC0CCCCCCCC`
(and signal a one bit ECC error) and the verification check to fail.

Before this patch, the above sequence would always claim programming
success despire the read data not matching the programmed data.

Also clean up the pre-flash check for already flashed data. It should
not need a cache clear before the check as the flash normally operates
coherently with the data cache.

108487 of 180089 relevant lines covered (60.24%)

11227544.07 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.59
-0.1% libraries/AC_AutoTune/AC_AutoTune_Heli.cpp
1
91.22
-0.13% libraries/AC_AutoTune/AC_AutoTune_Multi.cpp
1
90.77
-0.25% libraries/AC_Fence/AC_Fence.cpp
1
92.14
-0.71% libraries/AP_BattMonitor/AP_BattMonitor_Backend.cpp
1
83.11
-0.46% libraries/AP_Follow/AP_Follow.cpp
1
57.14
-0.22% libraries/AP_GPS/AP_GPS_DroneCAN.cpp
1
84.97
-0.65% libraries/AP_GPS/AP_GPS_NOVA.cpp
1
81.18
-1.18% libraries/AP_HAL_SITL/Semaphores.cpp
1
92.0
-4.0% libraries/AP_HAL/utility/packetise.cpp
1
89.83
-0.24% libraries/AP_Logger/AP_Logger_Backend.cpp
1
81.39
-0.13% libraries/AP_Logger/AP_Logger.cpp
1
81.26
-0.18% libraries/AP_Scripting/lua/src/lgc.c
1
78.49
-1.08% Rover/mode.h
2
84.49
-0.55% ArduCopter/AP_Arming_Copter.cpp
2
92.34
0.1% ArduPlane/navigation.cpp
2
77.78
0.0% libraries/AP_Arming/AP_Arming.h
2
78.46
-1.54% libraries/AP_RangeFinder/AP_RangeFinder_Wasp.cpp
3
95.6
-0.19% ArduCopter/mode_loiter.cpp
3
0.0
0.0% libraries/AP_Airspeed/AP_Airspeed_AUAV.h
3
26.23
-2.46% libraries/AP_GPS/AP_GPS_SIRF.cpp
3
80.23
0.35% libraries/AP_Landing/AP_Landing_Slope.cpp
3
91.53
0.0% libraries/AP_Param/AP_Param.h
3
83.33
-10.0% libraries/AP_RangeFinder/AP_RangeFinder_NoopLoop.cpp
3
54.69
4.83% libraries/GCS_MAVLink/GCS_FTP.cpp
4
37.5
0.0% Tools/AP_Periph/AP_Periph.h
5
0.0
0.0% ArduPlane/AP_ExternalControl_Plane.cpp
5
11.11
-3.17% libraries/AP_ExternalControl/AP_ExternalControl.h
6
82.86
-4.29% ArduCopter/ekf_check.cpp
6
39.66
-10.34% libraries/AP_GPS/RTCM3_Parser.cpp
7
28.76
28.76% libraries/AP_Filesystem/AP_Filesystem_Param.cpp
7
92.38
0.11% libraries/AP_Terrain/AP_Terrain.cpp
8
91.51
0.42% libraries/AP_GPS/AP_GPS_GSOF.cpp
9
83.89
4.91% libraries/GCS_MAVLink/GCS_Param.cpp
10
90.67
-3.33% libraries/APM_Control/AP_AutoTune.cpp
11
73.27
0.0% Tools/AP_Periph/AP_Periph.cpp
13
58.64
-1.12% Rover/Rover.cpp
14
73.14
-0.17% libraries/AP_HAL_SITL/SITL_State.cpp
15
62.75
-0.42% ArduCopter/Copter.cpp
15
97.4
-0.16% libraries/AP_TECS/AP_TECS.cpp
18
82.04
0.0% libraries/AP_Generator/AP_Generator_RichenPower.cpp
20
0.0
0.0% libraries/AP_Mount/AP_Mount_Siyi.cpp
28
58.65
-2.96% ArduSub/AP_Arming_Sub.cpp
37
81.32
0.0% libraries/AP_Baro/AP_Baro.cpp
40
67.14
0.0% libraries/AP_Relay/AP_Relay.cpp
56
78.6
-0.29% libraries/AP_Landing/AP_Landing.cpp
65
59.52
-0.17% ArduCopter/mode_zigzag.cpp
80
0.0
0.0% libraries/AP_Compass/AP_Compass_AK09916.cpp
93
79.44
0.0% libraries/AP_Arming/AP_Arming.cpp
107
62.69
0.0% libraries/AP_Compass/AP_Compass.cpp
123
0.0
0.0% libraries/AP_Airspeed/AP_Airspeed_AUAV.cpp
138
59.34
-0.25% libraries/RC_Channel/RC_Channel.cpp
159
57.61
0.0% Tools/AP_Periph/can.cpp
190
78.16
0.24% libraries/AP_Param/AP_Param.cpp
277
65.96
0.0% libraries/AP_Mission/AP_Mission.cpp
Jobs
ID Job ID Ran Files Coverage
1 run-sitltest-can - 15090389039.1 18 May 2025 12:44AM UTC 1543
22.76
GitHub Action Run
2 run-coverage - 15090389039.2 18 May 2025 03:26AM UTC 1863
58.96
GitHub Action Run
Source Files on build 15090389039
  • Tree
  • List 1889
  • Changed 102
  • Source Changed 0
  • Coverage Changed 102
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 63483735 on github
  • Prev Build on master (#14950394458)
  • Next Build on master (#15232267789)
  • Delete
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