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

Fix CubeRed and Dual Core Bootloader issues #27392

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,7 @@ jobs:
echo $PATH
./waf configure --board ${{matrix.config}}
./waf
./waf configure --board ${{matrix.config}} --debug
./waf
ccache -s
ccache -z
2 changes: 1 addition & 1 deletion Tools/AP_Bootloader/support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ bool update_otg2_serial_forward()
chnWriteTimeout(&SDU2, data, n, TIME_IMMEDIATE);
}

return (AP_HAL::millis() > otg2_serial_deadline_ms);
return (AP_HAL::millis() < otg2_serial_deadline_ms);
}
#endif

Expand Down
4 changes: 2 additions & 2 deletions Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,15 +286,15 @@ def configure_env(self, cfg, env):

if cfg.env.DEBUG:
env.CFLAGS += [
'-g',
'-g3',
Copy link
Contributor

Choose a reason for hiding this comment

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

check works on clang? or enable only on gcc

Copy link
Member Author

Choose a reason for hiding this comment

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

--debug build added to CI check.

'-O0',
]
env.DEFINES.update(
HAL_DEBUG_BUILD = 1,
)
elif cfg.options.debug_symbols:
env.CFLAGS += [
'-g',
'-g3',
]
if cfg.env.COVERAGE:
env.CFLAGS += [
Expand Down
Binary file modified Tools/bootloaders/CubeOrangePlus-bdshot_bl.bin
Binary file not shown.
4,899 changes: 2,506 additions & 2,393 deletions Tools/bootloaders/CubeOrangePlus-bdshot_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/CubeOrangePlus_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/CubeOrangePlus_bl.elf
Binary file not shown.
4,614 changes: 2,351 additions & 2,263 deletions Tools/bootloaders/CubeOrangePlus_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/CubeRedPrimary-PPPGW_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/CubeRedPrimary_bl.bin
Binary file not shown.
Loading
Loading