Commit graph

19237 commits

Author SHA1 Message Date
Baohong Liu
0fa409ff48 drivers: adc108s102: use unified kernel
Use new kernel header file and k_sleep from unified
kernel instead of nano timer.

Change-Id: I1c98c07f880382eaa87f6e0c45967a4b8b6bfd7d
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
2016-12-22 01:22:09 +00:00
Baohong Liu
34f735fe60 samples: i2c_fram: update some comments
Change-Id: Ie86f50828df8c5c3f975024c2e3bc4254714fa3c
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
2016-12-22 01:21:54 +00:00
Baohong Liu
b4114259d6 driver: pwm: give arc the access to pwm
HW allows both arc and x86 to access the pwm attached to the
quark soc I/O fabric. The existing code only allows x86 to
do this. Let's give arc the access.

Change-Id: Ie88649fea41bf86b84876c260f97dd4c12fd0b81
Signed-off-by: Baohong liu <baohong.liu@intel.com>
2016-12-22 01:21:23 +00:00
Baohong Liu
83a388e6c8 tests: spi: correct a spi buffer length issue
Make the buffer length for tx and rx are the same for
spi_transceive API call. QMSI only supports equal length.
This is clearly specifed in spi header file.

Also correct some coding style issues.

Change-Id: Ifd34683e8813dae9b692ad453176a93cb3848427
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
2016-12-22 01:20:42 +00:00
Andre Guedes
a7006bb53d rtc: qmsi: Fix wrong comment in driver init
Change-Id: I45694013a5e8172cb4a6fddba00fe8f65ec10cd5
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
2016-12-21 20:06:18 +00:00
Benjamin Walsh
bfa5653e9a arch: remove instances of fiberRtnValueSet()
Obsolete, replaced by _set_thread_return_value().

Change-Id: I23e9cfc07e43542f0965817edc3552d456fd2ef3
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-21 19:50:08 +00:00
Benjamin Walsh
6209218f40 kernel: optimize ms-to-ticks for certain tick frequencies
Some tick frequencies lend themselves to optimized conversions from ms
to ticks and vice-versa.

- 1000Hz which does not need any conversion
- 500Hz, 250Hz, 125Hz where the division/multiplication are a straight
  shift since they are power-of-two factors of 1000.

In addition, some more generally used values are made to use optimized
conversion equations rather than the generic one that uses 64-bit math,
and often results in calling compiler intrinsics.

These values are: 100Hz, 50Hz, 25Hz, 20Hz, 10Hz, 1Hz (the last one used
in some testing).

Avoiding the 64-bit math intrisics has the additional benefit, in
addition to increased performance, of using a significant lower amount
of stack space: 52 bytes on ARM Cortex-M and 80 bytes on x86.

Change-Id: I080eb338a2637d6b1c6838c119af1a9fa37fe869
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-21 19:50:07 +00:00
Benjamin Walsh
95061b6561 misc: add ceiling_fraction() macro
Like ceil() for real numbers, but for fractions.

Change-Id: I8387732a2b2fd8b5c2bed57a78726eab7cea2c5b
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-21 19:50:07 +00:00
Benjamin Walsh
a1622472c3 drivers: hp206 driver does not need 2000 ticks/s frequency
From code inspection, the driver always took timeouts in milliseconds.
The only sub-ms wait uses k_busy_wait(), which has microseconds
granularity, but its granularity does not depend on the system clock
tick rate.

Change-Id: If48363fd1fbeeb8e5ff0f0f2ca86e671d63bc571
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-21 19:50:06 +00:00
Benjamin Walsh
e863a77849 drivers: fix timeout in hp206
It receives a timeout in ms, but was still converting it to ticks, while
the unified kernel API takes a value in ms.

Change-Id: I8ff7f44090716385764fe4b2a087043a2e0d70af
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-21 19:50:06 +00:00
Benjamin Walsh
50f7032fb4 arc/nios2: rename sys_cycle_get_32 to k_cycle_get_32
Oversight from unified kernel effort.

Change-Id: Ib81ead8a38e06b72dc60cdce666d3a4eedf1901c
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-21 19:50:05 +00:00
Benjamin Walsh
eec37e6752 kernel: add flag that tells the system is handling timeouts
This limits the execution contexts that will go over the loop in
_unpend_first_thread() to only ISRs of very high priority that are
preempting the system clock timer ISR, and only during the time it is
handling timeouts.

Change-Id: Iaf0500d28a2de5e077c9cf9861a5a70244127d58
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-21 19:50:05 +00:00
Sergio Rodriguez
71905be857 samples/mbedtls_sslclient: Using native IP stack
The legacy IP stack was removed from the source tree, so this changes
were made to adapt to the native IP stack, but this might not work on
the galileo platform due the ethernet driver not being tested on the
new stack on TCP, but to have the reference application ready when
it gets integrated

Jira: ZEP-1448

Change-Id: Ifa6ea0afb3bc532dfb92b09debbf6eee59e38a25
Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-12-21 19:22:20 +00:00
Anas Nashif
dc3d73bf58 kernel: fix all nanokernel usage in comments
Also include kernel.h instead of nanokernel.h

Change-Id: I65dc5e31b5409b809397296817e2d5e7adf28892
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-21 18:45:03 +00:00
Anas Nashif
3d8e86c12c drivers: eliminate nano/micro kernel usage
Jira: ZEP-1415

Change-Id: I4a009ff57edb799750175aef574a865589f96c14
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-21 18:45:02 +00:00
Maureen Helm
31862e3a63 fxos8700: Add support for tap and double tap triggers
Adds optional support for tap and double tap sensor triggers to the
fxos8700 driver using the pulse detection hardware function.

Default configuration values were taken from NXP AN4072, section 6.3.
http://cache.nxp.com/assets/documents/data/en/application-notes/AN4072.pdf

Change-Id: Ia95091628a853eb956f6fd1df099a9e6e101b707
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-12-21 08:06:56 -06:00
Maureen Helm
4c22d6ca86 sensor: Introduce tap and double tap triggers
Introduce tap and double tap triggers to the sensor interface.

Change-Id: Ic91d73e4393d643abc4119850d5b02164b1b6843
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-12-21 08:06:56 -06:00
Anas Nashif
345fdd52b1 kernel: document behavior of k_free
Document that when passing NULL to k_free, nothing happens.

Jira: ZEP-1475
Change-Id: I0efab2c8c670b0cebfd3e72aa8cd64857798abea
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-21 13:53:20 +00:00
Anas Nashif
367bf7c175 doc: remove device_sync_call documentation
This is obsolete and not available anymore in the unified kernel.

Change-Id: I39f6afd5285a2286fe954bd8dc501f888d0d9003
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-21 13:53:12 +00:00
Anas Nashif
a4690a4ae0 mailmap: added axy (for Anas Nashif)
Change-Id: I1ed70f202f51fa53ecfa9bfd6d076fe33b5252f7
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-21 13:49:59 +00:00
Sergio Rodriguez
b52080749f drivers: gpio_cmsdk_ahb: Fix erronous if statements
The GPIO_INT_LEVEL and GPIO_INT_ACTIVE_LOW values are  zero so the
statements are never executed then is better use the bit complement
masks

This issue was reported by Coverity

Coverity-CID: 157586

Change-Id: Ic8b20660a991dd3d0c71248f84c917e5ce5c3c7c
Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
2016-12-21 13:49:40 +00:00
Javier B Perez
814534ba4e compare footprint: add sanity args files
Added sanity args to be used by the compare footprint.
Please notice that compare footprint use sanitycheck to
build footprint apps for base commit and for current commit.
This in order to collect the information and generate the diff.

Change-Id: I6f86bbfa020999b3f26e93a608fc7b34ee508e10
Signed-off-by: Javier B Perez <javier.b.perez.hernandez@intel.com>
2016-12-21 13:46:56 +00:00
Marcus Shawcroft
6a1632ed26 eth/ksdk: Use k_sem instead of nano_sem
Change-Id: I6b024f6054dede28b74f97102d80ef50f9e45a04
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-12-21 12:58:11 +00:00
Marcus Shawcroft
4ede76a6f9 eth/ksdk: Use k_sem_init() initial count
Remove the existing code that iterates over k_sem_give() and setup the
initial counter directly, take the opportunity to set the maximum count.

Change-Id: Ib91ea263567ff761e4953c142a22a56658efe293
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-12-21 12:58:11 +00:00
Chuck Jordan
5fbbe44883 arc: em_starterkit default changed to EM7D
ZEP-1317 records a problem were em_starterkit appears to boot up
EM7d, sometimes, due to a misread of the dip-switches.
This could be a mechanical issue. I am seeing it on my board too,
and I often have to struggle with the dip-switch to get it to boot
EM9D. For automated-testing, perhaps it is better if the default is
EM7D, since this is the all-switches-up and contact in the switch
isn't needed. Meanwhile, I'll work with our board team to try to get
to the bottom of this.

ZEP-1317

Change-Id: I41095c1d8b07ce156cc3856a50196c064af2ee18
Signed-off-by: Chuck Jordan <cjordan@synopsys.com>
2016-12-21 12:56:23 +00:00
Flavio Santes
d8083e92ab arch/arc, usb, ztest: Add the ARG_UNUSED macro
Add the ARG_UNUSED macro to avoid compiler warnings.

Change-Id: Ie07f52e742bdb93fb35301bd50cce3865f229623
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:54 +00:00
Flavio Santes
358056692f drivers/usb: Use the right data-type
Use uint32_t instead of int.

Change-Id: I7d73a3fea61e48663aeada6792b9b6c19db1cb35
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:53 +00:00
Flavio Santes
d47abac73d samples: Add the ARG_UNUSED macro
Avoid compiler warnings by incorporating the ARG_UNUSED macro.

Change-Id: Iea567bf5f42d9f609bf68d171e0bc0e03b62b821
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:53 +00:00
Flavio Santes
3ec300fd94 shell: Init structure and add the ARG_UNUSED macro
The shell_cmd structure has three parameters and only two were
initialized. So, this commit initializes the remaining parameter
and also adds the ARG_UNUSED macro to avoid compiler warnings.

Change-Id: I667a4e9839ec5acd526df0bb465beb2062518315
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:53 +00:00
Flavio Santes
501dd224ad drivers: Add the ARG_UNUSED macro
Add the ARG_UNUSED macro to avoid compiler warnings.

Change-Id: Ia62125b5e93671aa0ab0891c92ae9fa06fadb09b
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:52 +00:00
Flavio Santes
5799495a5b drivers/sensor: Add the ARG_UNUSED macro
Add the ARG_UNUSED macro to avoid compiler warnings.

Change-Id: I2e0d8ccdcd2d525e109cee6c3bd1035640618eb0
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:51 +00:00
Flavio Santes
3d7d373a2f drivers/sensor/bmi160: Remove compiler warnings
Remove the unused argument and comparing int to unsigned int
compiler warnings.

Change-Id: Iad79ec2ef8206b2494875a93551a0f47e234ff8d
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:51 +00:00
Flavio Santes
f57023934e samples/net/echo_client: Add ARG_UNUSED
Add ARG_UNUSED to some function parameters to avoid
compiler warnings.

Change-Id: I5db5bc536f1eeb084e08d2fbe4a8b0a8456e67a5
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:50 +00:00
Flavio Santes
17a589a486 net/utils: Use the right data-type
Use size_t instead of int to avoid compiler warnings.

Change-Id: I86f804010a7bd0387299648f8c2c0f880f19f580
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:50 +00:00
Flavio Santes
9216e6c47d net: Add ARG_UNUSED
This patch adds the ARG_UNUSED macros to some function arguments
to avoid compiler warnings.

Change-Id: Iae2cd3018c9442ffa9268fdfd33eb9a21f55087c
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:49 +00:00
Flavio Santes
e62030a9ad misc/logger: Add ARG_UNUSED
This commit adds the ARG_UNUSED macro to some function arguments
to avoid compiler warnings when some sections are compiled out.

Change-Id: Ic003c5a6b2757112cbcf9111fceb14c0f8ea352a
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:49 +00:00
Flavio Santes
6ed5b16e49 misc/byteorder: Use the right data-type
Use size_t instead of int to avoid the following compiler warning:

warning: comparison between signed and unsigned integer expressions

Change-Id: I1dcd275e685f5c35793bdbf5ba0acc28ae4b181c
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:48 +00:00
Flavio Santes
15932d41cd drivers/slip: Use the right data-type
Use the right data-type to avoid compiler warnings.

Change-Id: I3e807482c5636f37ef1288689450dbe3c9c04dcf
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:48 +00:00
Flavio Santes
0a1c29cda4 driver: Add ARG_UNUSED to console and uart drivers
This patch adds the ARG_UNUSED macros to some function
arguments to avoid compiler warnings.

Change-Id: I628aea55d98cf8519c046ae5835e95cfa70a973f
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-12-21 12:54:47 +00:00
jing wang
208fc48d81 tests: add zephyr alerts test case
the commit cover alert send and receive with 4 types -
DEFAULT, IGNORE, PENDING, CONSUMED which across thread and isr
context.

Change-Id: I41dae9ba2dc980bcd768f1220f55b5492bc8ae37
Signed-off-by: jing wang <jing.j.wang@intel.com>
2016-12-21 01:56:19 +00:00
Evan Couzens
371e435cae doc: Add environment variables to getting_started.rst
Add GCCARMEMB_TOOLCHAIN_PATH and ZEPHYR_GCC_VARIANT to
getting_started.rst per ZEP-1027

Change-Id: Ia73697c66562e02a6d93afdac6cc92e327189abe
Signed-off-by: Evan Couzens <evanx.couzens@intel.com>
2016-12-20 21:42:17 +00:00
Anas Nashif
3dc9eb00cf net: remove obsolete net_testing.h
Change-Id: I75dff74912320a9b623667a53dc8e2b617f17572
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-20 13:31:38 -05:00
Anas Nashif
175f63e0f9 doc: add note about order of SDK installation
Jira: ZEP-1479
Change-Id: Ie3f7eb1e7ce8f245f1e54193a30a52cf552315cd
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-20 13:31:38 -05:00
Kumar Gala
d097011db9 Merge "Merge arm branch into master" 2016-12-20 18:00:17 +00:00
Yossi Havusha
bdd2e0145c samples/logger-hook: fix ring buffer usage and initialize variables.
1. Fix ring buffer usage according to suggestion in ZEP-1449
2. Redo fix variable initialization for CID 157609

Jira: ZEP-1449

Change-Id: Icce055940f4f82f3d87898f53cfbcae1fe73162c
Signed-off-by: Yossi Havusha <yossi.havusha@intel.com>
2016-12-20 17:00:00 +00:00
Kumar Gala
5ab8f8f15a Merge arm branch into master
----------------------------------------------------------------

Carles Cufi (13):
      Bluetooth: controller: Use SERIES config instead of NRF52
      drivers: serial: nrf5: Undefine MDK macros to avoid conflict
      ext: Update Nordic MDK header files
      boards: nrf52: Specify nRF52832 IC in default config
      arch: arm: Refactor and cleanup nRF52 series arch code
      arch: arm: Add support for the Nordic nRF52840 IC
      boards: arm: Add support for the Nordic pca10056 PDK
      boards: arm: Refactor the GPIO and UART dependencies
      boards: nrf51_pca10028: Add button and LED definitions
      boards: nrf52_pca10040: Add button and LED definitions
      boards: nrf52840_pca10056: Add button and LED definitions
      boards: bbc_microbit: Add button and LED definitions
      gpio: nrf5x: Add support for GPIOTE and GPIO callbacks

Gil Pitney (5):
      cc3200: Add a GPIO driver for the TI CC3200 LaunchXL
      cc3200: Add pinmux initialization for GPIO Ports
      cc3200: Add generic definitions for LEDs and switches
      cc3200: Ensure UART can wake up Zephyr after wfi in idle
      cc3200: Move UART peripheral clock enable into soc init

Kumar Gala (1):
      sanity_chk: add nucleo_f411re to arm list of boards for sanity

Matthias Boesl (1):
      board: add initial support for Nucleo-64 with Soc STM32F411RE

Maureen Helm (2):
      frdm_k64f: hexiwear_k64: Fix basic blinky sample
      frdm_k64f: Fix basic button sample

 arch/arm/soc/nordic_nrf5/Kconfig.defconfig         |    18 +
 .../nordic_nrf5/nrf52/Kconfig.defconfig.nrf52832   |     4 +
 .../nordic_nrf5/nrf52/Kconfig.defconfig.nrf52840   |    36 +
 .../soc/nordic_nrf5/nrf52/Kconfig.defconfig.series |     4 -
 arch/arm/soc/nordic_nrf5/nrf52/Kconfig.series      |     1 +
 arch/arm/soc/nordic_nrf5/nrf52/Kconfig.soc         |     4 +-
 arch/arm/soc/nordic_nrf5/nrf52/Makefile            |     8 +-
 arch/arm/soc/nordic_nrf5/nrf52/soc.c               |   377 +-
 .../st_stm32/stm32f4/Kconfig.defconfig.stm32f411xe |    34 +
 arch/arm/soc/st_stm32/stm32f4/Kconfig.soc          |     3 +
 .../ti_simplelink/cc32xx/Kconfig.defconfig.cc3200  |    19 +
 arch/arm/soc/ti_simplelink/cc32xx/soc.c            |    12 +
 boards/arm/96b_nitrogen/Kconfig.defconfig          |    10 +-
 boards/arm/bbc_microbit/Kconfig.defconfig          |    10 +-
 boards/arm/bbc_microbit/board.h                    |    56 +
 boards/arm/cc3200_launchxl/board.h                 |    16 +
 .../arm/cc3200_launchxl/cc3200_launchxl_defconfig  |     3 +
 boards/arm/cc3200_launchxl/pinmux.c                |    38 +-
 boards/arm/frdm_k64f/board.h                       |    12 +
 boards/arm/hexiwear_k64/board.h                    |     6 +
 boards/arm/nrf51_blenano/Kconfig.defconfig         |    10 +-
 boards/arm/nrf51_pca10028/Kconfig.defconfig        |    10 +-
 boards/arm/nrf51_pca10028/board.h                  |    32 +
 boards/arm/nrf52840_pca10056/Kconfig               |    23 +
 boards/arm/nrf52840_pca10056/Kconfig.board         |    19 +
 boards/arm/nrf52840_pca10056/Kconfig.defconfig     |    45 +
 boards/arm/nrf52840_pca10056/Makefile              |     2 +
 boards/arm/nrf52840_pca10056/board.h               |    54 +
 .../nrf52840_pca10056/nrf52840_pca10056_defconfig  |    20 +
 boards/arm/nrf52_pca10040/Kconfig.defconfig        |    10 +-
 boards/arm/nrf52_pca10040/board.h                  |    34 +-
 boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig |     1 +
 boards/arm/nucleo_f411re/Kconfig.board             |    20 +
 boards/arm/nucleo_f411re/Kconfig.defconfig         |    23 +
 boards/arm/nucleo_f411re/Makefile                  |     2 +
 boards/arm/nucleo_f411re/Makefile.board            |     6 +
 boards/arm/nucleo_f411re/board.h                   |    22 +
 boards/arm/nucleo_f411re/nucleo_f411re_defconfig   |    36 +
 boards/arm/nucleo_f411re/support/openocd.cfg       |    12 +
 drivers/gpio/Kconfig                               |     2 +
 drivers/gpio/Kconfig.cc32xx                        |    93 +
 drivers/gpio/Makefile                              |     1 +
 drivers/gpio/gpio_cc32xx.c                         |   335 +
 drivers/gpio/gpio_nrf5.c                           |   180 +-
 drivers/pinmux/Makefile                            |     1 +
 drivers/pinmux/stm32/pinmux_board_nucleo_f411re.c  |    48 +
 drivers/serial/Kconfig.nrf5                        |     2 +-
 drivers/serial/uart_nrf5.c                         |    16 +
 ext/hal/nordic/mdk/compiler_abstraction.h          |    21 +-
 ext/hal/nordic/mdk/nrf.h                           |    36 +-
 ext/hal/nordic/mdk/nrf51.h                         |    28 +-
 ext/hal/nordic/mdk/nrf51422_peripherals.h          |   144 +
 ext/hal/nordic/mdk/nrf51802_peripherals.h          |   144 +
 ext/hal/nordic/mdk/nrf51822_peripherals.h          |   144 +
 ext/hal/nordic/mdk/nrf51824_peripherals.h          |   144 +
 ext/hal/nordic/mdk/nrf51_bitfields.h               |   604 +-
 ext/hal/nordic/mdk/nrf51_deprecated.h              |     6 +-
 ext/hal/nordic/mdk/nrf51_to_nrf52.h                |    19 +-
 ext/hal/nordic/mdk/nrf51_to_nrf52840.h             |   567 +
 ext/hal/nordic/mdk/nrf52.h                         |    62 +-
 ext/hal/nordic/mdk/nrf52832_peripherals.h          |   218 +
 ext/hal/nordic/mdk/nrf52840.h                      |  2417 +++
 ext/hal/nordic/mdk/nrf52840_bitfields.h            | 14633 +++++++++++++++++++
 ext/hal/nordic/mdk/nrf52840_peripherals.h          |   240 +
 ext/hal/nordic/mdk/nrf52_bitfields.h               |  2696 +---
 ext/hal/nordic/mdk/nrf52_name_change.h             |     6 +-
 ext/hal/nordic/mdk/nrf52_to_nrf52840.h             |    88 +
 ext/hal/nordic/mdk/system_nrf52.h                  |     4 +-
 ext/hal/nordic/mdk/system_nrf52840.h               |    69 +
 scripts/sanity_chk/arches/arm.ini                  |     2 +-
 subsys/bluetooth/controller/hal/radio.c            |     2 +-
 71 files changed, 20716 insertions(+), 3308 deletions(-)

Change-Id: I4a5c2b348e207dd5df3760b6ce1efe52f106e2fb
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2016-12-20 09:20:10 -06:00
Kumar Gala
f4df430bac sanity_chk: add nucleo_f411re to arm list of boards for sanity
Change-Id: I34d3c7a7dd8dc53e6c592fc9339c656a39aeeb3b
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2016-12-20 09:15:28 -06:00
Matthias Boesl
ffa67b77c6 board: add initial support for Nucleo-64 with Soc STM32F411RE
Change-Id: I698693bccce1e9599c20e57f5d4172643ca38cc9
Signed-off-by: Matthias Boesl <matthias.boesl@gmail.com>
2016-12-20 09:15:19 -06:00
Carles Cufi
129a2f0bb6 gpio: nrf5x: Add support for GPIOTE and GPIO callbacks
To support interrupt-based GPIO callbacks in the nRF5x series one needs
to use the GPIOTE module, which has a series of channels that can be
programmed to trigger interrupts on level changes.
This commit adds basic support for the GPIOTE module within the nRF5x
GPIO driver, as well as callback support in order for basic buttons and
switches to work.

Change-Id: I9ae600f894372ad42b09a18cc38a90fc29abb0df
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2016-12-20 09:14:49 -06:00
Maureen Helm
feef536ada frdm_k64f: Fix basic button sample
The basic button sample expects SW0_GPIO_NAME and SW0_GPIO_PIN macros to
be defined by board.h. The frdm_64f doesn't have a physical switch with
this name, so create an alias to SW3 to make the sample work.

Change-Id: I61eb096582d9898dbcb9799e69078ad0c4b700cf
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-12-20 09:14:49 -06:00