Skip to content

boards: intel_s1000: fix up board.cmake #8076

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

Closed
wants to merge 2 commits into from

Conversation

mbolivar
Copy link
Contributor

Clean up and fix the board-specific CMake files to restore 'make flash' etc. functionality.

(Speculative commit; I don't have this hardware and can't test this board.)

Fixes: #7986

Marti Bolivar added 2 commits May 31, 2018 13:17
The runner argument backend currently no longer accepts setting common
configuration values through board_runner_args() and
board_finalize_runner_args().

This is affecting the intel_s1000 board's CMake configuration, causing
errors when 'west flash' et al are run.

However, the options in board_finalize_runner_args() appear to be
unnecessary (and likely shouldn't be there at all), as they are just
hard-coding the same values set elsewhere in the build system.

Let's have a single point of truth and remove them from the board
file. This has the side effect of restoring 'make flash'.

Fixes: zephyrproject-rtos#7986

Signed-off-by: Marti Bolivar <[email protected]>
The file boards/common/intel_s1000_crb.board.cmake is not common at
all; it is specific to this board. Move its contents into the board's
board.cmake.

Signed-off-by: Marti Bolivar <[email protected]>
@codecov-io
Copy link

Codecov Report

Merging #8076 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #8076   +/-   ##
=======================================
  Coverage   64.54%   64.54%           
=======================================
  Files         420      420           
  Lines       40131    40131           
  Branches     6759     6759           
=======================================
  Hits        25903    25903           
  Misses      11106    11106           
  Partials     3122     3122

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 30dbf3c...7c26df7. Read the comment docs.

@mbolivar
Copy link
Contributor Author

mbolivar commented Jun 1, 2018

This is redundant with #7986

@mbolivar mbolivar closed this Jun 1, 2018
@mbolivar mbolivar deleted the fix-7986 branch December 18, 2018 00:25
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.

The scripts (debug, debugserver and flash) are not working for Intel S1000 board
2 participants