This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
Update cmake and fix remaining build issues with Zephyr 1.14.0 #1903
Open
jimmy-huang
wants to merge
10
commits into
intel:master
Choose a base branch
from
jimmy-huang:update-cmake
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will prep ZJS to build against the latest Zephyr 1.14 LTS, and also fixes build issues with travis. Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Required as of Zephyr 1.14. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
No longer available in Zephyr 1.14, cause build failure. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
CONFIG_NS16550 is no longer in Zephyr 1.14, references lead to build breakage. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
No longer in Zephyr 1.14, lead to build breakage. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This will fix some of the build failures after upgrading to Zephyr 1.14.0 LTS and the new 0.10.0 SDK. Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Currently the following module will not work with latest Zephyr 1.14 LTS AIO AShell Bluetooth DGram FileSystem Net OCF SPI Uart WebSocket Zephyr has updated the APIs, and they will need to be updated in order to build against latest Zephyr, so we are now temporarily disable travis tests for these so that patches can still be accepted. Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
With LTO compiling enabled, and Zephyr SDK 0.10.0, during final Zephyr link (which isn't done with LTO option), for armv7m targets, weird errors are thrown: zephyr-sdk-0.10.0/arm-zephyr-eabi/.../arm-zephyr-eabi/bin/ld: error: zephyr_prebuilt.elf uses VFP register arguments, /tmp/ccTrD4ap.ltrans1.ltrans.o does not Note that both JerryScript and Zephyr seem to be built with correct and consistent target options, which enable VFP usage. Disabling LTO option for JerryScript build fixes this issue. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
@jimmy-huang: Thanks for looking into this! Well, I'd say it makes sense to move the codebase to 1.14, even if some things are disabled, rather than let it stay unupdated on older version. That way, interested parties may be at least motivated to look into updating the problematic parts further, rather then say to themselves: "Oh, this requires too old Zephyr, probably won't work for us at all". |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch will disable all the trlite tests on components that will fail after updating the Zephyr 1.14.0 LTS. The list include aio, bluetooth, dgram, filesystem, sensors, all net stuff, ws, ashell, uart, and OCF.