Skip to content

Fix GCC warnings#84

Open
lupyuen wants to merge 10 commits into
pine64:masterfrom
lupyuen:fix-gcc-warnings
Open

Fix GCC warnings#84
lupyuen wants to merge 10 commits into
pine64:masterfrom
lupyuen:fix-gcc-warnings

Conversation

@lupyuen

@lupyuen lupyuen commented Dec 27, 2020

Copy link
Copy Markdown

This PR fixes the warnings in BL602 HAL generated by xpack-riscv-none-embed-gcc 8.3.0-2.3 when building for Mynewt OS. The warnings were due to buffer overflow, mismatched types, missing declarations and variables set but not used.

Comment thread components/hal_drv/bl602_hal/hal_board.c Outdated
@tchebb

tchebb commented Jan 1, 2021

Copy link
Copy Markdown

These changes look good, thanks! Do you mind squashing the commits together? I'm generally in favor of as granular commits as possible, but one commit per line change seems a little excessive :) (I can also just merge with squash if you prefer that, but you won't have control over the final commit message if I do it that way.)

@lupyuen

lupyuen commented Jan 1, 2021

Copy link
Copy Markdown
Author

Yes could you please merge with squash for me thanks! I haven't done squashing before and I'll probably mess it up 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants