Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Update cmake and fix remaining build issues with Zephyr 1.14.0 #1903

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

jimmy-huang
Copy link
Contributor

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.

jimmy-huang and others added 10 commits May 30, 2019 14:21
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>
@pfalcon
Copy link
Contributor

pfalcon commented Jun 24, 2019

@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.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants