Commit Graph

11756 Commits

Author SHA1 Message Date
Gregory Nutt
65bd5472c5 arch/arm/src/stm32/stm32_dfumode.c: Add comments. Current implementation only works for STM32F2 and F4. 2019-03-21 14:29:32 -06:00
Gregory Nutt
2b52379dd6 arch/arm/src/stm32/stm32_dfumode.c: Minor improvements. 2019-03-21 14:21:59 -06:00
Bill Gatliff
d2dac21929 arch/arm/src/stm32/stm32_dfumode.c: Add logic to reboot the STM32 in DFU mode. 2019-03-21 12:06:59 -06:00
Valmantas Paliksa
f88597203d arch/arm/src/stm32f7/stm32_qspi.c: Fix QuadSPI priority constants. 2019-03-21 07:21:57 -06:00
Gregory Nutt
842d3dc4e5 Rename sched_alarm_expiration to nxsched_alarm_expiration. That is the appropriate name for an internal sched/ function (still many named incorrectly). 2019-03-20 19:34:23 -06:00
Gregory Nutt
9acb652e29 Rename sched_timer_expiration to nxsched_timer_expiration. That is the appropriate name for an internal sched/ function (still many named incorrectly). 2019-03-20 19:31:43 -06:00
Gregory Nutt
b290160b3b Rename sched_process_timer to nxsched_process_timer. That is the appropriate name for an internal sched/ function (still many named incorrectly). 2019-03-20 19:27:40 -06:00
Gregory Nutt
c34ea0d3bc arch/arm/src/armv7-a/arm_addrenv_utils.c: Fix a new cache interface related warning. 2019-03-20 17:20:56 -06:00
Gregory Nutt
daa6461ce2 arch/ and configs/: Fix more errors related to cache interface changes. 2019-03-20 14:45:44 -06:00
Gregory Nutt
3c27f133fd arch/arm/src/stm32f7/stm32_qspi.c: Grr.. Its been a long day. Correct name of header file barriers.h. 2019-03-20 13:55:52 -06:00
Gregory Nutt
05dab30e84 arch/arm/src/stm32f7/stm32_qspi.c: Fix a warning about ARM_DSB() being implicitly defined. 2019-03-20 13:53:34 -06:00
Gregory Nutt
609b7f8229 arch/arm/src/stm32f7/stm32_qspi.c: Fix a warning about QSPI_DMA_PRIO being redefined. 2019-03-20 13:44:12 -06:00
Mateusz Szafoni
c134072e05 arch/arm/src/armv7-m/up_ramvec_initialize.c: Correct bad NVIC_VECTAB_TBLOFF_MASK definitions in previous commit. Were missing bits in the mask. Raised DEBUGASSERT in armv7-m/up_ramvec_initialize.c line: 144. 2019-03-20 10:52:45 -06:00
Gregory Nutt
d7851cf38d arch/arm/src/stm32f7/stm32_qspi.c: Update for new universal cache conrols. 2019-03-20 09:49:26 -06:00
Gregory Nutt
b174373faa arch/arm/src/stm32/stm32_allocateheap.c: Change 'if CONFIG_STM32_HAVE_CCM' to 'ifdef CONFIG_STM32_HAVE_CCM' to avoid a warning when CONFIG_STM32_HAVE_CCM is not defined. 2019-03-20 08:28:34 -06:00
Gregory Nutt
33d711166e arch/arm/src/armv7-a/Toolchain.defs: Correct conditional logic. Was mixing C preprocess and Makefile semantics. 2019-03-20 08:17:38 -06:00
Valmantas Paliksa
6e886de2ec arch/arm/src/stm32f7/stm32_qspi.c: Added stm32f7 Quad SPI support. 2019-03-20 07:19:47 -06:00
Valmantas Paliksa
5645cb5e51 arch/arm/src/stm32f7/stm32_can.c: Fix bittiming calculation. 2019-03-20 06:51:48 -06:00
Valmantas Paliksa
91bb1f0b9f arch/arm/src/stm32f7: Add ITM syslog support. 2019-03-20 06:46:53 -06:00
Valmantas Paliksa
8443f088da arch/arm/src/stm32f7/stm32_can.c: Add CAN driver with support for three bxCAN interfaces. 2019-03-20 06:43:39 -06:00
Valmantas Paliksa
d09dc74488 arch/arm/src/stm32f7/stm32_tim_lowerhalf.c: Add timer lowerhalf driver for stm32f7. 2019-03-20 06:31:20 -06:00
Valmantas Paliksa
72d8aa5b7b arch/arm/src/stm32f7/stm32_tim.c: dd OUTTOGGLE mode for STM32f7 timer 2019-03-20 06:23:35 -06:00
Gregory Nutt
006c48692f arch/arm/src/armv7-a/arm_scu.c: Another place where universal cached control change bork a compile due to missing ARM_DSB() definition. 2019-03-19 16:56:04 -06:00
Gregory Nutt
c8ffde6647 arch/arm: Fix more errors resulting from universal cache interfaces. The old cache-specific head file also provided a sneak way to include other necessary header files. With the old cache.h removed, those files all fail to build. 2019-03-19 14:13:45 -06:00
Gregory Nutt
aed32d35fa Fix typo in last commit found in build testing. 2019-03-19 13:26:46 -06:00
Gregory Nutt
c1beda8a34 ARMv7-A/R: Add barriers.h header file for consistency with ARMv7-M. 2019-03-19 13:20:23 -06:00
Gregory Nutt
348a03287d arch/arm: The last big change that unified the cache interfaces had a bad side-effect: It also removed the memory barrier definitions that were also in the removed architecture-specific cache.h header files. Fixed by adding a new barriers.h header file that provides these definitions. 2019-03-19 13:12:19 -06:00
zhangyuan7
471a18ee4d arch/arm: Add the initial cortex-a7 archtiecture support 2019-03-19 11:51:29 -06:00
Xiang Xiao
cc1595f232 arm/armv7-a: Add mmu_l1_map_regions() to remove the code duplication. 2019-03-19 11:30:37 -06:00
Xiang Xiao
75a97657be arch/arm/src/armv7-a/sctlr.h: Add SCR bit definitions. 2019-03-19 11:22:44 -06:00
liuzhuang
517f391267 arch/arm/src/armv7-a/arm_gicv2.c: Don't use GIC_ICDDCR_ENABLEGRP1 for NONSECURE since this bit doesn't exist in this mode. 2019-03-19 11:20:45 -06:00
Xiang Xiao
7e9a060202 arch/arm/src/armv7-a: Fix assemble error when including gic.h 2019-03-19 11:19:09 -06:00
zhangyuan7
f36ce38991 arch/arm/src/armv7-a/arm_head.S: add weak attribute to arm_data_initialize so platform could provide the new implemenation as needed. 2019-03-19 11:16:52 -06:00
zhangyuan7
2bc3eddb79 arch/arm/src/armv7-a: Guard some assembly files if configuration not selected. 2019-03-19 11:15:21 -06:00
zhangyuan7
c59dabe41c arch/arm/src/armv7-a: Remove inclusion pg_macros.h for armv7-a since this header file does not exist. 2019-03-19 11:13:27 -06:00
zhangyuan7
3d171340db arch/arm/armv7-a: Support thumb mode and fix interworking issue. 2019-03-19 11:10:41 -06:00
Xiang Xiao
032c7f1ec9 arch/armv7-m: Make the default NVIC_VECTAB_TBLOFF_MASK safer. The base address of the new vector table must be aligned to the size of the vector table extended to the next larger power of 2. 2019-03-19 10:43:32 -06:00
Xiang Xiao
64252a298f arch/: Unify the cache interface for all architectures 2019-03-19 10:37:13 -06:00
Xiang Xiao
2f208fdde8 arch/Kconfig: Move FPU options to a common place and unify the usage by removing ARCH_CORTEXRxF. 2019-03-19 10:26:15 -06:00
Gregory Nutt
18d52ecee2 app/graphics/nxbe/nxbe_setsize.c: Fix backward source/destination in memcpy() in new per-window framebuffer logic. 2019-03-16 17:37:29 -06:00
Gregory Nutt
56c7b65094 configs/open1788/pwfb: Add an example for testing per-window frame buffers. arch/arm/src/lpc17xx: Add a configuration option to skip over the framebuffer when adding DRAM to the heap. graphics: Early fixes from testing per-window framebuffer. Still lots of problems. 2019-03-16 12:31:29 -06:00
Bilal Wasim
1690f2ca8b arch/arm/src/armv7-a/mmu.h: pdating the cp15_wrttb and cp15_wrdacr functions to use inline assembly in the correct way. The incorrect method was generating errors as ARMv7-a expects the MCR/MRC instructions to provide registers as an argument(MRC p15, 0, <Rt>, c2, c0, 0) and the code was providing a constant value(and hence the build error). 2019-03-14 17:14:56 -06:00
Gregory Nutt
e780ee3a08 include/nuttx/nx/nxmu.h: Remove prototype of non-existent function. 2019-03-13 08:23:02 -06:00
Levin Li
1389d90a70 arch/arm/src/nrf52: 1. added RNG device driver 2. added errdata to correct temp which will be used by RNG module 3. use general task_trigger / event_clear inline api for all driver. 2019-03-13 07:21:29 -06:00
Gregory Nutt
82b276a34c binfmt/nxflat.c: Trivial design simplification. 2019-03-12 10:09:03 -06:00
Levin Li
043df95d8d arch/arm/include/nrf52/ and arch/arm/src/nrf52: 1. Added 52840 family support 2. Use common irq and memory layout header file for 52832 & 52840. 2019-03-12 09:43:49 -06:00
raiden00pl
0a7f7642c0 Merged in raiden00/nuttx_h7 (pull request #839)
arch/arm/src/stm32h7: initial support for protected build mode. Not functional yet. It compiles without errors and passes initialization but after entering the user app strange things happen.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-03-11 16:43:13 +00:00
Kejun ZHOU
f33ed3c8c0 *Merged in zhoukejun/nuttx_nucleo-f767zi (pull request #838)
Add three patches  about STM32 intherupts and network loopback files

* Add the missing macro STM32_IRQ_NIRQS used by ./arch/arm/src/stm32f7/stm32_irq.c

    Signed-off-by: Kejun ZHOU <zhoukejun@outlook.com>

* The struct in_addr doesn't have the member sin_addr.

    Signed-off-by: Kejun ZHOU <zhoukejun@outlook.com>

* The function lib_lo_ipv6match() is for IPv6.
    Correct the function it calls from lib_lo_ipv4matchto() to lib_lo_ipv6match().
    Also add CONFIG_NET_IPv6 for configuration.

    Signed-off-by: Kejun ZHOU <zhoukejun@outlook.com>
2019-03-11 03:44:57 +00:00
Johannes
c56ea62f3c arch/arm/src/imxrt/imxrt_clockconfig.c: If SDRAM is actived it was only running at 40MHz. This was becaus imxrt_clockconfig.c changed the SEMC clock divider after the DCD was configured. This commit corrects that. 2019-03-10 07:25:45 -06:00
raiden00pl
2caf135d05 Merged in raiden00/nuttx_h7 (pull request #837)
Initial OTG support for STM32H7 and some minor improvements

arch/arm/src/stm32h7/stm32h7x3xx_rcc.c: add support for HSI48 clock

configs/nucleo-f207zg: add support for USB and initialize CDCACM if configured

configs/nucleo-h743zi: add support for USB and initialize CDCACM if configured

drivers/usbdev/Kconfig: fix type for USBDEV_TRACE_INITIALIDSET

configs/teensy-3.x/usbnsh/defconfig: update config according to change in USBDEV_TRACE_INITIALIDSET

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-03-10 13:24:58 +00:00