Commit graph

19237 commits

Author SHA1 Message Date
Johan Hedberg
acb872fd8c Bluetooth: HCI: Fix alignment of struct members
This is mostly resulting from the recent change to new integer types.

Change-Id: I16aa4ca645c24d682667985de14687a7dc360b2f
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-04-29 11:39:13 -04:00
David B. Kinder
e7a54dc645 doc: Add README.rst to project root
Jira: ZEP-2055

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2017-04-29 11:34:35 -04:00
Anas Nashif
2dc9ae4e37 ci: update to build 2 parallel jobs per run
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-04-28 20:42:46 -04:00
Leandro Pereira
86b0260e97 kconfig: Move debugging-related options from misc/ to subsys/debug/
This should fix the grouping for debugging options appearing in the
main "menuconfig" menu.

Change-Id: I7ddf3a6f3d025bf82ba63099b30e47a40d7c3187
Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-04-28 23:41:16 +00:00
Kumar Gala
c40239dcfa watchdog: atmel_sam: only build for SAME70
With recent changes we now have both SAME70 and SAM3X under
SOC_FAMILY_SAM so we need to limit the watchdog driver only to SAME70 as
it only builds there right now.

Change-Id: I4a7c90247ad22532b2384ca536cfb0cbd65186f9
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 21:49:45 +00:00
Kumar Gala
9a6d066ce0 Merge "Merge arm branch into master" 2017-04-28 21:49:34 +00:00
David B. Kinder
1d36cfba90 doc: change gerrit references to github
We're moving the project code to GitHub folks, so change references
in the documentation from gerrit over to GitHub:
https://github.com/zephyrproject-rtos/zephyr

Change-Id: Ic491a62ed43fc799eb5698e92435cb6eb4d89394
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2017-04-28 21:21:06 +00:00
David B. Kinder
1be4d13b39 doc: remove listing of old documentation archives
Per Anas, remove references to the pre-1.5 release documentation
Archived content is still accessible if you know where it is:
https://www.zephyrproject.org/doc/1.3.0/  (for example)

Change-Id: Ia17c9ff04a76b86516f804794d6e3adb1cc2980d
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2017-04-28 21:14:18 +00:00
Kumar Gala
3d3adc8578 Merge arm branch into master
Main changes:

- Converted Nordic SoC & Boards to device tree
- Converted TI LM3S6965 SoC & QEMU Cortex M3 board to device tree
- Add support for TI CC3220 SF SoC & CC3220SF-LAUNCHXL board
- Add support for ST DISCO L475 IOT1 board
- Add support for NXP FRDM-KL25Z board
- Converted all dts to use 'current-speed' instead of 'baud-rate'
- Various code cleanups

----------------------------------------------------------------
Erwan Gouriou (12):
      ext: stm32cube: update stm32f1xx cube version
      dts: Align uart "baud-rate" property to device tree spec "current-speed"
      drivers: clock control: Provide LL based clock control for stm32f4 series
      drivers: dma_stm32f4x: make driver compatible with LL Clock Driver
      boards: stm32f4: Provide config for LL Clock control
      soc: stm32f4: Enable LL based clock control
      stm32f4: Clean references to stm32f4 specific clock control
      driver: uart: clock control code refactoring
      driver: clock control stm32: align f4 factor names on l4
      soc: stm32l4xx: add support for STM32L475XG
      board: Add support for board disco_l475_iot1
      boards: disco_l475_iot: Configuration for HTS221 sample

Florian Vaussard (2):
      arm: stm32f4: Reorder Kconfig options
      pinmux: stm32f4: Clean-up pinmux header

Gil Pitney (7):
      cc3200: Make use of mem.h file in soc dtsi file.
      cc3220sf: Add support for the TI CC3220SF SoC
      boards: Add support for the CC3220SF_LAUNCHXL board
      MAINTAINERS: Update maintainer for TI CC3220SF LaunchXL board
      cc3220sf: Update "baud-rate" dts property to "current-speed"
      cc3200: Set warning to deprecate board in Zephyr v1.8
      cc3220sf: Minor board documentation updates

Gustavo Denardin (1):
      arm: Support for new ARM board FRDM-KL25Z

Jon Medhurst (2):
      i2c: bitbang: Add library for software driven I2C
      i2c: i2c_gpio: Driver for software driven I2C using GPIO lines

Kumar Gala (13):
      serial: mcux: Shim driver for LPSCI UART on KL25Z
      arm: nxp: kl2x: Move to using UART_MCUX_LPSCI for UART0
      arm: ti: dts: fixup building CC3200 dts
      arm: soc: ti_lm3s6965: remove dead code
      arm: linker: remove unused linker sections
      arm: dts: nrf: Add Device Tree Support for nRF52832 SoC based boards
      arm: dts: nrf: Fixup nRF52840-QIAA SoC support for device tree
      arm: dts: nrf: Add Device Tree Support for nRF52840 SoC & boards
      arm: dts: nrf: Add Device Tree Support for nRF51822 SoC & boards
      arm: dts: nrf: Remove !HAS_DTS Kconfig bits
      serial: uart_stellaris: remove export of uart_stellaris_isr
      arm: dts: ti_lm3s6965: Add Device Tree Support
      arm: dts: ti_lm3s6965: Add device tree support for Stellaris UART

 .gitreview                                         |    1 +
 MAINTAINERS                                        |    2 +-
 .../nrf51/Kconfig.defconfig.nrf51822_QFAA          |    6 -
 .../nrf51/Kconfig.defconfig.nrf51822_QFAB          |    6 -
 .../nrf51/Kconfig.defconfig.nrf51822_QFAC          |    6 -
 .../soc/nordic_nrf5/nrf51/Kconfig.defconfig.series |   10 -
 .../nrf52/Kconfig.defconfig.nrf52832_QFAA          |    8 -
 .../nrf52/Kconfig.defconfig.nrf52840_QIAA          |    6 -
 .../soc/nordic_nrf5/nrf52/Kconfig.defconfig.series |   12 -
 arch/arm/soc/nxp_kinetis/Kconfig                   |    6 +
 .../soc/nxp_kinetis/kl2x/Kconfig.defconfig.mkl25z4 |    2 +-
 arch/arm/soc/nxp_kinetis/kl2x/Kconfig.soc          |    1 +
 arch/arm/soc/nxp_kinetis/kl2x/soc.c                |    6 +-
 .../soc/st_stm32/stm32f4/Kconfig.defconfig.series  |    2 +-
 arch/arm/soc/st_stm32/stm32f4/Kconfig.soc          |    6 +-
 arch/arm/soc/st_stm32/stm32f4/flash_registers.h    |  107 -
 arch/arm/soc/st_stm32/stm32f4/rcc_registers.h      |  159 -
 arch/arm/soc/st_stm32/stm32f4/soc.c                |    6 +
 arch/arm/soc/st_stm32/stm32f4/soc.h                |    7 +
 arch/arm/soc/st_stm32/stm32f4/soc_gpio.c           |    6 +-
 arch/arm/soc/st_stm32/stm32f4/soc_registers.h      |    1 -
 .../st_stm32/stm32l4/Kconfig.defconfig.stm32l475xg |   18 +
 arch/arm/soc/st_stm32/stm32l4/Kconfig.soc          |    4 +
 arch/arm/soc/ti_lm3s6965/Kconfig.defconfig         |   30 -
 arch/arm/soc/ti_lm3s6965/Makefile                  |    1 -
 arch/arm/soc/ti_lm3s6965/scp.c                     |   44 -
 arch/arm/soc/ti_lm3s6965/scp.h                     |  164 -
 arch/arm/soc/ti_lm3s6965/soc.h                     |   12 -
 .../cc32xx/Kconfig.defconfig.cc3220sf              |   43 +
 arch/arm/soc/ti_simplelink/cc32xx/Kconfig.soc      |   15 +
 arch/arm/soc/ti_simplelink/cc32xx/README           |   10 +-
 arch/arm/soc/ti_simplelink/cc32xx/soc.c            |    6 +-
 boards/arm/96b_carbon/96b_carbon_defconfig         |   23 +-
 boards/arm/96b_nitrogen/96b_nitrogen_defconfig     |    3 +
 .../arm/arduino_101_ble/arduino_101_ble_defconfig  |    3 +
 boards/arm/bbc_microbit/bbc_microbit_defconfig     |    3 +
 boards/arm/cc3200_launchxl/Kconfig.defconfig       |    3 +
 boards/arm/cc3220sf_launchxl/Kconfig.board         |    6 +
 boards/arm/cc3220sf_launchxl/Kconfig.defconfig     |    9 +
 boards/arm/cc3220sf_launchxl/Makefile              |    4 +
 boards/arm/cc3220sf_launchxl/board.h               |   25 +
 .../cc3220sf_launchxl/cc3220sf_launchxl_defconfig  |   28 +
 boards/arm/cc3220sf_launchxl/dbghdr.c              |   24 +
 .../cc3220sf_launchxl/doc/cc3220sf_launchxl.rst    |  222 +
 boards/arm/cc3220sf_launchxl/pinmux.c              |  121 +
 .../arm/cc3220sf_launchxl/support/CC3220SF.ccxml   |   14 +
 .../cc3220sf_launchxl/support/cc3220_xds110.cfg    |   45 +
 .../arm/cc3220sf_launchxl/support/gdbinit_xds110   |   16 +
 boards/arm/curie_ble/curie_ble_defconfig           |    3 +
 boards/arm/disco_l475_iot1/Kconfig.board           |   10 +
 boards/arm/disco_l475_iot1/Kconfig.defconfig       |   90 +
 boards/arm/disco_l475_iot1/Makefile                |    2 +
 boards/arm/disco_l475_iot1/board.h                 |   41 +
 .../arm/disco_l475_iot1/disco_l475_iot1_defconfig  |   58 +
 boards/arm/disco_l475_iot1/doc/disco_l475_iot1.rst |  245 +
 .../disco_l475_iot1/doc/img/disco_l475_iot1.jpg    |  Bin 0 -> 1471155 bytes
 boards/arm/frdm_kl25z/Kconfig.board                |   11 +
 boards/arm/frdm_kl25z/Kconfig.defconfig            |  108 +
 boards/arm/frdm_kl25z/Makefile                     |   10 +
 boards/arm/frdm_kl25z/board.h                      |   44 +
 boards/arm/frdm_kl25z/doc/frdm_kl25z.jpg           |  Bin 0 -> 15127 bytes
 boards/arm/frdm_kl25z/doc/frdm_kl25z.rst           |  173 +
 boards/arm/frdm_kl25z/frdm_kl25z_defconfig         |   12 +
 boards/arm/frdm_kl25z/pinmux.c                     |   70 +
 boards/arm/nrf51_blenano/nrf51_blenano_defconfig   |    3 +
 boards/arm/nrf51_pca10028/nrf51_pca10028_defconfig |    3 +
 .../nrf52840_pca10056/nrf52840_pca10056_defconfig  |    3 +
 boards/arm/nrf52_blenano2/nrf52_blenano2_defconfig |    3 +
 boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig |    3 +
 boards/arm/nucleo_f401re/nucleo_f401re_defconfig   |   24 +-
 boards/arm/nucleo_f411re/nucleo_f411re_defconfig   |   25 +-
 boards/arm/qemu_cortex_m3/qemu_cortex_m3_defconfig |    3 +-
 .../quark_se_c1000_ble_defconfig                   |    3 +
 drivers/clock_control/Kconfig                      |    2 -
 drivers/clock_control/Kconfig.stm32                |   46 +
 drivers/clock_control/Kconfig.stm32f4x             |  141 -
 drivers/clock_control/Makefile                     |    2 +-
 drivers/clock_control/stm32_ll_clock.c             |    9 +
 drivers/clock_control/stm32_ll_clock.h             |    1 +
 drivers/clock_control/stm32f3x_ll_clock.c          |    8 +
 drivers/clock_control/stm32f4x_clock.c             |  350 --
 drivers/clock_control/stm32f4x_ll_clock.c          |   52 +
 drivers/clock_control/stm32l4x_ll_clock.c          |    8 +
 drivers/dma/dma_stm32f4x.c                         |   11 +-
 drivers/gpio/gpio_stm32.c                          |   35 +-
 drivers/gpio/gpio_stm32.h                          |    6 +-
 drivers/i2c/Kconfig                                |    8 +
 drivers/i2c/Kconfig.gpio                           |  158 +
 drivers/i2c/Makefile                               |    2 +
 drivers/i2c/i2c_bitbang.c                          |  279 ++
 drivers/i2c/i2c_bitbang.h                          |   57 +
 drivers/i2c/i2c_gpio.c                             |  149 +
 drivers/pinmux/Makefile                            |    1 +
 .../pinmux/stm32/pinmux_board_disco_l475_iot1.c    |   64 +
 drivers/pinmux/stm32/pinmux_stm32.c                |   21 +-
 drivers/pinmux/stm32/pinmux_stm32f4.h              |   14 +-
 drivers/pwm/pwm_stm32.c                            |   43 +-
 drivers/pwm/pwm_stm32.h                            |    4 -
 drivers/serial/Kconfig                             |    2 +
 drivers/serial/Kconfig.mcux_lpsci                  |   32 +
 drivers/serial/Kconfig.stellaris                   |   48 -
 drivers/serial/Makefile                            |    1 +
 drivers/serial/uart_cc32xx.c                       |    2 +-
 drivers/serial/uart_mcux_lpsci.c                   |  308 ++
 drivers/serial/uart_stellaris.c                    |   34 +-
 drivers/serial/uart_stellaris.h                    |   16 -
 drivers/serial/uart_stm32.c                        |   21 +-
 drivers/serial/uart_stm32.h                        |    4 -
 dts/arm/96b_carbon.dts                             |    4 +-
 dts/arm/96b_carbon.fixup                           |    5 +-
 dts/arm/96b_nitrogen.dts                           |   26 +
 dts/arm/96b_nitrogen.fixup                         |    3 +
 dts/arm/Makefile                                   |   14 +
 dts/arm/arduino_101_ble.dts                        |   25 +
 dts/arm/arduino_101_ble.fixup                      |    3 +
 dts/arm/bbc_microbit.dts                           |   24 +
 dts/arm/bbc_microbit.fixup                         |    3 +
 dts/arm/cc3200_launchxl.dts                        |    5 +-
 dts/arm/cc3220sf_launchxl.dts                      |   23 +
 dts/arm/cc3220sf_launchxl.fixup                    |    1 +
 dts/arm/curie_ble.dts                              |   25 +
 dts/arm/curie_ble.fixup                            |    3 +
 dts/arm/disco_l475_iot1.dts                        |   24 +
 dts/arm/disco_l475_iot1.fixup                      |   32 +
 dts/arm/frdm_k64f.dts                              |    4 +-
 dts/arm/frdm_k64f.fixup                            |   12 +-
 dts/arm/frdm_kl25z.dts                             |   23 +
 dts/arm/frdm_kl25z.fixup                           |    1 +
 dts/arm/frdm_kw41z.dts                             |    1 +
 dts/arm/frdm_kw41z.fixup                           |    2 +-
 dts/arm/hexiwear_k64.dts                           |    4 +-
 dts/arm/hexiwear_k64.fixup                         |   12 +-
 dts/arm/hexiwear_kw40z.dts                         |    2 +-
 dts/arm/hexiwear_kw40z.fixup                       |    2 +-
 dts/arm/nordic/nrf51822.dtsi                       |   31 +
 dts/arm/nordic/nrf52840.dtsi                       |   38 +
 dts/arm/nrf51_blenano.dts                          |   25 +
 dts/arm/nrf51_blenano.fixup                        |    3 +
 dts/arm/nrf51_pca10028.dts                         |   25 +
 dts/arm/nrf51_pca10028.fixup                       |    3 +
 dts/arm/nrf52840_pca10056.dts                      |   26 +
 dts/arm/nrf52840_pca10056.fixup                    |    3 +
 dts/arm/nrf52_blenano2.dts                         |   26 +
 dts/arm/nrf52_blenano2.fixup                       |    3 +
 dts/arm/nrf52_pca10040.dts                         |   26 +
 dts/arm/nrf52_pca10040.fixup                       |    3 +
 dts/arm/nucleo_f103rb.dts                          |    2 +-
 dts/arm/nucleo_f103rb.fixup                        |    2 +-
 dts/arm/nucleo_f334r8.dts                          |    2 +-
 dts/arm/nucleo_f334r8.fixup                        |    2 +-
 dts/arm/nucleo_f401re.dts                          |    4 +-
 dts/arm/nucleo_f401re.fixup                        |    5 +-
 dts/arm/nucleo_f411re.dts                          |    4 +-
 dts/arm/nucleo_f411re.fixup                        |    5 +-
 dts/arm/nucleo_l476rg.dts                          |    2 +-
 dts/arm/nucleo_l476rg.fixup                        |   10 +-
 dts/arm/nxp/nxp_kl25z.dtsi                         |   32 +
 dts/arm/nxp/nxp_kw41z.dtsi                         |    1 -
 dts/arm/olimexino_stm32.dts                        |    2 +-
 dts/arm/olimexino_stm32.fixup                      |    6 +-
 dts/arm/qemu_cortex_m3.dts                         |   34 +
 dts/arm/qemu_cortex_m3.fixup                       |    1 +
 dts/arm/quark_se_c1000_ble.dts                     |   25 +
 dts/arm/quark_se_c1000_ble.fixup                   |    3 +
 dts/arm/st/mem.h                                   |    3 +
 dts/arm/st/stm32l475.dtsi                          |   59 +
 dts/arm/st/stm32l476.dtsi                          |   54 +-
 dts/arm/stm3210c_eval.dts                          |    2 +-
 dts/arm/stm3210c_eval.fixup                        |    2 +-
 dts/arm/stm32373c_eval.dts                         |    2 +-
 dts/arm/stm32373c_eval.fixup                       |    2 +-
 dts/arm/stm32_mini_a15.dts                         |    2 +-
 dts/arm/stm32_mini_a15.fixup                       |    2 +-
 dts/arm/ti/{cc32xx_launchxl.dtsi => cc32xx.dtsi}   |   15 +-
 dts/arm/ti/lm3s6965.dtsi                           |   45 +
 dts/arm/ti/mem.h                                   |   19 +
 dts/arm/v2m_beetle.dts                             |    4 +-
 dts/arm/v2m_beetle.fixup                           |    4 +-
 dts/arm/yaml/nxp,kinetis-lpsci.yaml                |   31 +
 dts/arm/yaml/ti,stellaris-uart.yaml                |   30 +
 dts/common/yaml/uart.yaml                          |    2 +-
 ext/hal/nxp/mcux/drivers/Makefile                  |    1 +
 ext/hal/st/stm32cube/Kbuild                        |    1 +
 ext/hal/st/stm32cube/stm32f1xx/README              |    6 +-
 .../drivers/include/Legacy/stm32_hal_legacy.h      |  254 +-
 .../drivers/include/stm32_assert_template.h        |   75 +
 .../stm32f1xx/drivers/include/stm32f1xx_hal.h      |   67 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_adc.h  |  148 +-
 .../drivers/include/stm32f1xx_hal_adc_ex.h         |  127 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_can.h  |  445 +-
 .../drivers/include/stm32f1xx_hal_can_ex.h         |   13 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_cec.h  |  325 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_conf.h |  144 +-
 .../drivers/include/stm32f1xx_hal_cortex.h         |  266 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_crc.h  |   14 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_dac.h  |   42 +-
 .../drivers/include/stm32f1xx_hal_dac_ex.h         |   20 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_def.h  |   54 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_dma.h  |  259 +-
 .../drivers/include/stm32f1xx_hal_dma_ex.h         |   51 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_eth.h  |  946 ++--
 .../drivers/include/stm32f1xx_hal_flash.h          |   40 +-
 .../drivers/include/stm32f1xx_hal_flash_ex.h       |  304 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_gpio.h |  178 +-
 .../drivers/include/stm32f1xx_hal_gpio_ex.h        |   85 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_hcd.h  |   22 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_i2c.h  |  600 +--
 .../stm32f1xx/drivers/include/stm32f1xx_hal_i2s.h  |  254 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_irda.h |  366 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_iwdg.h |  235 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_mmc.h  |  718 +++
 .../stm32f1xx/drivers/include/stm32f1xx_hal_nand.h |  249 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_nor.h  |   18 +-
 .../drivers/include/stm32f1xx_hal_pccard.h         |   29 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_pcd.h  |  120 +-
 .../drivers/include/stm32f1xx_hal_pcd_ex.h         |    4 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_pwr.h  |   20 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_rcc.h  |  494 +-
 .../drivers/include/stm32f1xx_hal_rcc_ex.h         |  152 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_rtc.h  |   52 +-
 .../drivers/include/stm32f1xx_hal_rtc_ex.h         |  104 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_sd.h   |  646 +--
 .../drivers/include/stm32f1xx_hal_smartcard.h      |  458 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_spi.h  |  483 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_sram.h |   14 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_tim.h  |  362 +-
 .../drivers/include/stm32f1xx_hal_tim_ex.h         |   47 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_uart.h |  504 ++-
 .../drivers/include/stm32f1xx_hal_usart.h          |  400 +-
 .../stm32f1xx/drivers/include/stm32f1xx_hal_wwdg.h |  177 +-
 .../stm32f1xx/drivers/include/stm32f1xx_ll_adc.h   | 3950 ++++++++++++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_bus.h   | 1033 +++++
 .../drivers/include/stm32f1xx_ll_cortex.h          |  658 +++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_crc.h   |  212 +
 .../stm32f1xx/drivers/include/stm32f1xx_ll_dac.h   | 1349 ++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_dma.h   | 1978 ++++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_exti.h  |  906 ++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_fsmc.h  |  812 ++--
 .../stm32f1xx/drivers/include/stm32f1xx_ll_gpio.h  | 2381 ++++++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_i2c.h   | 1802 ++++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_iwdg.h  |  329 ++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_pwr.h   |  458 ++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_rcc.h   | 2309 ++++++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_rtc.h   | 1021 +++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_sdmmc.h |  467 +-
 .../stm32f1xx/drivers/include/stm32f1xx_ll_spi.h   | 1922 ++++++++
 .../drivers/include/stm32f1xx_ll_system.h          |  592 +++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_tim.h   | 3837 ++++++++++++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_usart.h | 2589 +++++++++++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_usb.h   |    4 +-
 .../stm32f1xx/drivers/include/stm32f1xx_ll_utils.h |  284 ++
 .../stm32f1xx/drivers/include/stm32f1xx_ll_wwdg.h  |  342 ++
 .../stm32f1xx/drivers/src/stm32f1xx_hal.c          |  106 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_adc.c      |   52 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_adc_ex.c   |  104 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_can.c      |  988 ++--
 .../stm32f1xx/drivers/src/stm32f1xx_hal_cec.c      |  722 +--
 .../stm32f1xx/drivers/src/stm32f1xx_hal_cortex.c   |  199 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_crc.c      |   15 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_dac.c      |   12 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_dac_ex.c   |   16 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_dma.c      |  734 +--
 .../stm32f1xx/drivers/src/stm32f1xx_hal_eth.c      |  347 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_flash.c    |  170 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_flash_ex.c |   77 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_gpio.c     |  130 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_gpio_ex.c  |    4 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_hcd.c      |  125 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_i2c.c      | 4184 +++++++++++------
 .../stm32f1xx/drivers/src/stm32f1xx_hal_i2s.c      |  986 ++--
 .../stm32f1xx/drivers/src/stm32f1xx_hal_irda.c     | 1708 ++++---
 .../stm32f1xx/drivers/src/stm32f1xx_hal_iwdg.c     |  316 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_mmc.c      | 2598 +++++++++++
 .../drivers/src/stm32f1xx_hal_msp_template.c       |    4 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_nand.c     | 1075 ++++-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_nor.c      |   38 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_pccard.c   |   54 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_pcd.c      |  258 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_pcd_ex.c   |   30 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_pwr.c      |   33 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_rcc.c      |  109 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_rcc_ex.c   |  139 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_rtc.c      |  210 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_rtc_ex.c   |   31 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_sd.c       | 4762 +++++++++-----------
 .../drivers/src/stm32f1xx_hal_smartcard.c          | 1853 +++++---
 .../stm32f1xx/drivers/src/stm32f1xx_hal_spi.c      | 3632 +++++++++------
 .../stm32f1xx/drivers/src/stm32f1xx_hal_spi_ex.c   |   54 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_sram.c     |   16 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_tim.c      |  236 +-
 .../stm32f1xx/drivers/src/stm32f1xx_hal_tim_ex.c   |   46 +-
 .../stm32f1xx_hal_timebase_rtc_alarm_template.c    |  307 ++
 .../src/stm32f1xx_hal_timebase_tim_template.c      |  184 +
 .../stm32f1xx/drivers/src/stm32f1xx_hal_uart.c     | 1703 ++++---
 .../stm32f1xx/drivers/src/stm32f1xx_hal_usart.c    | 1265 ++++--
 .../stm32f1xx/drivers/src/stm32f1xx_hal_wwdg.c     |  390 +-
 .../stm32f1xx/drivers/src/stm32f1xx_ll_adc.c       |  903 ++++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_crc.c       |  126 +
 .../stm32f1xx/drivers/src/stm32f1xx_ll_dac.c       |  274 ++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_dma.c       |  331 ++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_exti.c      |  232 +
 .../stm32f1xx/drivers/src/stm32f1xx_ll_fsmc.c      |  362 +-
 .../stm32f1xx/drivers/src/stm32f1xx_ll_gpio.c      |  265 ++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_i2c.c       |  239 +
 .../stm32f1xx/drivers/src/stm32f1xx_ll_pwr.c       |  103 +
 .../stm32f1xx/drivers/src/stm32f1xx_ll_rcc.c       |  507 +++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_rtc.c       |  558 +++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_sdmmc.c     | 1184 ++++-
 .../stm32f1xx/drivers/src/stm32f1xx_ll_spi.c       |  562 +++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_tim.c       | 1216 +++++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_usart.c     |  451 ++
 .../stm32f1xx/drivers/src/stm32f1xx_ll_usb.c       |  167 +-
 .../stm32f1xx/drivers/src/stm32f1xx_ll_utils.c     |  623 +++
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f100xb.h   |  962 ++--
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f100xe.h   | 1032 ++---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f101x6.h   |  839 +---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f101xb.h   |  847 +---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f101xe.h   |  966 ++--
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f101xg.h   | 1045 ++---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f102x6.h   | 1187 ++---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f102xb.h   | 1191 ++---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f103x6.h   | 1215 ++---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f103xb.h   | 1235 ++---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f103xe.h   | 1348 ++----
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f103xg.h   | 1370 ++----
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f105xc.h   |  989 ++--
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f107xc.h   | 1135 ++---
 ext/hal/st/stm32cube/stm32f1xx/soc/stm32f1xx.h     |   12 +-
 .../st/stm32cube/stm32f1xx/soc/system_stm32f1xx.c  |  112 +-
 .../st/stm32cube/stm32f1xx/soc/system_stm32f1xx.h  |   10 +-
 include/arch/arm/cortex_m/scripts/linker.ld        |   35 +-
 .../drivers/clock_control/stm32_clock_control.h    |    2 -
 .../drivers/clock_control/stm32f4_clock_control.h  |  134 -
 include/section_tags.h                             |    1 -
 include/sections.h                                 |    2 -
 scripts/sanity_chk/arches/arm.ini                  |    3 +-
 tests/kernel/xip/testcase.ini                      |    2 +-
 337 files changed, 69436 insertions(+), 29054 deletions(-)
 delete mode 100644 arch/arm/soc/st_stm32/stm32f4/rcc_registers.h
 create mode 100644 arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l475xg
 delete mode 100644 arch/arm/soc/ti_lm3s6965/scp.c
 delete mode 100644 arch/arm/soc/ti_lm3s6965/scp.h
 create mode 100644 arch/arm/soc/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf
 create mode 100644 boards/arm/cc3220sf_launchxl/Kconfig.board
 create mode 100644 boards/arm/cc3220sf_launchxl/Kconfig.defconfig
 create mode 100644 boards/arm/cc3220sf_launchxl/Makefile
 create mode 100644 boards/arm/cc3220sf_launchxl/board.h
 create mode 100644 boards/arm/cc3220sf_launchxl/cc3220sf_launchxl_defconfig
 create mode 100644 boards/arm/cc3220sf_launchxl/dbghdr.c
 create mode 100644 boards/arm/cc3220sf_launchxl/doc/cc3220sf_launchxl.rst
 create mode 100644 boards/arm/cc3220sf_launchxl/pinmux.c
 create mode 100644 boards/arm/cc3220sf_launchxl/support/CC3220SF.ccxml
 create mode 100644 boards/arm/cc3220sf_launchxl/support/cc3220_xds110.cfg
 create mode 100644 boards/arm/cc3220sf_launchxl/support/gdbinit_xds110
 create mode 100644 boards/arm/disco_l475_iot1/Kconfig.board
 create mode 100644 boards/arm/disco_l475_iot1/Kconfig.defconfig
 create mode 100644 boards/arm/disco_l475_iot1/Makefile
 create mode 100644 boards/arm/disco_l475_iot1/board.h
 create mode 100644 boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig
 create mode 100644 boards/arm/disco_l475_iot1/doc/disco_l475_iot1.rst
 create mode 100644 boards/arm/disco_l475_iot1/doc/img/disco_l475_iot1.jpg
 create mode 100644 boards/arm/frdm_kl25z/Kconfig.board
 create mode 100644 boards/arm/frdm_kl25z/Kconfig.defconfig
 create mode 100644 boards/arm/frdm_kl25z/Makefile
 create mode 100644 boards/arm/frdm_kl25z/board.h
 create mode 100644 boards/arm/frdm_kl25z/doc/frdm_kl25z.jpg
 create mode 100644 boards/arm/frdm_kl25z/doc/frdm_kl25z.rst
 create mode 100644 boards/arm/frdm_kl25z/frdm_kl25z_defconfig
 create mode 100644 boards/arm/frdm_kl25z/pinmux.c
 delete mode 100644 drivers/clock_control/Kconfig.stm32f4x
 delete mode 100644 drivers/clock_control/stm32f4x_clock.c
 create mode 100644 drivers/clock_control/stm32f4x_ll_clock.c
 create mode 100644 drivers/i2c/Kconfig.gpio
 create mode 100644 drivers/i2c/i2c_bitbang.c
 create mode 100644 drivers/i2c/i2c_bitbang.h
 create mode 100644 drivers/i2c/i2c_gpio.c
 create mode 100644 drivers/pinmux/stm32/pinmux_board_disco_l475_iot1.c
 create mode 100644 drivers/serial/Kconfig.mcux_lpsci
 create mode 100644 drivers/serial/uart_mcux_lpsci.c
 delete mode 100644 drivers/serial/uart_stellaris.h
 create mode 100644 dts/arm/96b_nitrogen.dts
 create mode 100644 dts/arm/96b_nitrogen.fixup
 create mode 100644 dts/arm/arduino_101_ble.dts
 create mode 100644 dts/arm/arduino_101_ble.fixup
 create mode 100644 dts/arm/bbc_microbit.dts
 create mode 100644 dts/arm/bbc_microbit.fixup
 create mode 100644 dts/arm/cc3220sf_launchxl.dts
 create mode 100644 dts/arm/cc3220sf_launchxl.fixup
 create mode 100644 dts/arm/curie_ble.dts
 create mode 100644 dts/arm/curie_ble.fixup
 create mode 100644 dts/arm/disco_l475_iot1.dts
 create mode 100644 dts/arm/disco_l475_iot1.fixup
 create mode 100644 dts/arm/frdm_kl25z.dts
 create mode 100644 dts/arm/frdm_kl25z.fixup
 create mode 100644 dts/arm/nordic/nrf51822.dtsi
 create mode 100644 dts/arm/nordic/nrf52840.dtsi
 create mode 100644 dts/arm/nrf51_blenano.dts
 create mode 100644 dts/arm/nrf51_blenano.fixup
 create mode 100644 dts/arm/nrf51_pca10028.dts
 create mode 100644 dts/arm/nrf51_pca10028.fixup
 create mode 100644 dts/arm/nrf52840_pca10056.dts
 create mode 100644 dts/arm/nrf52840_pca10056.fixup
 create mode 100644 dts/arm/nrf52_blenano2.dts
 create mode 100644 dts/arm/nrf52_blenano2.fixup
 create mode 100644 dts/arm/nrf52_pca10040.dts
 create mode 100644 dts/arm/nrf52_pca10040.fixup
 create mode 100644 dts/arm/nxp/nxp_kl25z.dtsi
 create mode 100644 dts/arm/qemu_cortex_m3.dts
 create mode 100644 dts/arm/qemu_cortex_m3.fixup
 create mode 100644 dts/arm/quark_se_c1000_ble.dts
 create mode 100644 dts/arm/quark_se_c1000_ble.fixup
 create mode 100644 dts/arm/st/stm32l475.dtsi
 rename dts/arm/ti/{cc32xx_launchxl.dtsi => cc32xx.dtsi} (78%)
 create mode 100644 dts/arm/ti/lm3s6965.dtsi
 create mode 100644 dts/arm/ti/mem.h
 create mode 100644 dts/arm/yaml/nxp,kinetis-lpsci.yaml
 create mode 100644 dts/arm/yaml/ti,stellaris-uart.yaml
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32_assert_template.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_hal_mmc.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_adc.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_bus.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_cortex.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_crc.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_dac.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_dma.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_exti.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_gpio.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_i2c.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_iwdg.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_pwr.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_rcc.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_rtc.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_spi.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_system.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_tim.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_usart.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_utils.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/include/stm32f1xx_ll_wwdg.h
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_hal_mmc.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_hal_timebase_rtc_alarm_template.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_hal_timebase_tim_template.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_adc.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_crc.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_dac.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_dma.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_exti.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_gpio.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_i2c.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_pwr.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_rcc.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_rtc.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_spi.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_tim.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_usart.c
 create mode 100644 ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_ll_utils.c
 delete mode 100644 include/drivers/clock_control/stm32f4_clock_control.h

Change-Id: I0a465f75ff94c33373c03951b4d7468476bc3b41
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:39:05 -05:00
Kumar Gala
ac0bb050dd arm: dts: ti_lm3s6965: Add device tree support for Stellaris UART
Converted Stellaris UART driver over to utilize device tree generated
defines.  Added a yaml description for the uart, and converted over the
ti_lm3s6965 SoC & qemu_cortex_m3 board port over to utilize it.

Change-Id: Ie20844eb63d2c68eb59ad4160f7f5b5a35e2943b
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:40 -05:00
Kumar Gala
f6284cfbec arm: dts: ti_lm3s6965: Add Device Tree Support
Introduce a simple device tree for the TI lm3s6965 SoC and QEMU
Cortex-M3 board port.  We get flash and memory base addresses and sizes
from the device tree as well as the ARM NVIC number of priority bits.

Change-Id: I4452b5543de7be55518997e54837ccbfd4f121df
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:40 -05:00
Kumar Gala
749e02f6ea serial: uart_stellaris: remove export of uart_stellaris_isr
There isn't any reason to export the uart_stellaris_isr function, so
lets make it static and remove the associated header file.

Change-Id: I3a131b584d9d6fb6279a1503512668a71510dd4d
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:40 -05:00
Erwan Gouriou
3df9fd1ff0 boards: disco_l475_iot: Configuration for HTS221 sample
As disco_l475_iot1 is default board for HTS221 sample
application, provide default boards settings to get
application functional once it is delivered.

Change-Id: Ie4957538db679d076713550c1555954a6a20d3e2
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:40 -05:00
Jon Medhurst
5b04bd9aa4 i2c: i2c_gpio: Driver for software driven I2C using GPIO lines
This driver implements an I2C interface by driving two GPIO lines under
software control.

Change-Id: Ie49cc67aed6acb30086ee851041fe2470da241cf
Signed-off-by: Jon Medhurst <tixy@linaro.org>
2017-04-28 15:26:40 -05:00
Jon Medhurst
0818564753 i2c: bitbang: Add library for software driven I2C
This library implements the I2C single master protocol in software.
It supports the Standard-mode and Fast-mode speeds and doesn't support
optional protocol feature like 10-bit addresses or clock stretching.

Change-Id: I375d572a83714522421f2967dc414b3bec169e95
Signed-off-by: Jon Medhurst <tixy@linaro.org>
2017-04-28 15:26:39 -05:00
Florian Vaussard
392803e4cc pinmux: stm32f4: Clean-up pinmux header
Clean-up the pinmux header as a preparatory work before adding more
pinmuxes.

This is achieved by the following two actions:
- Reorder the defines by increasing GPIO order to make it
  easier to add more pinmux over time while avoiding a huge mess
- Use tabs to align

Change-Id: I07d9ae28f61287748d33dcf638dcbf2e6865517b
Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
2017-04-28 15:26:39 -05:00
Florian Vaussard
45dde7eb3f arm: stm32f4: Reorder Kconfig options
Reorder config entries alphabetically to make it easier to add new ones.

Change-Id: Ib118405a150a408638232513fba7198b458ecfa7
Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
2017-04-28 15:26:39 -05:00
Kumar Gala
a22e5924b5 arm: dts: nrf: Remove !HAS_DTS Kconfig bits
Now that all the nRF based board/SoCs have device trees, we can remove
the Kconfig bits that are now coming from device tree.

Change-Id: Ia1a870a50582d4109070d2833660f58fd6f8691f
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:39 -05:00
Kumar Gala
ca3c7ec0a9 arm: dts: nrf: Add Device Tree Support for nRF51822 SoC & boards
Add device tree support for nRF51822 SoCs and Arduino 101-BLE,
Curie-BLE, BLE Nano, PCA10028-DK, and Quark-SE BLE boards. This
is minimal support for memory, flash, and UART.

Change-Id: I7e572bea537e384b6d66e520462f023ace0c9b35
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:39 -05:00
Kumar Gala
b09f63ac54 arm: dts: nrf: Add Device Tree Support for nRF52840 SoC & boards
Add device tree support for nRF52840 SoC and PCA10056-DK board.  This
is minimal support for memory, flash, and UART.

For the nRF52840 we select between "nordic,nrf-uarte", "nordic,nrf-uart"
support for each board.

Change-Id: I1c377e0cb97ff4716ea5489fffaa7c0e2b34d18a
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:39 -05:00
Kumar Gala
9b30a9b308 arm: dts: nrf: Fixup nRF52840-QIAA SoC support for device tree
Fixup the nRF52840-QIAA to allow getting its SRAM & FLASH sizes from
device tree.

Change-Id: I67ecd7da5f0472402064f158030d9f97f49d7d20
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:39 -05:00
Kumar Gala
54b800f31e arm: dts: nrf: Add Device Tree Support for nRF52832 SoC based boards
Add device tree support for Nitrogen 96board, BLE Nano 2, and
nRF52-PCA10040 DK boards.  This is minimal support for memory, flash,
and UART.

For the nRF52832 we select between "nordic,nrf-uarte", "nordic,nrf-uart"
support for each board.

Change-Id: Ia247b9b710a72416e9ab0de3ca1429bfab8917f8
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:39 -05:00
Erwan Gouriou
2e20577554 board: Add support for board disco_l475_iot1
This commit provides support for disco_l475_iot1 board
Pinmux driver is provided with initial support definitions

Change-Id: I17b637a8ba0b033014969eca8fffe76319c47c52
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:39 -05:00
Kumar Gala
ed70ea7108 arm: linker: remove unused linker sections
We don't use __scs or __scp anymore so we can remove the related linker
script and various defines and such associated with them.

Change-Id: Ibbbe27c23a3f2b816b992dfdeb4f80cf798e0d40
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:39 -05:00
Kumar Gala
62b0750499 arm: soc: ti_lm3s6965: remove dead code
Nothing calls _ScpMainOscEnable, so lets remove it and associated files
that aren't used anymore.

Change-Id: Ibe900d039c531c4da56baa673d309ee961b09e52
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:38 -05:00
Gustavo Denardin
94abb1f7fb arm: Support for new ARM board FRDM-KL25Z
In order to allow the use of such board, a very preliminar port was
developed. It consists of board files, as well as pinmux, uart, gpio,
spi drivers and device tree files.

Change-Id: I5753064e39e0b023cf4481744c176de26d8dbebb
Signed-off-by: Gustavo Denardin <gustavo.denardin@gmail.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:38 -05:00
Kumar Gala
567b733e76 arm: ti: dts: fixup building CC3200 dts
The CC3200 doesn't have on chip flash, so we should be including it in
the dts.

Change-Id: I8d4bbe2b09ed1aa563efe4c979da1f4729b93534
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:38 -05:00
Kumar Gala
62d2d362ac arm: nxp: kl2x: Move to using UART_MCUX_LPSCI for UART0
Cleanup soc code to enable UART_MCUX_LPSCI to support UART0.

Change-Id: I173febffcffc902f228946124e0434f122a67607
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:38 -05:00
Kumar Gala
ed467a695a serial: mcux: Shim driver for LPSCI UART on KL25Z
Adds a shim layer around the mcux lpsci driver to adapt it to the Zephyr
serial interface.

Change-Id: I024f1605e3194f34bb57e8a121900e05b3085a82
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:26:38 -05:00
Erwan Gouriou
eee56a7c10 soc: stm32l4xx: add support for STM32L475XG
Add support for STM32L475xG SoC as a preliminary for
Discovery IOT board support.
stm32l476.dtsi file is now including stm32l475.dtsi
since STM32L476 SoC is a STM32L475 SoC with LCD support

Change-Id: I7567255e4172231cbf4899474617ecae0cd68d64
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:38 -05:00
Erwan Gouriou
288a9c145d driver: clock control stm32: align f4 factor names on l4
This commits align CONFIG_ factor names between stm32f4 and stm32l4
series to enable code factorization such as use of Q_DIVISOR.
Though, it does not concatenate kconfig sections as we might use
a bit of time to see what is needed in this regard

Change-Id: Ia603406d53949abf5675b801a5448397d5ab8462
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:37 -05:00
Erwan Gouriou
424c33825c driver: uart: clock control code refactoring
Small code refactorisation in order to ease up coming
support of stm32f1 series by stm32 commom clock control
driver

Change-Id: I486cfba137cd048d65f0732e10aa29d877bb03e5
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:11 -05:00
Erwan Gouriou
242ed389a3 stm32f4: Clean references to stm32f4 specific clock control
Following activation of stm32 common clock driver for stm32f4 series
remove references to stm32f4 specific driver.

Change-Id: I372a0ea046007bcb34944d6b2b8880077583b1d3
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:11 -05:00
Erwan Gouriou
80b7bec12c soc: stm32f4: Enable LL based clock control
This commit disables native stm32f4x clock control
driver and enables stm32 LL clock control driver
for stm32f4 family

Jira: ZEP-2039

Change-Id: I98ba6c89c4a3a1f39658c5808cd47a2d1f344130
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:11 -05:00
Erwan Gouriou
d3951673e4 boards: stm32f4: Provide config for LL Clock control
This commit provides CONFIG_ definitions to support
LL based clock driver on stm32f4 boards:
96b_carbon
nucleo_f401re
nucleo_f411re
This commit sticks to clock configurations previously defined.
Two changes to notice:
-HSE clock value should now be defined
-Prescaler values required as "1" should now be set to "1" instead
of "0".

Change-Id: I003bd226f198217d5e266e11fe37094773c1c62c
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:26:06 -05:00
Erwan Gouriou
9e558fc05a drivers: dma_stm32f4x: make driver compatible with LL Clock Driver
Following update of LL clock driver to suport F4 series,
update dma driver to support LL clock driver API.

Change-Id: Ic8ecfe4f33109204f3b5f8c22bcb9c41de81531d
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:06:41 -05:00
Erwan Gouriou
fda01e52c2 drivers: clock control: Provide LL based clock control for stm32f4 series
This commit enables STM32Cube LL based driver for stm32f4 series.
This generic driver provides a unified API to clock driver for all
stm32 series.
LL API allows driver to be lightweight and to keep genericity across
stm32 family to ease further devlopment and maintenance.

Change-Id: Ie31ae8f433313787f9c9eda77de41925721d54dd
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:06:41 -05:00
Gil Pitney
f3361797e3 cc3220sf: Minor board documentation updates
Added some review changes suggested by TI-er Bill Mills.

Jira: ZEP-1958

Change-Id: I892f22a5740ae7ae4dc949bc72de366e0e85d03c
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:41 -05:00
Gil Pitney
b2b965d3e9 cc3200: Set warning to deprecate board in Zephyr v1.8
This board is being replaced by the CC3220SF LaunchXL,
which has essentially the same peripheral map, 256Kb
of SRAM, but in addition has 1Mb of on-chip secure flash.

Jira: ZEP-1958

Change-Id: I80629474cab9ce41bce3903213f5c9f148cc138a
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:41 -05:00
Gil Pitney
98cdbc4e32 cc3220sf: Update "baud-rate" dts property to "current-speed"
This to align with previous patch:
"dts: Align uart "baud-rate" property to device tree spec "current-speed""

Jira: ZEP-1958

Change-Id: I65328cf63e25b0378f270b5f60deb9d6a1f49b8c
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:41 -05:00
Gil Pitney
a3e8a850f7 MAINTAINERS: Update maintainer for TI CC3220SF LaunchXL board
This replaces the cc3220s_launchxl board with the cc3220sf_launchxl
board directory.

Jira: ZEP-1958

Change-Id: I550061319d458d6ba694dbf26082f14666dd150e
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:41 -05:00
Gil Pitney
70040f0e11 boards: Add support for the CC3220SF_LAUNCHXL board
CC3220SF_LAUNCHXL effectively replaces the CC3200_LAUNCHXL,
with support for the CC3220SF SoC, which is an update for
the CC3200 SoC.

This is supported by the Texas Instruments CC3220 SDK.

Jira: ZEP-1958

Change-Id: I2484d3ee87b7f909c783597d95128f2b45db36f2
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:41 -05:00
Gil Pitney
c73a1eb806 cc3220sf: Add support for the TI CC3220SF SoC
The CC3220SF is a replacement for the CC3200 SoC, comprising
a network coprocessor and Cortex-M4 MPU.

This leverages the CC3220 SDK driver peripheral library in ROM,
and some files built from ext/hal/ti/.

Jira: ZEP-1958

Change-Id: I892b212c178e05d84ff1d716dde593ced653ae6d
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:41 -05:00
Erwan Gouriou
9bd2a42d60 dts: Align uart "baud-rate" property to device tree spec "current-speed"
Devicetree.org specifies that serial devices property used to set
baud rate is "current-speed", while zephyr uses "baud-rate".
Align property name in order to keep zephyr dts files compatible
with device tree specification and could be re-used from/to
Linux for instance.  We also cleanup a few SoCs that set "baud-rate" in
the SoC dts and not the board.

Jira: ZEP-2048

Change-Id: I097e7439ee46fe77c628b56531772950382fafcc
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-28 15:06:40 -05:00
Gil Pitney
de20a6558a cc3200: Make use of mem.h file in soc dtsi file.
This in preparation for adding a cc3220sf DTS file, which
has a different address for sram0 than the cc3200.

Also moved baud-rate out of soc dtsi file to board dts.

Jira: JEP-1958

Change-Id: I641452c0a8a6d1ad4424e132d6ef2de71d8545b4
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:40 -05:00
Erwan Gouriou
af6ca469e8 ext: stm32cube: update stm32f1xx cube version
Update Cube version for STM32F1XX family
from version: V1.14.0
to version: V1.15.0

Add support for Low Level API on stm32f1 family

Change-Id: I8cb5fe2fd94be3a320e863c7b5ed59e4c2312e87
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2017-04-28 15:06:40 -05:00
Christer Weinigel
cc93aceb83 usb: cdc_acm: Use 2 instead of 4 for IN BULK endpoint
The highest endpoint number supported by the STM32F4xx USB device
controller is 3.  Change the cdc_acm driver to use endpoint 2
instead of endpoint 4 so that it will work with this platform.

Change-Id: I4a3cd08f546a7fe01558528de0990156f642d93b
Signed-off-by: Christer Weinigel <christer@weinigel.se>
2017-04-28 18:48:58 +00:00
David B. Kinder
f338a16dee doc: fix broken link in nordic-segger board doc
Change-Id: If39d1b015bc0313b37fcfd00be0489ee259126ef
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2017-04-28 16:00:47 +00:00
Mazen NEIFER
51eb081311 xtensa port: Fixed crash on interrupt handlers when logger is enabled.
This fixes ZEP-1955. The issue was that the interrupt stack frame only
allocates 4 registers. This means that if any window overflow happens,
only 4 registers can be saved. This implies that the interrupt handler
can not call functions other than using call4. If this rule is not
honored, then it will result in the registers being overwriting other
context information and thus a stack corruption.

The fix consists on using call4 for calling even t logger function,
which is by the way more optimal as the interrupt handler does not need
to save more than 4 registers when these functions are called.

Issue: ZEP-1955

Change-Id: Iacea626443d1d61d95a52253ac8ff15fc3722d2c
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
2017-04-28 15:49:01 +00:00
Jessica Wagantall
2bbaa13533 doc: Updating installation instructions
The installation instructions for Ubuntu 16.04
needed to be updated to use the correct packages
rt:40021

Change-Id: Ia6bfb66b7d24dda2556b76a495988eea20037607
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-04-28 15:32:44 +00:00