zephyriot / zephyr-issues

0 stars 0 forks source link

USB sample apps are broken after QMSI update #661

Closed nashif closed 8 years ago

nashif commented 8 years ago

Reported by Andrei Emeltchenko:

$ cd samples/usb/cdc_acm/ $ make ... CC src/main.o LD src/built-in.o AR libzephyr.a LINK zephyr.lnk ext/built-in.o: In function apply_flash_timings': ext/hal/qmsi/drivers/clk.c:62: undefined reference toqm_flash' collect2: error: ld returned 1 exit status Makefile:811: recipe for target '.tmp_zephyr.prebuilt' failed make[2]: *** [.tmp_zephyr.prebuilt] Error 1

I need to enable FLASH stuff to make it working:

+CONFIG_FLASH=y +CONFIG_SOC_FLASH_QMSI=y

(Imported from Jira ZEP-703)

nashif commented 8 years ago

by Johan Hedberg:

As a side note: This seems like a good indication that these samples need testcase.ini files so that they get exercised by the autobuilder and such build-breaks don't happen again.

nashif commented 8 years ago

by Kuo-Lang Tseng:

Johan Hedberg Totally agree.

nashif commented 8 years ago

by Kuo-Lang Tseng:

Patch posted: https://gerrit.zephyrproject.org/r/#/c/4099/

nashif commented 8 years ago

by Qiu Peiyang:

verified with v1.5-rc3

nashif commented 7 years ago

by Mark Linkmeyer:

Correcting the priority field