ArduPilot / ArduPilot/SiK

bootloader/bootloader.c:102: error 158: overflow in implicit constant conversion

Open
#53 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
343
Forks
245
PR merge metrics
No merged PRs in 30d

Description

I keep getting this error when I try to use the makefile to compile the source code. I believe this error is coming from SDCC but I am unsure of how to fix it. The code in question is

for (i = 0; i < 255; i++) {

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the makefile build and inspect bootloader/bootloader.c around line 102, especially the loop shown in the report. Check how SDCC handles the loop bound and confirm the project builds successfully after the compiler error is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.