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

CI: build bootloader along blinky #3092

Merged
merged 7 commits into from
Oct 9, 2023
Merged

Conversation

sjanc
Copy link
Contributor

@sjanc sjanc commented Oct 6, 2023

No description provided.

sjanc added 5 commits October 6, 2023 16:17
| Error: repos/apache-mynewt-core/hw/mcu/native/src/hal_timer.c:
 In function ‘hal_timer_get_resolution’:
| repos/apache-mynewt-core/hw/mcu/native/src/hal_timer.c:154:24:
    error: array subscript -1 is below array bounds of
    ‘struct native_timer[1]’ [-Werror=array-bounds]
|   154 |     nt = &native_timers[num];
|       |           ~~~~~~~~~~~~~^~~~~
| repos/apache-mynewt-core/hw/mcu/native/src/hal_timer.c:41:3:
     note: while referencing ‘native_timers’
|    41 | } native_timers[1];
|       |   ^~~~~~~~~~~~~
| cc1: all warnings being treated as errors
LFCLK is required to be set to non-LFRC only if Bluetooth controller
is enabled. Otherwise it may or maynot be set to any value, depending
on application and bootloader configuration.
Allow native build to be configured same as other builds.
bin/targets/test-boot-frdm-k64f/app/@apache-mynewt-core/libc/
    baselibc/@apache-mynewt-core_libc_baselibc.a(start.o):
     in function `_start':
| repos/apache-mynewt-core/build/repos/apache-mynewt-core/
    libc/baselibc/src/start.c:43: undefined reference to `mynewt_main'
| collect2: error: ld returned 1 exit status
bin/targets/test-boot-frdm-k82f/app/@apache-mynewt-core/libc/
    baselibc/@apache-mynewt-core_libc_baselibc.a(start.o):
     in function `_start':
repos/apache-mynewt-core/build/repos/apache-mynewt-core/
    libc/baselibc/src/start.c:43: undefined reference to `mynewt_main'
@sjanc sjanc requested a review from kasjer October 6, 2023 14:25
sjanc added 2 commits October 6, 2023 22:06
This allows to fit in mcuboot with default configuration.
This builds default bootloader configuration for all supported BSPs.
@sjanc sjanc requested a review from kasjer October 9, 2023 06:42
@sjanc sjanc merged commit 5d5ec43 into apache:master Oct 9, 2023
15 checks passed
@sjanc sjanc deleted the gha_bootloader branch October 9, 2023 06:59
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.

2 participants