nRF52 port for Zephyr
Xue Liu
Hello,
Now I am working on the port of nRF52 DK board for Zephyr project. I have several questions about the procedures of port. 1. I use nRF5x SDK v11.0 as a start point. This SDK dependence on CMSIS. Since currently there is no CMSIS in the Zephyr, should I rewrite the register and bitfields definitions or just copy these files from nRF52 SDK to the Zephyr ? 2. From the technical review https://www.zephyrproject.org/sites/local-zephyr/files/zephyr_project_technical_overview.pdf. The Zephyr project will support CMSIS. But until now there is no source code or support of CMSIS. Is it right ? 3. Could someone gives me some suggestions or guide to port a new SOC to the Zephyr. Thank you for your help. Regards, Xue Liu --
|
|
Re: [RFC] Device: device_get_binding() returns NULL if device fails initialization
Daniel Leung <daniel.leung@...>
On Wed, Apr 06, 2016 at 02:02:17PM +0000, Kalowsky, Daniel wrote:
The original discussion was actually started about getting rid of returns of-----Original Message-----Good point Tomasz. Might need to be part of the RFC patch that Daniel posted. initialization functions. The idea was that the kernel could not really do anything when a driver failed initialization, so why not getting rid of returns to save a few bytes. The burden of determining whether it is a critical error during init is up to the driver. If there is a critical error, the driver should assert (and setting driver_api to NULL). There are situations where there are non-critical erros during initialization. For example, the I2C driver, failure to set default configuration is not critical. As long as the developer sets it later, the driver can still function. However, with the above code, this non-critical error will cause driver_api to be NULL, which prevents its usage at all. The driver writer should know whether an error prevents the device from functioning at all. So it should be up to driver writer to set driver_api to NULL. One can argue that a non-critical error should not return anything other than 0. But then it is not passing on the information that there is a non-critical error (though the kernel does not really care). (see above.)(actually, naming in this function should be reversed: struct deviceCorrect. If the OS is going to depend upon a feature/function being set to
|
|
Daily JIRA Digest
donotreply@...
NEW JIRA items within last 24 hours: 2
B [ZEP-184] (P 2) QMSI 'CONFIG_RTC_IRQ_PRI' undeclared. B [ZEP-183] (P 3) [regression]PINMUX_NUM_PINS is missing in arch/x86/soc/quark_se/soc.h UPDATED JIRA items within last 24 hours: 2 B [ZEP-75] (P 1) REOPENED Zephyr compiler fails with error about executing cc1 B [ZEP-7] (P 3) REOPENED Arduino 101 GPIO_INT_LEVEL not working as expected CLOSED JIRA items within last 24 hours: 3 B [ZEP-174] (Fixed) Hello_world app build fail with error: 'PINMUX_BASE_ADDR' undeclared when PINMUX_DEV,PINMUX_DEV_QUARK_MCU were enabled B [ZEP-161] (Won't Do) Nothing output when run hello_world app with x86 SDK for quark platforms B [ZEP-151] (Fixed) QMSI AON_TIMER_IRQ and AON_TIMER_IRQ_PRI have not been configured in quark_se_devboard RESOLVED JIRA items within last 24 hours: 0
|
|
Re: Daily Gerrit Digest
Perez Hernandez, Javier B <javier.b.perez.hernandez@...>
Dan,
On Wed, 2016-04-06 at 06:44 +0000, Kalowsky, Daniel wrote: While I like getting these emails, any reason why I've received 3You should only see 1 everyday. The scripts runs everyday at around 8am PST. Regards Javier B. Perez
|
|
state of development and participation
Idupsle <idupsle@...>
Hello,
I'm still wondering about this project. Is it right, that most work is from intel? I was hoping, that NXP is continuing it's work on it - or was it only for the early- support? Otherwise I'd like start to develop a little more for my K64, but looking at those amount of daily changes, especially at the core api - is it wiser to wait a few months? I really would like to contribute a litte bit in my sparse spare time to get this board a little bit more usable :) Idups
|
|
Daily Gerrit Digest
donotreply@...
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/1271 : sensors: Using new GPIO API callbacks - https://gerrit.zephyrproject.org/r/1255 : relocate_sdk.patch: Fix file sections overwrites - https://gerrit.zephyrproject.org/r/1272 : sensors: fix coding style regarding max line length - https://gerrit.zephyrproject.org/r/1254 : ethernet/dw: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1270 : Bluetooth: tester: Use bt enable cb to indicate cmd rsp success - https://gerrit.zephyrproject.org/r/1261 : device_get_binding() returns NULL if driver_api is not set - https://gerrit.zephyrproject.org/r/1260 : spi/intel: move driver_api assignment later - https://gerrit.zephyrproject.org/r/1262 : serial/uart.h: no need to check driver_api being NULL - https://gerrit.zephyrproject.org/r/1259 : uart/nsim: fixed missing driver_api assignment - https://gerrit.zephyrproject.org/r/1258 : gpio/pcal_9535a: move driver_api assignment later - https://gerrit.zephyrproject.org/r/1257 : 802.15.4/cc2520: move driver_api assignment later - https://gerrit.zephyrproject.org/r/1256 : pwm/pca_9685: move driver_api assignment later UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/1235 : hosttools-tarball.bb: Integrate Python 3 into SDK - https://gerrit.zephyrproject.org/r/1226 : sys_clock: Add a helper to compute micro seconds - https://gerrit.zephyrproject.org/r/1217 : stm32: reorganise soc directory and use family/series - https://gerrit.zephyrproject.org/r/914 : gpio: Improve the public API to handle multi callbacks - https://gerrit.zephyrproject.org/r/932 : drivers: Quark flash support - https://gerrit.zephyrproject.org/r/1194 : samples: add environmental sensing sample for Arduino 101 - https://gerrit.zephyrproject.org/r/1251 : sensor: make runtime configurable attrs continuous - https://gerrit.zephyrproject.org/r/1232 : kernel: Make idle task sleep - https://gerrit.zephyrproject.org/r/1205 : gcc-4.sc.iamcu.inc: Enable LTO - https://gerrit.zephyrproject.org/r/1135 : boards: nucleo: Adding flash support - https://gerrit.zephyrproject.org/r/1029 : device: Remove DEV_* codes - https://gerrit.zephyrproject.org/r/1193 : tests: test_early_sleep: Let's test at all initialization level - https://gerrit.zephyrproject.org/r/1250 : samples: revert to default CFLAGS - https://gerrit.zephyrproject.org/r/1219 : soc: introduce SoC families and series - https://gerrit.zephyrproject.org/r/1221 : new SoC naming convention - https://gerrit.zephyrproject.org/r/1230 : test: kernel/test_timer/nanokernel increase timeout. MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/1265 : drivers/nble: Add support to bt_gatt_attr_next - https://gerrit.zephyrproject.org/r/1268 : Bluetooth: drivers/nble: Require callback for bt_enable() - https://gerrit.zephyrproject.org/r/1264 : drivers/nble: Refactor PM code to make it reusable - https://gerrit.zephyrproject.org/r/1252 : job: new job to create daily JIRAs changes notification - https://gerrit.zephyrproject.org/r/1247 : Bluetooth: Enable Nordic BLE chip using PM helpers - https://gerrit.zephyrproject.org/r/1246 : quark_se_devboard: Remove UART default name from soc config - https://gerrit.zephyrproject.org/r/1245 : Bluetooth: Add option for PM with Nordic BLE chip
|
|
Re: [RFC] Device: device_get_binding() returns NULL if device fails initialization
Kalowsky, Daniel <daniel.kalowsky@...>
toggle quoted messageShow quoted text
-----Original Message-----Good point Tomasz. Might need to be part of the RFC patch that Daniel posted. (actually, naming in this function should be reversed: struct deviceCorrect. If the OS is going to depend upon a feature/function being set to indicate a specific status, the OS should be doing this not the device driver. Although it doesn't hurt if the device driver does it as well :-)
|
|
when release spi driver for arduino_duo
david.dai@...
Hello,
I am planing to integrate cc2520 to arduino_duo board, but zephyr does not provide spi driver for this board in current zephyr-1.1.0. Could anybody tell me when zephyr offers it, Or who is work at it? So that I can take part in the job and help to integrate and test. Best Regards David Dai(戴卫彬) Position:上海 ********************************************************* This message contains information that may be confidential and/or privileged and is intended only for the individual or entity named in the body of email above. If this message has been received in error, your receipt of this message is not intended to waive any applicable privilege. No one else may disclose, copy, distribute or use the contents of this message. Unauthorized use, dissemination and duplication is strictly prohibited, and may be unlawful.
|
|
Re: [RFC] Device: device_get_binding() returns NULL if device fails initialization
Tomasz Bursztyka
Hi Daniel,
toggle quoted messageShow quoted text
That's actually a good point. And that reminds me, that most of our drivers do not set driver API to NULL if they fail. But they do return an explicit code which no one care about: see _sys_device_do_config_level() in kernel/nanokernel/device.c I think there you can add also a tiny test: if (device->init(info) < 0) { info->driver_api = NULL; } (actually, naming in this function should be reversed: struct device should be "device" and struct device_config should be "info" or "config", even better. But I am diverging from subject) It's better to let device.c doing it, instead of making sure all driver behaves well on that aspect. As long as they return a relevant status, it will be fine. Tomasz
Problem Statement:
|
|
Re: Daily Gerrit Digest
Kalowsky, Daniel <daniel.kalowsky@...>
While I like getting these emails, any reason why I've received 3 different copies today, and at that they all seem to have different data in them?
toggle quoted messageShow quoted text
-----Original Message-----
|
|
[RFC] Device: device_get_binding() returns NULL if device fails initialization
Daniel Leung <daniel.leung@...>
Problem Statement:
Currently, there is no way to know if a driver fails initialization. Problem Description: Zephyr currently does not provide a way to check programmatically whether a device can be used. The device_get_binding() always returns a valid device struct (if such device driver instance exists). This causes a bit of headache when debugging apps as the developer assumes the devices are ready to be used. Solution: The solution was actually proposed in [1] a while ago. The idea is to piggy-back onto driver_api pointer. If the pointer is NULL, the device driver has failed in its own initialization function. The driver_api is set to NULL (or in other words, never set to the actual API struct). When device_get_binding() sess that the driver_api is NULL for a particular device struct, it returns NULL to the caller, and thus preventing its use in the app. Since this is a binary state, instead of creating another variable inside device struct, this uses driver_api to avoid unnecessarily enlarging the ROM size. Since this is a simple change, a patch has been created in [2]. [1] https://lists.zephyrproject.org/archives/list/devel(a)lists.zephyrproject.org/message/MZB5PYBSRHV3NIEHJYXYQVLTPFIIHPB3/ [2] https://gerrit.zephyrproject.org/r/1261 ---------- Daniel Leung
|
|
Daily Gerrit Digest
donotreply@...
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/1230 : test: kernel/test_timer/nanokernel increase timeout. - https://gerrit.zephyrproject.org/r/1251 : sensor: make runtime configurable attrs continuous - https://gerrit.zephyrproject.org/r/1250 : samples: revert to default CFLAGS - https://gerrit.zephyrproject.org/r/1247 : Bluetooth: Enable Nordic BLE chip with compatible firmware - https://gerrit.zephyrproject.org/r/1246 : quark_se_devboard: Move UART default name from soc to board - https://gerrit.zephyrproject.org/r/1248 : Bluetooth/shell: Add configuration for Nordic BLE with HCI - https://gerrit.zephyrproject.org/r/1245 : Bluetooth: Add option for Nordic BLE with HCI firmware - https://gerrit.zephyrproject.org/r/1235 : hosttools-tarball.bb: Integrate Python 3 into SDK - https://gerrit.zephyrproject.org/r/1231 : test - https://gerrit.zephyrproject.org/r/1232 : kernel: Make idle task sleep UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/1199 : drivers/nble: Add support for attr iteration functions - https://gerrit.zephyrproject.org/r/1201 : Bluetooth: tester: Add support for seqence gatt database - https://gerrit.zephyrproject.org/r/1202 : Bluetooth: tester: Return pre defined db offset on start server - https://gerrit.zephyrproject.org/r/1200 : Bluetooth: tester: Update server commands with sequence params - https://gerrit.zephyrproject.org/r/804 : ieee802154: Replace the CC2520 driver with a new implementation - https://gerrit.zephyrproject.org/r/1226 : sys_clock: Add a helper to compute micro seconds - https://gerrit.zephyrproject.org/r/1190 : drivers: Renaming directory "802.15.4" into "ieee802154" - https://gerrit.zephyrproject.org/r/1161 : doc: Add sensor section in API documentation - https://gerrit.zephyrproject.org/r/1228 : sensor: lsm9ds0-gyro: fix FULL_SCALE attribute - https://gerrit.zephyrproject.org/r/1162 : doc: Add sensor section to kernel primer - https://gerrit.zephyrproject.org/r/1217 : stm32: reorganise soc directory and use family/series - https://gerrit.zephyrproject.org/r/1219 : soc: introduce SoC families and series - https://gerrit.zephyrproject.org/r/1215 : stm32: rename SOC_STM32F1X -> SOC_SERIES_STM32F1X - https://gerrit.zephyrproject.org/r/1214 : stm32: rename CONFIG_SOC_STM32 -> CONFIG_SOC_FAMILY_STM32 - https://gerrit.zephyrproject.org/r/1227 : doc: Editing notices page to be more concise and relevant to Zephyr - https://gerrit.zephyrproject.org/r/1193 : tests: test_early_sleep: Let's test at all initialization level - https://gerrit.zephyrproject.org/r/1093 : doc: index config variable only once - https://gerrit.zephyrproject.org/r/992 : Bluetooth: BR/EDR: Refactor internals of 'Cancel' authentication API - https://gerrit.zephyrproject.org/r/1123 : Bluetooth: BR/EDR: Rename pair method field - https://gerrit.zephyrproject.org/r/1055 : Bluetooth: shell: Use same config for arm and x86 build - https://gerrit.zephyrproject.org/r/1205 : gcc-4.sc.iamcu.inc: Enable LTO - https://gerrit.zephyrproject.org/r/1194 : samples: add environmental sensing sample for Arduino 101 MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/1234 : gerrit digest: rename subject of email for gerrit changes. - https://gerrit.zephyrproject.org/r/1233 : step: doc: use website template only on daily and tag build - https://gerrit.zephyrproject.org/r/1249 : drivers/nble: Move Nordic Bluetooth LE driver inside drivers/bluetooth - https://gerrit.zephyrproject.org/r/1244 : Bluetooth: Add stub for bt_storage_clear() - https://gerrit.zephyrproject.org/r/1240 : Bluetooth: Don't update random address unnecessarily - https://gerrit.zephyrproject.org/r/1238 : Bluetooth: Add Privacy Feature support - https://gerrit.zephyrproject.org/r/1242 : Bluetooth: Export bt_storage inside the stack - https://gerrit.zephyrproject.org/r/1239 : Bluetooth: Use bt_addr_t inside bt_addr_le_t - https://gerrit.zephyrproject.org/r/1243 : Bluetooth: Rename bt_register_storage to bt_storage_register - https://gerrit.zephyrproject.org/r/1237 : Bluetooth: Introduce SMP helper to generate RPAs - https://gerrit.zephyrproject.org/r/1236 : Bluetooth: Export is_bonded through hci_core.c - https://gerrit.zephyrproject.org/r/1178 : ia32: Allow to connect Nordic chip to qemu - https://gerrit.zephyrproject.org/r/1224 : drivers/nble: Update RPC to Nordic firmware 0404 version - https://gerrit.zephyrproject.org/r/996 : quark_se_devboard: Configure UART0 for quark_se_devboard - https://gerrit.zephyrproject.org/r/1177 : drivers/nble: Refactor Nordic BLE chip enable functions - https://gerrit.zephyrproject.org/r/1225 : drivers/nble: Fix typo in compatible_firmware name - https://gerrit.zephyrproject.org/r/995 : quark_se_devboard: Enable NBLE for quark_se_devboard in Kconfig - https://gerrit.zephyrproject.org/r/1130 : drivers/nble: Implement GATT read Characteristic Presentation Format - https://gerrit.zephyrproject.org/r/1129 : samples/nble: Remove default driver debug for samples - https://gerrit.zephyrproject.org/r/1210 : Bluetooth: Add support for reading local address from storage - https://gerrit.zephyrproject.org/r/1209 : Bluetooth: Add skeleton for persistent storage API
|
|
Gerrit changes
donotreply@...
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/1227 : doc: Editing notices page to be more concise and relevant to Zephyr - https://gerrit.zephyrproject.org/r/1228 : sensor: lsm9ds0-gyro: fix FULL_SCALE attribute - https://gerrit.zephyrproject.org/r/1226 : sys_clock: Add a helper to compute micro seconds - https://gerrit.zephyrproject.org/r/1225 : drivers/nble: Fix typo in compatible_firmware name - https://gerrit.zephyrproject.org/r/1224 : drivers/nble: Update RPC to Nordic firmware 0404 version UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/1216 : kinetis: reorganise soc directory using soc family - https://gerrit.zephyrproject.org/r/1194 : samples: add environmental sensing sample for Arduino 101 - https://gerrit.zephyrproject.org/r/1162 : doc: Add sensor section to kernel primer - https://gerrit.zephyrproject.org/r/1217 : stm32: reorganise soc directory and use family/series - https://gerrit.zephyrproject.org/r/1190 : drivers: Renaming directory "802.15.4" into "ieee802154" - https://gerrit.zephyrproject.org/r/804 : ieee802154: Replace the CC2520 driver with a new implementation - https://gerrit.zephyrproject.org/r/1202 : Bluetooth: tester: Return pre defined db offset on start server - https://gerrit.zephyrproject.org/r/1200 : Bluetooth: tester: Update server commands with sequence params - https://gerrit.zephyrproject.org/r/1199 : drivers/nble: Add support for attr iteration functions - https://gerrit.zephyrproject.org/r/1201 : Bluetooth: tester: Add support for seqence gatt database - https://gerrit.zephyrproject.org/r/996 : quark_se_devboard: Configure UART0 for quark_se_devboard - https://gerrit.zephyrproject.org/r/995 : quark_se_devboard: Enable NBLE for quark_se_devboard in Kconfig - https://gerrit.zephyrproject.org/r/1178 : ia32: Allow to connect Nordic chip to qemu - https://gerrit.zephyrproject.org/r/1177 : drivers/nble: Refactor Nordic BLE chip enable functions - https://gerrit.zephyrproject.org/r/1215 : stm32: rename SOC_STM32F1X -> SOC_SERIES_STM32F1X - https://gerrit.zephyrproject.org/r/1214 : stm32: rename CONFIG_SOC_STM32 -> CONFIG_SOC_FAMILY_STM32 - https://gerrit.zephyrproject.org/r/1221 : new SoC naming convention - https://gerrit.zephyrproject.org/r/1219 : soc: introduce SoC families and series - https://gerrit.zephyrproject.org/r/932 : drivers: Quark flash support MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/1229 : include: sanitycheck: increase default re-try to 3 - https://gerrit.zephyrproject.org/r/1130 : drivers/nble: Implement GATT read Characteristic Presentation Format - https://gerrit.zephyrproject.org/r/1129 : samples/nble: Remove default driver debug for samples - https://gerrit.zephyrproject.org/r/1210 : Bluetooth: Add support for reading local address from storage - https://gerrit.zephyrproject.org/r/1209 : Bluetooth: Add skeleton for persistent storage API - https://gerrit.zephyrproject.org/r/1208 : Bluetooth: Rework local address tracking
|
|
Zephyr v1.2.0 tagged
Nashif, Anas
Hi,
We tagged v1.2.0 and merge window for the next release is now open. Changes since v1.2.0-rc1 are below: Alexandre d'Alton (2): arc: implement stack checking arc: remove unecessary instruction and doc Anas Nashif (9): boards: remove atom defconfig from basic minute-ia spi_test: remove dependency on driver name from kconfig kconfig: use menuconfig for PCI options sanity: add quark_se_devboard to tested boards quark_d2000_crb: improve binary flashing speed Zephyr v1.2.0-rc2 arduino_101/quark_se_devboard: speed up flashing the SS sanitychecks: update footprint numbers Zephyr 1.2.0 Andre Guedes (4): pwm: Remove redundancy in Kconfig.qmsi i2c: Remove redundancy in Kconfig.qmsi doc: Add returning code conventions i2c: qmsi: Add support for default configuration Andrei Emeltchenko (2): Bluetooth/shell: Fix wrong memory access drivers/nble: Implement read CUD attribute Andrew Boie (5): compare_footprint: Python 3 compatibility docs: clarify MINGW installation instructions benchmarks: use portable static interrupt APIs object-footprint: gitignore generated output x86: irq: fix _get_dynamic_stub() calculation Arkadiusz Lichwa (1): Bluetooth: BR/EDR: Enable cancel Passkey Notify authentication Baohong Liu (2): drivers: AON counters: Move interrupt setting to SOC Kconfig boards: arduino_101: Enable SPI flash only when SPI is enabled Daniel Leung (22): pinmux/galileo: extract kconfig options into its own file pinmux: remove base address and number of pins from kconfig refactor common driver initialization priorities i2c/atmel_sam3: rename *_INT_PRIORITY to *_IRQ_PRI i2c/dw: rename *_INT_PRIORITY to *_IRQ_PRI i2c/qmsi: rename *_INT_PRIORITY to *_IRQ_PRI arc/quark_se_ss: clean up soc.h i2c/quark_se_ss: Remove base address kconfig options serial/ns16550: reduce number of kconfig options serial/ns16550: make IRQ triggering condition a SoC decision console/uart: remove duplicate default value for parent UART dev aio_comparator/dw: base address to be defined by SoC i2c: remove orphan kconfig I2C_STATUS_DELAY i2c/dw: remove kconfigs that are SoC specific samples: enable sanity check of I2C driver on Arduino Due gpio/sch: remove kconfigs that are SoC specific pwm/dw: remove kconfigs that are SoC specific samples/drivers: extend PWM app to FRDM_K64F pwm/k64_ftm: remove kconfigs that are SoC specific watchdog/wdt_dw: remove kconfigs that are SoC specific rtc/dw: remove kconfigs that are SoC specific pinmux/galileo: include board.h Dmitriy Korovkin (3): arm: Disable unaligned access traps arm: Fix wrong function comment galileo: Fix SPI driver init level Johan Hedberg (4): Bluetooth: samples/README: Fix sanitycheck references Bluetooth: tests/shell: Add some help text Bluetooth: Move supported commands reading to common_init() Bluetooth: Make controller to host flow control conditional Luiz Augusto von Dentz (1): Bluetooth: GATT: Force write to CCC when reconnecting Maciek Borzecki (9): sanitycheck: add nucleo_f103rb abd stm32_mini_a15 console: shell: expect const commands array samples: shell: declare commands as const bluetooth: shell: declare commands as const test_tickless: disable test for STM32 SoCs test_sha256: disable test for STM32F103RB SoC tests: bluetooth/shell: exclude STM32F103RB from microkernel test samples: bluetooth: ipsp: exclude STM32F103RB from the test arm: linker: fix indentation Mariusz Skamra (1): drivers/console: Fix flush data on uart_pipe_setup Peter Mitsis (2): test_fifo: Fix issues flagged by checkpatch test_fifo: Reorganize directories Sebastien Griffoul (1): eth_dw: fix buffer leak when RX frames are too large Tomasz Bursztyka (4): pinmux: Fix where to look for PINMUX_BASE_ADDR gpio: dw: ISR handler should acknowlegde only current interrupts include: misc: Add a generic single linked list API tests: Add a test suite for the single linked list generic Vlad Dogaru (1): sensor: bmp280: fix pressure value Yannis Damigos (6): Bluetooth: tester: Fix typo tests: kernel: test-lifo: reduce ram requirements tests: kernel: test-fifo: reduce ram requirements tests: kernel: reduce ram requirements tests: kernel: test_pool: reduce ram requirements tests: kernel: test_context: reduce ram requirements liu.lei (1): pinmux: Fix where to look for PINMUX_BASE_ADDR Makefile | 2 +- arch/arc/Kconfig | 8 + arch/arc/Makefile | 1 + arch/arc/core/fast_irq.S | 20 +- arch/arc/core/offsets/offsets.c | 3 + arch/arc/core/regular_irq.S | 13 + arch/arc/core/swap.S | 25 +- arch/arc/core/thread.c | 6 +- arch/arc/include/nano_private.h | 3 + arch/arc/soc/quark_se_ss/Kconfig.defconfig | 40 - arch/arc/soc/quark_se_ss/soc.h | 39 +- arch/arc/soc/quark_se_ss/soc_config.c | 6 +- arch/arm/core/fault.c | 1 - arch/arm/defconfig | 1 - arch/arm/soc/atmel_sam3/Kconfig.defconfig | 12 - arch/arm/soc/fsl_frdm_k64f/Kconfig.defconfig | 16 - arch/arm/soc/fsl_frdm_k64f/soc.h | 16 + .../soc/st_stm32/stm32f1/Kconfig.defconfig.family | 16 - arch/arm/soc/ti_lm3s6965/Kconfig.defconfig | 12 - arch/x86/core/dynamic.c | 2 +- arch/x86/soc/atom/Kconfig.defconfig | 31 - arch/x86/soc/atom/soc.h | 27 +- arch/x86/soc/ia32/Kconfig.defconfig | 31 - arch/x86/soc/ia32/soc.h | 24 +- arch/x86/soc/quark_d2000/Kconfig.defconfig | 75 +- arch/x86/soc/quark_d2000/soc.h | 54 +- arch/x86/soc/quark_se/Kconfig.defconfig | 89 +- arch/x86/soc/quark_se/soc.h | 76 +- arch/x86/soc/quark_se/soc_config.c | 2 +- arch/x86/soc/quark_x1000/Kconfig.defconfig | 107 +- arch/x86/soc/quark_x1000/soc.h | 69 +- boards/arduino_101/Kconfig.defconfig | 13 +- boards/arduino_101/arduino_101_defconfig | 1 - boards/arduino_101_sss/Makefile.board | 2 +- boards/arduino_due/Kconfig.defconfig | 13 - boards/basic_minuteia/basic_atom_defconfig | 17 - boards/galileo/Kconfig.defconfig | 20 +- boards/galileo/board.h | 9 + boards/galileo/galileo_defconfig | 3 - boards/minnowboard/minnowboard_defconfig | 1 - boards/nucleo_f103rb/nucleo_f103rb_defconfig | 1 - boards/qemu_x86/qemu_x86_defconfig | 1 - boards/qemu_x86/qemu_x86_iamcu_defconfig | 1 - boards/quark_d2000_crb/Kconfig.defconfig | 9 - boards/quark_d2000_crb/support/openocd.cfg | 1 + .../quark_se_devboard/quark_se_devboard_defconfig | 1 - boards/quark_se_sss_devboard/Makefile.board | 2 +- boards/stm32_mini_a15/stm32_mini_a15_defconfig | 1 - doc/collaboration/code/code.rst | 1 + doc/collaboration/code/error_code_conventions.rst | 36 + doc/getting_started/installation_win.rst | 18 +- drivers/aio/Kconfig | 6 - drivers/aio/aio_dw_comparator.c | 2 +- drivers/clock_control/Kconfig.stm32f10x | 2 +- drivers/clock_control/stm32f10x_clock.c | 2 +- drivers/console/Kconfig | 4 +- drivers/console/console_handler_shell.c | 4 +- drivers/console/uart_console.c | 2 +- drivers/console/uart_pipe.c | 8 +- drivers/ethernet/eth_dw.c | 12 +- drivers/gpio/Kconfig.sch | 31 - drivers/gpio/gpio_dw.c | 2 +- drivers/gpio/gpio_sch.c | 15 +- drivers/i2c/Kconfig | 5 - drivers/i2c/Kconfig.atmel_sam3 | 4 +- drivers/i2c/Kconfig.dw | 82 +- drivers/i2c/Kconfig.qmsi | 24 +- drivers/i2c/Kconfig.quark_se_ss | 8 - drivers/i2c/i2c_atmel_sam3.c | 4 +- drivers/i2c/i2c_dw.c | 54 +- drivers/i2c/i2c_qmsi.c | 14 +- drivers/i2c/i2c_quark_se_ss.c | 4 +- drivers/nble/gatt.c | 5 +- drivers/pci/Kconfig | 15 +- drivers/pinmux/Kconfig | 65 +- drivers/pinmux/dev/pinmux_dev_galileo.c | 5 +- drivers/pinmux/dev/pinmux_dev_quark_mcu.c | 3 +- drivers/pinmux/frdm_k64f/pinmux_k64.c | 4 +- drivers/pinmux/galileo/Kconfig | 70 + drivers/pinmux/galileo/pinmux_board_galileo.c | 5 +- drivers/pinmux/galileo/pinmux_galileo.c | 4 +- .../pinmux/quark_mcu/pinmux_board_arduino_101.c | 5 +- .../quark_mcu/pinmux_board_quark_d2000_crb.c | 5 +- .../pinmux/quark_mcu/pinmux_board_quark_se_dev.c | 3 +- drivers/pwm/Kconfig.dw | 15 - drivers/pwm/Kconfig.k64 | 32 - drivers/pwm/Kconfig.qmsi | 4 - drivers/pwm/pwm_dw.c | 6 +- drivers/pwm/pwm_k64_ftm.c | 13 +- drivers/rtc/Kconfig | 28 +- drivers/rtc/rtc_dw.c | 6 +- drivers/rtc/rtc_qmsi.c | 4 +- drivers/sensor/sensor_bmp280.c | 5 +- drivers/serial/Kconfig | 27 - drivers/serial/Kconfig.ns16550 | 191 +-- drivers/serial/uart_ns16550.c | 52 +- drivers/shared_irq/Kconfig | 2 +- drivers/spi/Kconfig.dw | 2 +- drivers/watchdog/Kconfig | 12 - drivers/watchdog/wdt_dw.c | 6 +- include/arch/arc/v2/aux_regs.h | 5 +- include/arch/arm/cortex_m/scb.h | 2 +- include/arch/arm/cortex_m/scripts/linker.cmd | 2 +- include/arch/x86/arch.h | 6 +- include/misc/shell.h | 2 +- include/misc/slist.h | 236 +++ kernel/Kconfig | 2 + net/bluetooth/conn.c | 6 + net/bluetooth/gatt.c | 34 +- net/bluetooth/hci_core.c | 33 +- samples/bluetooth/README | 6 +- samples/bluetooth/ipsp/testcase.ini | 1 + samples/drivers/grove_lcd/testcase.ini | 4 +- samples/drivers/i2c_fujitsu_fram/testcase.ini | 6 +- samples/drivers/pwm/Makefile | 6 + samples/drivers/pwm/prj_arm.conf | 5 + samples/drivers/pwm/prj_x86.conf | 6 + samples/drivers/pwm/src/Makefile | 1 + samples/drivers/pwm/src/main.c | 109 ++ samples/drivers/pwm/testcase.ini | 6 + samples/drivers/pwm_dw/Makefile | 6 - samples/drivers/pwm_dw/prj_x86.conf | 6 - samples/drivers/pwm_dw/src/Makefile | 1 - samples/drivers/pwm_dw/src/main.c | 103 -- samples/drivers/pwm_dw/testcase.ini | 6 - samples/drivers/spi_test/src/spi.c | 11 +- samples/shell/src/main.c | 2 +- scripts/compare_footprint | 22 +- scripts/sanity_chk/arches/arc.ini | 6 +- scripts/sanity_chk/arches/arm.ini | 8 +- scripts/sanity_chk/arches/x86.ini | 5 +- scripts/sanity_chk/sanity_last_release.csv | 1781 +++++++++++++------- .../benchmark/footprint/microkernel/float/arm.conf | 1 + tests/benchmark/footprint/microkernel/max/arm.conf | 1 + .../microkernel/src/microkernel_footprint.c | 42 +- .../microkernel/src/test_asm_inline_gcc.h | 66 - tests/benchmark/footprint/microkernel/testcase.ini | 3 - tests/benchmark/footprint/nanokernel/max/arc.conf | 3 + tests/benchmark/footprint/nanokernel/max/arm.conf | 1 + tests/benchmark/footprint/nanokernel/reg/arc.conf | 2 + .../nanokernel/src/nanokernel_footprint.c | 44 +- .../footprint/nanokernel/src/test_asm_inline_gcc.h | 66 - tests/benchmark/footprint/nanokernel/testcase.ini | 2 - tests/benchmark/object_footprint/.gitignore | 2 + .../object_footprint/src/nanokernel_objects.c | 42 +- .../object_footprint/src/test_asm_inline_gcc.h | 67 - tests/bluetooth/shell/src/main.c | 7 +- tests/bluetooth/shell/testcase.ini | 1 + tests/bluetooth/tester/testcase.ini | 2 +- tests/crypto/test_sha256/testcase.ini | 2 + tests/kernel/test_context/src/Makefile | 1 - tests/kernel/test_context/src/context.c | 4 +- tests/kernel/test_fifo/Makefile | 6 - tests/kernel/test_fifo/README.microkernel.txt | 86 - tests/kernel/test_fifo/README.nanokernel.txt | 121 -- tests/kernel/test_fifo/microkernel/Makefile | 6 + tests/kernel/test_fifo/microkernel/README.txt | 86 + tests/kernel/test_fifo/microkernel/prj.conf | 7 + tests/kernel/test_fifo/microkernel/prj.mdef | 15 + tests/kernel/test_fifo/microkernel/src/Makefile | 3 + tests/kernel/test_fifo/microkernel/src/fifo.c | 624 +++++++ tests/kernel/test_fifo/microkernel/testcase.ini | 2 + tests/kernel/test_fifo/nanokernel/Makefile | 5 + tests/kernel/test_fifo/nanokernel/README.txt | 121 ++ tests/kernel/test_fifo/nanokernel/prj.conf | 8 + tests/kernel/test_fifo/nanokernel/src/Makefile | 3 + tests/kernel/test_fifo/nanokernel/src/fifo.c | 710 ++++++++ .../kernel/test_fifo/nanokernel/src/fifo_timeout.c | 495 ++++++ tests/kernel/test_fifo/nanokernel/testcase.ini | 2 + tests/kernel/test_fifo/prj.conf | 8 - tests/kernel/test_fifo/prj.mdef | 15 - tests/kernel/test_fifo/src/Makefile | 5 - tests/kernel/test_fifo/src/fifo_timeout.c | 498 ------ tests/kernel/test_fifo/src/micro_fifo.c | 628 ------- tests/kernel/test_fifo/src/nano_fifo.c | 713 -------- tests/kernel/test_fifo/testcase.ini | 11 - tests/kernel/test_fifo_priv/Makefile | 2 +- tests/kernel/test_fifo_priv/prj.mdef | 2 +- tests/kernel/test_lifo/src/Makefile | 1 - tests/kernel/test_lifo/src/lifo.c | 4 +- tests/kernel/test_lifo/testcase.ini | 2 - tests/kernel/test_mutex/prj.mdef | 16 +- tests/kernel/test_pool/prj.mdef | 8 +- tests/kernel/test_sema/microkernel/prj.mdef | 10 +- .../kernel/test_sema/microkernel/src/test_fiber.c | 2 +- tests/kernel/test_sema/nanokernel/src/Makefile | 1 - tests/kernel/test_sema/nanokernel/src/sema.c | 4 +- tests/kernel/test_sema/nanokernel/testcase.ini | 2 - tests/kernel/test_slist/Makefile | 5 + tests/kernel/test_slist/README.txt | 48 + tests/kernel/test_slist/prj.conf | 1 + tests/kernel/test_slist/src/Makefile | 3 + tests/kernel/test_slist/src/slist.c | 251 +++ tests/kernel/test_slist/testcase.ini | 2 + .../kernel/test_tickless/microkernel/testcase.ini | 3 +- tests/kernel/test_timer/microkernel/src/Makefile | 2 +- 196 files changed, 4814 insertions(+), 4388 deletions(-)
|
|
Gerrit changes
donotreply@...
NEW within last 24 hours:
UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/1072 : drivers/nble: Implement notification response - https://gerrit.zephyrproject.org/r/1208 : Bluetooth: Rework local address tracking - https://gerrit.zephyrproject.org/r/1209 : Bluetooth: Add skeleton for persistent storage API - https://gerrit.zephyrproject.org/r/1210 : Bluetooth: Add support for reading local address from storage MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/1197 : tests: enable pinmux build tests - https://gerrit.zephyrproject.org/r/1203 : gpio/dw: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1180 : spi_dw: use SPI bus frequency in spi_dw_configure() - https://gerrit.zephyrproject.org/r/1157 : sensor.h: Add helper functions for unit conversions - https://gerrit.zephyrproject.org/r/1156 : sensor.h: add new attributes - https://gerrit.zephyrproject.org/r/1158 : sensor: add driver for BMI160 - https://gerrit.zephyrproject.org/r/1159 : bmi160: Add sample application - https://gerrit.zephyrproject.org/r/1207 : Bluetooth: Remove unnecessary double check for CONFIG_BLUETOOTH_CONN - https://gerrit.zephyrproject.org/r/1206 : Bluetooth: Shorten set_adv_parameters to set_adv_param - https://gerrit.zephyrproject.org/r/1212 : Zephyr 1.2.0 - https://gerrit.zephyrproject.org/r/1211 : sanitychecks: update footprint numbers
|
|
Gerrit changes
donotreply@...
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/1213 : test: ignore - https://gerrit.zephyrproject.org/r/1212 : Zephyr 1.2.0 - https://gerrit.zephyrproject.org/r/1211 : sanitychecks: update footprint numbers - https://gerrit.zephyrproject.org/r/1210 : Bluetooth: Add support for reading local address from storage - https://gerrit.zephyrproject.org/r/1209 : Bluetooth: Add skeleton for persistent storage API - https://gerrit.zephyrproject.org/r/1207 : Bluetooth: Remove unnecessary double check for CONFIG_BLUETOOTH_CONN - https://gerrit.zephyrproject.org/r/1206 : Bluetooth: Shorten set_adv_parameters to set_adv_param - https://gerrit.zephyrproject.org/r/1208 : Bluetooth: Rework local address tracking - https://gerrit.zephyrproject.org/r/1197 : tests: enable pinmux build tests - https://gerrit.zephyrproject.org/r/1203 : gpio/dw: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1205 : gcc-4.sc.iamcu.inc: Enable LTO - https://gerrit.zephyrproject.org/r/1201 : Bluetooth: tester: Add support for seqence gatt database - https://gerrit.zephyrproject.org/r/1202 : Bluetooth: tester: Return pre defined db offset on start server - https://gerrit.zephyrproject.org/r/1200 : Bluetooth: tester: Update server commands with sequence params - https://gerrit.zephyrproject.org/r/1199 : drivers/nble: Add support for attr iteration functions - https://gerrit.zephyrproject.org/r/1195 : meta-zephyr-sdk-clone-0.7.5.sh: Use Gerrit repo UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/932 : drivers: Quark flash support - https://gerrit.zephyrproject.org/r/1162 : doc: Add sensor section to kernel primer - https://gerrit.zephyrproject.org/r/804 : ieee802154: Replace the CC2520 driver with a new implementation - https://gerrit.zephyrproject.org/r/1190 : drivers: Renaming directory "802.15.4" into "ieee802154" - https://gerrit.zephyrproject.org/r/1193 : tests: test_early_sleep: Let's test at all initialization level - https://gerrit.zephyrproject.org/r/1194 : samples: add environmental sensing sample for Arduino 101 MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/1196 : pinmux/galileo: include board.h - https://gerrit.zephyrproject.org/r/1198 : job: gerrit changes: new job to send changes in gerrit. - https://gerrit.zephyrproject.org/r/1192 : arduino_101/quark_se_devboard: speed up flashing the SS
|
|
Gerrit changes
donotreply@...
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/1199 : drivers/nble: Add support for attr iteration functions - https://gerrit.zephyrproject.org/r/1195 : meta-zephyr-sdk-clone-0.7.5.sh: Use Gerrit repo - https://gerrit.zephyrproject.org/r/1197 : tests: enable pinmux build tests - https://gerrit.zephyrproject.org/r/1196 : pinmux/galileo: include board.h - https://gerrit.zephyrproject.org/r/1203 : gpio/dw: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1202 : Bluetooth: tester: Return pre defined db offset on start server - https://gerrit.zephyrproject.org/r/1201 : Bluetooth: tester: Add support for seqence gatt database - https://gerrit.zephyrproject.org/r/1200 : Bluetooth: tester: Update server commands with sequence params - https://gerrit.zephyrproject.org/r/1190 : drivers: Renaming directory "802.15.4" into "ieee802154" - https://gerrit.zephyrproject.org/r/1193 : tests: test_early_sleep: Let's test at all initialization level - https://gerrit.zephyrproject.org/r/1194 : samples: add environmental sensing sample for Arduino 101 - https://gerrit.zephyrproject.org/r/1180 : spi_dw: use SPI bus frequency in spi_dw_configure() - https://gerrit.zephyrproject.org/r/1177 : drivers/nble: Refactor Nordic BLE chip enable functions - https://gerrit.zephyrproject.org/r/1178 : ia32: Allow to connect Nordic chip to qemu - https://gerrit.zephyrproject.org/r/1170 : galileo: Enable PCI enumeration UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/1159 : bmi160: Add sample application - https://gerrit.zephyrproject.org/r/1158 : sensor: add driver for BMI160 - https://gerrit.zephyrproject.org/r/1157 : sensor.h: Add helper functions for unit conversions - https://gerrit.zephyrproject.org/r/1156 : sensor.h: add new attributes - https://gerrit.zephyrproject.org/r/1129 : samples/nble: Remove default driver debug for samples - https://gerrit.zephyrproject.org/r/1130 : drivers/nble: Implement GATT read Characteristic Presentation Format - https://gerrit.zephyrproject.org/r/995 : quark_se_devboard: Enable NBLE for quark_se_devboard in Kconfig - https://gerrit.zephyrproject.org/r/1072 : drivers/nble: Implement notification response - https://gerrit.zephyrproject.org/r/996 : quark_se_devboard: Configure UART0 for quark_se_devboard - https://gerrit.zephyrproject.org/r/1162 : doc: Add sensor section to kernel primer - https://gerrit.zephyrproject.org/r/1161 : doc: Add sensor section in API documentation - https://gerrit.zephyrproject.org/r/804 : ieee802154: Replace the CC2520 driver with a new implementation - https://gerrit.zephyrproject.org/r/932 : drivers: Quark flash support MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/1198 : job: gerrit changes: new job to send changes in gerrit. - https://gerrit.zephyrproject.org/r/1192 : arduino_101/quark_se_devboard: speed up flashing the SS - https://gerrit.zephyrproject.org/r/1187 : tests: bluetooth/shell: exclude STM32F103RB from microkernel test - https://gerrit.zephyrproject.org/r/1181 : sanitycheck: add nucleo_f103rb abd stm32_mini_a15 - https://gerrit.zephyrproject.org/r/1183 : samples: shell: declare commands as const - https://gerrit.zephyrproject.org/r/1184 : bluetooth: shell: declare commands as const - https://gerrit.zephyrproject.org/r/1188 : samples: bluetooth: ipsp: exclude STM32F103RB from the test - https://gerrit.zephyrproject.org/r/1185 : test_tickless: disable test for STM32 SoCs - https://gerrit.zephyrproject.org/r/1182 : console: shell: expect const commands array - https://gerrit.zephyrproject.org/r/1186 : test_sha256: disable test for STM32F103RB SoC - https://gerrit.zephyrproject.org/r/1189 : arm: linker: fix indentation - https://gerrit.zephyrproject.org/r/1191 : sensor: bmp280: fix pressure value - https://gerrit.zephyrproject.org/r/1174 : pinmux: Fix where to look for PINMUX_BASE_ADDR - https://gerrit.zephyrproject.org/r/1175 : Bluetooth: Move supported commands reading to common_init() - https://gerrit.zephyrproject.org/r/1176 : Bluetooth: Make controller to host flow control conditional - https://gerrit.zephyrproject.org/r/1173 : Zephyr v1.2.0-rc2 - https://gerrit.zephyrproject.org/r/1169 : galileo: Fix SPI driver init level - https://gerrit.zephyrproject.org/r/1171 : arm: Fix wrong function comment - https://gerrit.zephyrproject.org/r/1149 : boards: arduino_101: Enable SPI flash only when SPI is enabled - https://gerrit.zephyrproject.org/r/991 : Bluetooth: BR/EDR: Enable cancel Passkey Notify authentication - https://gerrit.zephyrproject.org/r/1070 : Bluetooth: GATT: Force write to CCC when reconnecting - https://gerrit.zephyrproject.org/r/1071 : drivers/nble: Implement read CUD attribute - https://gerrit.zephyrproject.org/r/1054 : include: misc: Add a generic single linked list API - https://gerrit.zephyrproject.org/r/1102 : test_fifo: Reorganize directories - https://gerrit.zephyrproject.org/r/1165 : samples/drivers: extend PWM app to FRDM_K64F - https://gerrit.zephyrproject.org/r/1163 : gpio/sch: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1153 : tests: kernel: test_pool: reduce ram requirements - https://gerrit.zephyrproject.org/r/1155 : tests: Add a test suite for the single linked list generic - https://gerrit.zephyrproject.org/r/1168 : rtc/dw: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1131 : test_fifo: Fix issues flagged by checkpatch - https://gerrit.zephyrproject.org/r/1154 : tests: kernel: test_context: reduce ram requirements - https://gerrit.zephyrproject.org/r/1166 : pwm/k64_ftm: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1164 : pwm/dw: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1152 : tests: kernel: reduce ram requirements - https://gerrit.zephyrproject.org/r/1167 : watchdog/wdt_dw: remove kconfigs that are SoC specific - https://gerrit.zephyrproject.org/r/1160 : eth_dw: fix buffer leak when RX frames are too large - https://gerrit.zephyrproject.org/r/1145 : i2c: qmsi: Add support for default configuration - https://gerrit.zephyrproject.org/r/1109 : arm: Disable unaligned access traps
|
|
Zephyr 1.2.0-rc2 tagged
Nashif, Anas
Hi,
We tagged release candidate 2 and planning to release 1.2.0 end of the day Friday. There are already a few bug fixes on top of rc2 that will be in the final release. Below is the log since 1.2.0-rc1: Alexandre d'Alton (2): arc: implement stack checking arc: remove unecessary instruction and doc Anas Nashif (6): boards: remove atom defconfig from basic minute-ia spi_test: remove dependency on driver name from kconfig kconfig: use menuconfig for PCI options sanity: add quark_se_devboard to tested boards quark_d2000_crb: improve binary flashing speed Zephyr v1.2.0-rc2 Andre Guedes (4): pwm: Remove redundancy in Kconfig.qmsi i2c: Remove redundancy in Kconfig.qmsi doc: Add returning code conventions i2c: qmsi: Add support for default configuration Andrei Emeltchenko (1): Bluetooth/shell: Fix wrong memory access Andrew Boie (5): compare_footprint: Python 3 compatibility docs: clarify MINGW installation instructions benchmarks: use portable static interrupt APIs object-footprint: gitignore generated output x86: irq: fix _get_dynamic_stub() calculation Baohong Liu (1): drivers: AON counters: Move interrupt setting to SOC Kconfig Daniel Leung (21): pinmux/galileo: extract kconfig options into its own file pinmux: remove base address and number of pins from kconfig refactor common driver initialization priorities i2c/atmel_sam3: rename *_INT_PRIORITY to *_IRQ_PRI i2c/dw: rename *_INT_PRIORITY to *_IRQ_PRI i2c/qmsi: rename *_INT_PRIORITY to *_IRQ_PRI arc/quark_se_ss: clean up soc.h i2c/quark_se_ss: Remove base address kconfig options serial/ns16550: reduce number of kconfig options serial/ns16550: make IRQ triggering condition a SoC decision console/uart: remove duplicate default value for parent UART dev aio_comparator/dw: base address to be defined by SoC i2c: remove orphan kconfig I2C_STATUS_DELAY i2c/dw: remove kconfigs that are SoC specific samples: enable sanity check of I2C driver on Arduino Due gpio/sch: remove kconfigs that are SoC specific pwm/dw: remove kconfigs that are SoC specific samples/drivers: extend PWM app to FRDM_K64F pwm/k64_ftm: remove kconfigs that are SoC specific watchdog/wdt_dw: remove kconfigs that are SoC specific rtc/dw: remove kconfigs that are SoC specific Dmitriy Korovkin (3): arm: Disable unaligned access traps arm: Fix wrong function comment galileo: Fix SPI driver init level Johan Hedberg (2): Bluetooth: samples/README: Fix sanitycheck references Bluetooth: tests/shell: Add some help text Mariusz Skamra (1): drivers/console: Fix flush data on uart_pipe_setup Peter Mitsis (2): test_fifo: Fix issues flagged by checkpatch test_fifo: Reorganize directories Sebastien Griffoul (1): eth_dw: fix buffer leak when RX frames are too large Tomasz Bursztyka (4): pinmux: Fix where to look for PINMUX_BASE_ADDR gpio: dw: ISR handler should acknowlegde only current interrupts include: misc: Add a generic single linked list API tests: Add a test suite for the single linked list generic Yannis Damigos (6): Bluetooth: tester: Fix typo tests: kernel: test-lifo: reduce ram requirements tests: kernel: test-fifo: reduce ram requirements tests: kernel: reduce ram requirements tests: kernel: test_pool: reduce ram requirements tests: kernel: test_context: reduce ram requirements Makefile | 2 +- arch/arc/Kconfig | 8 + arch/arc/Makefile | 1 + arch/arc/core/fast_irq.S | 20 +- arch/arc/core/offsets/offsets.c | 3 + arch/arc/core/regular_irq.S | 13 + arch/arc/core/swap.S | 25 +- arch/arc/core/thread.c | 6 +- arch/arc/include/nano_private.h | 3 + arch/arc/soc/quark_se_ss/Kconfig.defconfig | 40 -- arch/arc/soc/quark_se_ss/soc.h | 39 +- arch/arc/soc/quark_se_ss/soc_config.c | 6 +- arch/arm/core/fault.c | 1 - arch/arm/defconfig | 1 - arch/arm/soc/atmel_sam3/Kconfig.defconfig | 12 - arch/arm/soc/fsl_frdm_k64f/Kconfig.defconfig | 16 - arch/arm/soc/fsl_frdm_k64f/soc.h | 16 + .../soc/st_stm32/stm32f1/Kconfig.defconfig.family | 16 - arch/arm/soc/ti_lm3s6965/Kconfig.defconfig | 12 - arch/x86/core/dynamic.c | 2 +- arch/x86/soc/atom/Kconfig.defconfig | 31 - arch/x86/soc/atom/soc.h | 27 +- arch/x86/soc/ia32/Kconfig.defconfig | 31 - arch/x86/soc/ia32/soc.h | 24 +- arch/x86/soc/quark_d2000/Kconfig.defconfig | 75 +-- arch/x86/soc/quark_d2000/soc.h | 54 +- arch/x86/soc/quark_se/Kconfig.defconfig | 89 +-- arch/x86/soc/quark_se/soc.h | 76 ++- arch/x86/soc/quark_se/soc_config.c | 2 +- arch/x86/soc/quark_x1000/Kconfig.defconfig | 107 +--- arch/x86/soc/quark_x1000/soc.h | 69 +- boards/arduino_101/Kconfig.defconfig | 9 - boards/arduino_101/arduino_101_defconfig | 1 - boards/arduino_due/Kconfig.defconfig | 13 - boards/basic_minuteia/basic_atom_defconfig | 17 - boards/galileo/Kconfig.defconfig | 20 +- boards/galileo/board.h | 9 + boards/galileo/galileo_defconfig | 3 - boards/minnowboard/minnowboard_defconfig | 1 - boards/nucleo_f103rb/nucleo_f103rb_defconfig | 1 - boards/qemu_x86/qemu_x86_defconfig | 1 - boards/qemu_x86/qemu_x86_iamcu_defconfig | 1 - boards/quark_d2000_crb/Kconfig.defconfig | 9 - boards/quark_d2000_crb/support/openocd.cfg | 1 + .../quark_se_devboard/quark_se_devboard_defconfig | 1 - boards/stm32_mini_a15/stm32_mini_a15_defconfig | 1 - doc/collaboration/code/code.rst | 1 + doc/collaboration/code/error_code_conventions.rst | 36 ++ doc/getting_started/installation_win.rst | 18 +- drivers/aio/Kconfig | 6 - drivers/aio/aio_dw_comparator.c | 2 +- drivers/clock_control/Kconfig.stm32f10x | 2 +- drivers/clock_control/stm32f10x_clock.c | 2 +- drivers/console/Kconfig | 4 +- drivers/console/uart_console.c | 2 +- drivers/console/uart_pipe.c | 8 +- drivers/ethernet/eth_dw.c | 12 +- drivers/gpio/Kconfig.sch | 31 - drivers/gpio/gpio_dw.c | 2 +- drivers/gpio/gpio_sch.c | 15 +- drivers/i2c/Kconfig | 5 - drivers/i2c/Kconfig.atmel_sam3 | 4 +- drivers/i2c/Kconfig.dw | 82 +-- drivers/i2c/Kconfig.qmsi | 24 +- drivers/i2c/Kconfig.quark_se_ss | 8 - drivers/i2c/i2c_atmel_sam3.c | 4 +- drivers/i2c/i2c_dw.c | 54 +- drivers/i2c/i2c_qmsi.c | 14 +- drivers/i2c/i2c_quark_se_ss.c | 4 +- drivers/pci/Kconfig | 15 +- drivers/pinmux/Kconfig | 65 +- drivers/pinmux/dev/pinmux_dev_galileo.c | 4 +- drivers/pinmux/dev/pinmux_dev_quark_mcu.c | 2 +- drivers/pinmux/frdm_k64f/pinmux_k64.c | 4 +- drivers/pinmux/galileo/Kconfig | 70 ++ drivers/pinmux/galileo/pinmux_board_galileo.c | 5 +- drivers/pinmux/galileo/pinmux_galileo.c | 4 +- .../pinmux/quark_mcu/pinmux_board_arduino_101.c | 5 +- .../quark_mcu/pinmux_board_quark_d2000_crb.c | 5 +- .../pinmux/quark_mcu/pinmux_board_quark_se_dev.c | 3 +- drivers/pwm/Kconfig.dw | 15 - drivers/pwm/Kconfig.k64 | 32 - drivers/pwm/Kconfig.qmsi | 4 - drivers/pwm/pwm_dw.c | 6 +- drivers/pwm/pwm_k64_ftm.c | 13 +- drivers/rtc/Kconfig | 28 +- drivers/rtc/rtc_dw.c | 6 +- drivers/rtc/rtc_qmsi.c | 4 +- drivers/serial/Kconfig | 27 - drivers/serial/Kconfig.ns16550 | 191 +----- drivers/serial/uart_ns16550.c | 52 +- drivers/shared_irq/Kconfig | 2 +- drivers/spi/Kconfig.dw | 2 +- drivers/watchdog/Kconfig | 12 - drivers/watchdog/wdt_dw.c | 6 +- include/arch/arc/v2/aux_regs.h | 5 +- include/arch/arm/cortex_m/scb.h | 2 +- include/arch/x86/arch.h | 6 +- include/misc/slist.h | 236 +++++++ kernel/Kconfig | 2 + samples/bluetooth/README | 6 +- samples/drivers/grove_lcd/testcase.ini | 4 +- samples/drivers/i2c_fujitsu_fram/testcase.ini | 6 +- samples/drivers/pwm/Makefile | 6 + samples/drivers/pwm/prj_arm.conf | 5 + samples/drivers/pwm/prj_x86.conf | 6 + samples/drivers/pwm/src/Makefile | 1 + samples/drivers/pwm/src/main.c | 109 ++++ samples/drivers/pwm/testcase.ini | 6 + samples/drivers/pwm_dw/Makefile | 6 - samples/drivers/pwm_dw/prj_x86.conf | 6 - samples/drivers/pwm_dw/src/Makefile | 1 - samples/drivers/pwm_dw/src/main.c | 103 --- samples/drivers/pwm_dw/testcase.ini | 6 - samples/drivers/spi_test/src/spi.c | 11 +- scripts/compare_footprint | 22 +- scripts/sanity_chk/arches/arc.ini | 6 +- scripts/sanity_chk/arches/x86.ini | 5 +- .../benchmark/footprint/microkernel/float/arm.conf | 1 + tests/benchmark/footprint/microkernel/max/arm.conf | 1 + .../microkernel/src/microkernel_footprint.c | 42 +- .../microkernel/src/test_asm_inline_gcc.h | 66 -- tests/benchmark/footprint/microkernel/testcase.ini | 3 - tests/benchmark/footprint/nanokernel/max/arc.conf | 3 + tests/benchmark/footprint/nanokernel/max/arm.conf | 1 + tests/benchmark/footprint/nanokernel/reg/arc.conf | 2 + .../nanokernel/src/nanokernel_footprint.c | 44 +- .../footprint/nanokernel/src/test_asm_inline_gcc.h | 66 -- tests/benchmark/footprint/nanokernel/testcase.ini | 2 - tests/benchmark/object_footprint/.gitignore | 2 + .../object_footprint/src/nanokernel_objects.c | 42 +- .../object_footprint/src/test_asm_inline_gcc.h | 67 -- tests/bluetooth/shell/src/main.c | 5 +- tests/bluetooth/tester/testcase.ini | 2 +- tests/kernel/test_context/src/Makefile | 1 - tests/kernel/test_context/src/context.c | 4 +- tests/kernel/test_fifo/Makefile | 6 - tests/kernel/test_fifo/README.microkernel.txt | 86 --- tests/kernel/test_fifo/README.nanokernel.txt | 121 ---- tests/kernel/test_fifo/microkernel/Makefile | 6 + tests/kernel/test_fifo/microkernel/README.txt | 86 +++ tests/kernel/test_fifo/microkernel/prj.conf | 7 + tests/kernel/test_fifo/microkernel/prj.mdef | 15 + tests/kernel/test_fifo/microkernel/src/Makefile | 3 + tests/kernel/test_fifo/microkernel/src/fifo.c | 624 ++++++++++++++++++ tests/kernel/test_fifo/microkernel/testcase.ini | 2 + tests/kernel/test_fifo/nanokernel/Makefile | 5 + tests/kernel/test_fifo/nanokernel/README.txt | 121 ++++ tests/kernel/test_fifo/nanokernel/prj.conf | 8 + tests/kernel/test_fifo/nanokernel/src/Makefile | 3 + tests/kernel/test_fifo/nanokernel/src/fifo.c | 710 ++++++++++++++++++++ .../kernel/test_fifo/nanokernel/src/fifo_timeout.c | 495 ++++++++++++++ tests/kernel/test_fifo/nanokernel/testcase.ini | 2 + tests/kernel/test_fifo/prj.conf | 8 - tests/kernel/test_fifo/prj.mdef | 15 - tests/kernel/test_fifo/src/Makefile | 5 - tests/kernel/test_fifo/src/fifo_timeout.c | 498 -------------- tests/kernel/test_fifo/src/micro_fifo.c | 628 ------------------ tests/kernel/test_fifo/src/nano_fifo.c | 713 --------------------- tests/kernel/test_fifo/testcase.ini | 11 - tests/kernel/test_fifo_priv/Makefile | 2 +- tests/kernel/test_fifo_priv/prj.mdef | 2 +- tests/kernel/test_lifo/src/Makefile | 1 - tests/kernel/test_lifo/src/lifo.c | 4 +- tests/kernel/test_lifo/testcase.ini | 2 - tests/kernel/test_mutex/prj.mdef | 16 +- tests/kernel/test_pool/prj.mdef | 8 +- tests/kernel/test_sema/microkernel/prj.mdef | 10 +- .../kernel/test_sema/microkernel/src/test_fiber.c | 2 +- tests/kernel/test_sema/nanokernel/src/Makefile | 1 - tests/kernel/test_sema/nanokernel/src/sema.c | 4 +- tests/kernel/test_sema/nanokernel/testcase.ini | 2 - tests/kernel/test_slist/Makefile | 5 + tests/kernel/test_slist/README.txt | 48 ++ tests/kernel/test_slist/prj.conf | 1 + tests/kernel/test_slist/src/Makefile | 3 + tests/kernel/test_slist/src/slist.c | 251 ++++++++ tests/kernel/test_slist/testcase.ini | 2 + tests/kernel/test_timer/microkernel/src/Makefile | 2 +- 179 files changed, 3526 insertions(+), 3775 deletions(-)
|
|
Re: RFC: extend sanitycheck testcase filtering expressiveness
Wang, Jing J
Andrew,
toggle quoted messageShow quoted text
Eval is widely used in many projects, e.g. yocto. Its safety depends on what area you apply it. To build up a public server which allow any user input, maybe it is unsafe. For testcase filtering, all input is controlled by TC owner. In this usage, I think eval is appropriate, and save quite a lot efforts. On the other hand, are you sure introducing another parser or develop a new parser is safer than eval? Rgds jwang
-----Original Message-----
From: Boie, Andrew P Sent: Wednesday, March 30, 2016 11:37 PM To: Wang, Jing J <jing.j.wang(a)intel.com>; Korovkin, Dmitry (Wind River) <dmitriy.korovkin(a)windriver.com> Cc: devel(a)lists.zephyrproject.org Subject: RE: [devel] Re: RFC: extend sanitycheck testcase filtering expressiveness QA test suite actually has similar requirement for test case filteringI briefly considered this approach but after doing some reading concluded it was unsafe. http://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html Andrew
|
|
Re: Sanity check and test cases
Boie, Andrew P
On Wed, 2016-03-30 at 19:45 +0300, Yannis Damigos wrote:
I have pushed it to gerrit:Thanks for doing this. I believe test_sema also has this problem, in addition to test_fifo/test_lifo. -- Andrew Boie Staff Engineer - EOS Zephyr Intel Open Source Technology Center
|
|