Commit Graph

5825 Commits

Author SHA1 Message Date
pnb
badc0c2215 Merge remote-tracking branch 'upstream/master' 2015-12-22 13:29:31 +01:00
pnb
0ef3dc81aa Merge branch 'master' of bitbucket.org:pnb990/nuttx-kernel-arch 2015-12-22 13:28:39 +01:00
pnb
7d244d4d04 Revert "add timer capture STM32"
This reverts commit 7a484f4d7665c533998d6893c21b69340038b5fc.
2015-12-22 13:27:42 +01:00
pnb
764c9ea887 Revert "used DEFINE instead of setcapturecfg function to set filter and prescaler of input capture"
This reverts commit 08600d05eb12cb4f62280766b7f780e8eaa2284b.
2015-12-22 13:27:35 +01:00
pnb
573462e355 Revert "continue capture integration"
This reverts commit c0b6ba73d59dc973d6984bce12ff4a20d870de2a.
2015-12-22 13:27:00 +01:00
pnb
406bc5e67e continue capture 2015-12-22 13:26:22 +01:00
Gregory Nutt
3e4fb7a60d Merged in paulpatience/nuttx-arch/stm32_adc (pull request #42)
STM32 ADC: Add DMA support for STM32F30xxx
2015-12-22 05:45:10 -06:00
pnb
f88e62c8e9 continue capture 2015-12-22 12:21:03 +01:00
Paul A. Patience
754a4ddb98 STM32 ADC: Add DMA support for STM32F30xxx 2015-12-22 03:42:37 -05:00
Gregory Nutt
d7af5b234c Fix an error in pre-processor condition 2015-12-21 21:36:34 -06:00
Gregory Nutt
860a2fc786 TMS570: Add interrupt decode logic 2015-12-21 12:17:26 -06:00
Gregory Nutt
092c681157 TMS570: Add a little more IRQ/FIQ logic 2015-12-21 10:57:01 -06:00
Lok Tep
74c4f4636a adc initerrupts 2015-12-21 17:23:07 +01:00
Gregory Nutt
caad954b01 TMS570: Add VIM header file 2015-12-21 07:40:27 -06:00
Gregory Nutt
010a73d3b6 TMS570: A little more selftest structure 2015-12-20 17:55:21 -06:00
Gregory Nutt
a2fb50d812 TMS570: Add a framework that will eventually support self-test 2015-12-20 11:51:36 -06:00
Gregory Nutt
2629053bbe TMS570: Add pin multiplexing logic 2015-12-20 10:14:51 -06:00
pnb
510dc7872d Merge remote-tracking branch 'upstream/master' 2015-12-20 13:00:17 +01:00
pnb
2f78c0c1bc continue capture integration 2015-12-20 12:54:21 +01:00
Gregory Nutt
b69c91a8a8 TMS570: Add empty, stub interrupt initialization logic 2015-12-19 19:06:30 -06:00
Gregory Nutt
63d5032d3b TMS4570: Was not building arm_head.S or up_allocateheap.c; ARMv7-R: Fix variious problems not that arm_head.S is being built 2015-12-19 18:56:23 -06:00
Gregory Nutt
4d99e2b0e6 TMS570: Add FLASH wait state configuration 2015-12-19 16:33:39 -06:00
Gregory Nutt
c9c473997c TMS570: Add ECLK setup 2015-12-19 15:56:00 -06:00
Gregory Nutt
d7595446bf TMS570: More clock configuration logic 2015-12-19 13:15:26 -06:00
Gregory Nutt
2bd1be6c96 TMS570: Use values from TI OTP to set LPO trim value 2015-12-19 11:40:38 -06:00
Gregory Nutt
fac00f04d0 TMS570: Add a FLASH controller header file 2015-12-19 09:01:24 -06:00
Gregory Nutt
1ddabf9ff1 TMS570: Add peripheral initialization logic 2015-12-19 08:10:21 -06:00
Gregory Nutt
3a6aa75d15 TMS570: Initial PBIST register definitions 2015-12-18 20:36:06 -06:00
Gregory Nutt
834c2baf40 TMS570: Add SCI header file 2015-12-18 19:52:08 -06:00
Gregory Nutt
727f0f47d6 Merged in paulpatience/nuttx-arch/stm32_pwm (pull request #40)
STM32 PWM: Fix timer type bug
2015-12-18 18:47:41 -06:00
Gregory Nutt
50205b4342 TMS570: Add some basic PLL configuration logic 2015-12-18 18:24:53 -06:00
Gregory Nutt
aa524024d0 Add a few more TMS570 SYS register bit definitions 2015-12-18 11:15:16 -06:00
Gregory Nutt
0403132800 TMS570: Add selftest configuration option; Add a few more SYS register definitions 2015-12-18 09:09:58 -06:00
Gregory Nutt
d4b7bf59d0 TMS570: More start-up logic 2015-12-18 08:57:29 -06:00
Gregory Nutt
f55ff3a3c5 TMS570: Add PBIST header file 2015-12-18 06:55:43 -06:00
Gregory Nutt
e7b48d264b TMS570: Separate SYS register definitions into SYS, STS2, and PCR 2015-12-18 06:39:19 -06:00
Gregory Nutt
1ff36b19e8 TMS570: Misc, minor updates 2015-12-17 15:31:58 -06:00
Gregory Nutt
0405ac92a2 TMS570: Add SYS register definitions (incomplete) 2015-12-17 15:30:54 -06:00
Gregory Nutt
4bdc22d7e2 TMS570: Eliminate some warnings 2015-12-17 12:57:48 -06:00
Gregory Nutt
0f7f364865 TMS570: Correct a few problems introduced in previous commits 2015-12-17 12:52:15 -06:00
Gregory Nutt
6baccab3ae Need to select MEMINIT if TMS570 selected 2015-12-17 12:40:24 -06:00
Gregory Nutt
3f964ab20c SR4 is the same as SR1-3 2015-12-17 12:28:45 -06:00
Gregory Nutt
add1754dcc TMS570: Add ESM header file 2015-12-17 12:17:48 -06:00
Gregory Nutt
cd0baf490f Fix Kconfig: BOOT_SDRAM_DATA, not CONFIG_BOOT_SDRAM_DATA 2015-12-17 10:50:53 -06:00
Gregory Nutt
c251fd7756 ARMv7-R: Add a configuration to support delayed memory initialization. This logic was already in place for SDRAM but is also required for some ECC memories as well. 2015-12-17 10:49:56 -06:00
Gregory Nutt
9364824a53 ARMv7-R: Add logic to work-around errata, remove logic to access VBAR since this is no VBAR and add logic to access PMCR. TMS570: Add logic to set debug bits in PMCR 2015-12-17 09:34:38 -06:00
pnb
e25bc48d01 used DEFINE instead of setcapturecfg function to set filter and prescaler of input capture 2015-12-16 23:42:43 +01:00
pnb
701c386299 add timer capture STM32 2015-12-16 21:39:51 +01:00
Gregory Nutt
5794675247 TMS570: Memory map applies only to LS04x and LS03x. Peripheral numbering seems to start with 1, not 0 2015-12-16 14:10:45 -06:00
Gregory Nutt
9f9cb00104 TMS570: Remove some garbage left in Kconfig file 2015-12-16 12:46:42 -06:00
Gregory Nutt
f310887bb9 TMS570: Add memory map and peripheral selection logic 2015-12-16 11:06:14 -06:00
Gregory Nutt
521ae00387 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-16 09:03:55 -06:00
Gregory Nutt
bacf7cf07e ARMv7-R: fix some issues to get a clean compilation; TMS570: Add enough logic to support a minimum build. Not much there on the initial commit 2015-12-16 09:03:14 -06:00
Gregory Nutt
aa1e67ffe7 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-15 17:16:02 -06:00
Gregory Nutt
8cabb844ab TMS570: Hook into build/configuration system 2015-12-15 17:15:37 -06:00
Gregory Nutt
1cd73ec861 Merged in paulpatience/nuttx-arch/stm32_qencoder (pull request #41)
STM32 QEncoder: Add support for STM32F30xxx
2015-12-15 14:13:44 -06:00
Gregory Nutt
a6e035baeb TMS570: Add arch/arm/include/tms570 header files 2015-12-15 13:41:12 -06:00
Paul A. Patience
377d29f1a1 STM32 QEncoder: Add support for STM32F30xxx 2015-12-15 12:13:37 -05:00
Gregory Nutt
26883fc7b9 Merged in paulpatience/nuttx-arch/stm32_tim (pull request #39)
STM32 TIM: Remove some warnings, fix timer resolution bug and cosmetic changes
2015-12-14 16:59:51 -06:00
Gregory Nutt
8fb76cf970 TMS570: Add a place holder for the TMS570. Not much there yet 2015-12-14 16:38:05 -06:00
Paul A. Patience
b7e8e1fb99 STM32 TIM: Remove some warnings, fix timer resolution bug and cosmetic changes 2015-12-14 17:24:11 -05:00
Paul A. Patience
7274084540 STM32 PWM: Fix timer type bug 2015-12-14 17:21:55 -05:00
Gregory Nutt
c1933a0814 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 15:44:12 -06:00
Gregory Nutt
1169ff6dbd MPU: Add support for separated vs. unified MPU 2015-12-14 15:41:18 -06:00
Gregory Nutt
b3502af042 ARMv7-M: Add MPU support 2015-12-14 15:38:58 -06:00
Gregory Nutt
290e5058ea Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 13:58:08 -06:00
Gregory Nutt
dfec6a0dd0 Rename CONFIG_ARMV7M_MPU to CONFIG_ARM_MPU so that we can reuse the configuration settings for the ARMV7R MPU 2015-12-14 13:56:21 -06:00
Gregory Nutt
09f79919b5 ARMv7-R: Review/update CPSR bit definitions 2015-12-14 13:19:22 -06:00
Gregory Nutt
3f5d4fc136 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 13:04:47 -06:00
Gregory Nutt
1f05f49e66 ARMv7-A: Update some co-processor register naming 2015-12-14 13:04:03 -06:00
Gregory Nutt
39cace15a1 Update CP15 access macros 2015-12-14 13:02:54 -06:00
Gregory Nutt
7475712d87 ARMv7-R: Review/update cache operations 2015-12-14 12:32:32 -06:00
Gregory Nutt
c1e14b0a6b Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 11:57:10 -06:00
Gregory Nutt
6e9aa0a1d7 ARMv7-A/M: Cosmetic changes 2015-12-14 11:56:39 -06:00
Gregory Nutt
b9feaf13b0 Update ARMv7-R system control register definitions from TRM 2015-12-14 11:54:58 -06:00
Gregory Nutt
cbc2f226c0 Merged in paulpatience/nuttx-arch/stm32_pinmap (pull request #38)
STM32: Fix typos in pinmaps
2015-12-14 08:59:47 -06:00
Gregory Nutt
b7024fd202 Merged in paulpatience/nuttx-arch/stm32f30xxx_pinmap (pull request #37)
STM32: Fix typos in STM32F30xxx pinmap
2015-12-14 08:58:34 -06:00
Gregory Nutt
67604e661f Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 08:43:29 -06:00
Gregory Nutt
edecfc2dac ARMv7-A: Cosmetic changes 2015-12-14 08:42:39 -06:00
Paul A. Patience
89da1f27dd STM32: Fix typos in pinmaps 2015-12-14 09:41:49 -05:00
Gregory Nutt
5585f44b7e Add initial support for ARMv7-R architecture. Initial commit is largely a clone of ARMv7-A and needs further review 2015-12-14 08:40:38 -06:00
Paul A. Patience
7589e940b6 STM32: Fix typos in STM32F30xxx pinmap 2015-12-14 09:36:28 -05:00
Gregory Nutt
cd8d37f46b Eliminate a warning 2015-12-12 11:37:25 -06:00
Gregory Nutt
412c7c83a1 Forgot to add a file in the last commit 2015-12-12 09:37:01 -06:00
Gregory Nutt
daea1e614b All architectures need to build ELF support if either CONFIG_ELF or CONFIG_MODULE are selected. Cortex-M7 also must support module cache corherence 2015-12-12 09:35:05 -06:00
Gregory Nutt
ead6656a35 SAMV7 USBHS device: Beef up test for data sent in DMA complete interrupt handler 2015-12-11 08:28:49 -06:00
Gregory Nutt
cb5c221ce7 Update a few comments 2015-12-10 06:32:27 -06:00
Gregory Nutt
a0594ec60e SAMV7 USBHS device: Last change fixed certain problems and introduced some new ones. Here is an untested fix to address all known problems 2015-12-09 14:19:14 -06:00
Gregory Nutt
c26a624a9f SAMA5: Backport some USB device ZLP logic from the SAMV7 2015-12-08 17:36:46 -06:00
Gregory Nutt
9135afa8c1 SAMV7 USBHS device: End of DMA is too soon to process ZLP. Wait for TXINI 2015-12-08 13:21:43 -06:00
Gregory Nutt
cd7c22bbd4 SAMV7: Trivial correcto to last USBHS device change when using huge request buffers 2015-12-08 11:10:16 -06:00
Gregory Nutt
19520b5c2c SAMV7 USBHS device: Fix check if zero lenght packet is needed 2015-12-08 10:11:44 -06:00
Lok Tep
1481537f8c config B option, reverted 2015-12-08 09:27:23 +01:00
Lok Tep
6c872c3162 ssp in pin buffer fix 2015-12-07 23:13:14 +01:00
Lok Tep
8ddb2a6a2a ssp buffer check fix 2015-12-07 23:12:57 +01:00
Lok Tep
264fbc1ecc CONFIG_I2C_RESET dummy function 2015-12-07 23:12:40 +01:00
Gregory Nutt
927b1dcc1f Initialize the telnet factory as part of the common architecture intialization 2015-12-07 11:40:29 -06:00
Gregory Nutt
8df99623aa SAMV7: For to add RSWDT driver before committing 2015-12-06 16:41:10 -06:00
Gregory Nutt
6a9876f960 SAMV7: Add an untested RSWDT driver 2015-12-06 09:56:45 -06:00
Gregory Nutt
8f55ec5c69 SAMV7: Port the WDT driver from the SAMA5 to the SAMV7 2015-12-06 09:29:51 -06:00
Gregory Nutt
347bb86045 SAMV7: Port SAMAD5 TRNG driver to the SAMV7 2015-12-06 08:53:31 -06:00
Gregory Nutt
3afc0799ad Eliminate a warning 2015-12-05 10:35:11 -06:00
Gregory Nutt
52601d9da8 SAMV7: Add support for PCK6 as a timer/counter clock source 2015-12-04 10:49:20 -06:00
Lok Tep
82c865e2b0 init global interrupt in timer mode 2015-12-04 10:23:29 +01:00
Gregory Nutt
9d769f6056 SAMV7: Extend programmable clock support for queries about the PCK configuration 2015-12-03 14:11:39 -06:00
Gregory Nutt
8c4302f75d Bring programmable clock logic from SAMA5 to SAMV7 2015-12-03 10:22:11 -06:00
Gregory Nutt
1399e00166 SAMV7: Fix some issues with lost timer/counter interrupts 2015-12-02 18:09:23 -06:00
Gregory Nutt
2300273a07 SAMV7 TC: Some trivial improvements 2015-12-02 15:53:51 -06:00
Gregory Nutt
9a54702d99 SAMV7: Revise timer driver. SAMA5 has one pid/interrupt per timer/counter; SAMV7 has a pid/interrupt per channel 2015-12-02 14:09:34 -06:00
Gregory Nutt
192772b7ee SAMV7: Add support for CONFIG_SCHED_TICKLESS_LIMIT_MAX_SLEEP 2015-12-02 09:21:34 -06:00
Gregory Nutt
3ce3dbc6ed SAMV7: Ported tickless logic from the SAMA5/SAM4CM to the SAMV7 2015-12-02 08:26:33 -06:00
Gregory Nutt
02c57c22f8 SAMA5: Misc clean from review while porting some logic to the SAMV7 2015-12-02 08:25:23 -06:00
Gregory Nutt
bda05b312e SAMV7: Port the SAMA5 timer/counter driver to the SAMV7 2015-12-02 07:18:25 -06:00
Gregory Nutt
975ea3e677 SAMA5: Fix a typo in timer/counter setup 2015-12-02 07:17:17 -06:00
Lok Tep
f02d3808a3 compile spifi with vpath 2015-12-02 12:51:45 +01:00
Gregory Nutt
6734c91a05 SAMV7 USB: Add some warnings to avoid certain bad configuration selections 2015-12-02 05:30:10 -06:00
Gregory Nutt
754aace61b STM32: CCM procfs more typos 2015-12-01 16:28:14 -06:00
Gregory Nutt
bc74aa322b STM32: Fix a couple of typos in STM32 CCM procfs 2015-12-01 16:20:51 -06:00
Lok Tep
fd74d0b625 spifi 2015-12-01 23:09:31 +01:00
Gregory Nutt
1f82dda9d8 Clean up some naming 2015-12-01 15:04:12 -06:00
Gregory Nutt
548ba1640f STM32: CCM procfs is no longer a part of the 'base' procfs entries and can now only be supported via run time registration with CONFIG_FS_PROCFS_REGISTER=y 2015-12-01 14:55:05 -06:00
Lok Tep
9a527ad3ed adc: timer mode 2015-12-01 14:53:52 +01:00
Gregory Nutt
7037f13c2d Trivial cosmetic change from review 2015-11-30 18:01:26 -06:00
Wail Khemir
fd8db7ad38 Change prescaler dynamically to support bigger periods on 16 bits timers 2015-11-30 18:52:05 -05:00
Gregory Nutt
5367c5993c SAMV7: Add some conditional logic to handle the case where the board has no 32.768KHz crystal installed 2015-11-30 15:21:25 -06:00
Gregory Nutt
e421258808 Move sim/src/up_appinit.c to configs/sim/src where it really belongs 2015-11-29 13:54:03 -06:00
Gregory Nutt
4d2299896e SAMV7: Add support to network device statistics to the Ethernet driver 2015-11-27 12:30:15 -06:00
Gregory Nutt
8ce454a584 Remove some warnings; eliminate unused variables 2015-11-26 12:46:53 -06:00
Gregory Nutt
e5e631e57f include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics. 2015-11-26 12:07:18 -06:00
Gregory Nutt
2afd4595e4 Re-think how __KERNEL__ option is set in architecture Makefiles. Should be passed in EXTRADEFINES 2015-11-26 06:59:35 -06:00
Gregory Nutt
22b4932a4f __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 18:06:56 -06:00
Gregory Nutt
4aa3dcb51a __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 18:05:36 -06:00
Gregory Nutt
f4e8f84887 __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 17:52:14 -06:00
Gregory Nutt
14d7ede265 All instances of up_initialize() should call loop_register() is CONFIG_DEV_LOOP=y 2015-11-25 17:10:41 -06:00
Lok Tep
dd4ef7b2e9 rename to offset 2015-11-25 21:07:14 +01:00
Lok Tep
70ab09976a setup out with data
ep 5-6
fixex
2015-11-25 21:07:00 +01:00
Gregory Nutt
b1e17d8892 Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked 2015-11-25 12:51:07 -06:00
Ken Pettit
641ca79321 arch/sim/src: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit 2015-11-25 08:36:44 -06:00
Gregory Nutt
d7c5ff98f4 Fix a typo 2015-11-23 18:55:38 +00:00
Gregory Nutt
edb1439d8f Last change introduced warnings when CONFIG_SIM_M32=y; This fixes those warnings too 2015-11-23 12:44:59 -06:00
Gregory Nutt
076b05b460 In Kconfig of all CPUs with 16-bit address, force CONFIG_MM_SMALL=y 2015-11-23 12:16:35 -06:00
Gregory Nutt
9f98dfecb7 sim: Eliminate a warning 2015-11-23 11:59:33 -06:00
Gregory Nutt
30834721df Trivial changes for compliance with coding standard 2015-11-20 17:53:03 -06:00
Wail Khemir
702368fce4 Small bug fix for stm32 lower half timer driver 2015-11-20 18:16:39 -05:00
Gregory Nutt
25a2e17347 Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces 2015-11-20 08:27:04 -06:00
Gregory Nutt
25e54726a3 STM32: Fix a build error detected by tools/testbuil.sh: The STM32L does not define UID address 2015-11-18 14:33:27 -06:00
Ken Pettit
992d7d1e85 arch/sim/src/up_spiflash.c: Add support for W25 FLASH simulation. From Ken Petit 2015-11-18 07:08:38 -06:00
Gregory Nutt
a6d6c430d9 Changes to last merge from review for compliance to coding standards 2015-11-17 21:10:17 -06:00
Marwan Ragab
4999c14085 Added implementation to get 96-bit stm32 unique id 2015-11-17 21:34:41 -05:00
Gregory Nutt
a8ab72f97a Fix some stylistic issues found by tools/nxstyle 2015-11-17 17:31:38 -06:00
Gregory Nutt
3c84aa3b5f (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:53:21 -06:00
Wail Khemir
9451b09d3a Added a lower-half timer driver for stm32 which is compatible with the upper-half driver located at /drivers/timers/timer.c 2015-11-17 16:57:02 -05:00
Lok Tep
5d689fedcf spifi regs 2015-11-17 18:02:08 +01:00
Gregory Nutt
88ebcc895b Fix some spacing problems found by tools/nxstyle.c 2015-11-15 10:47:42 -06:00
Gregory Nutt
bd384d93eb SAMV7 MCAN: Cosmetic change 2015-11-15 08:38:27 -06:00
Lok Tep
0d1ba69ba8 Merge remote-tracking branch 'origin/master' 2015-11-15 12:55:21 +01:00
Lok Tep
386939c8af roght ram bank 2015-11-15 12:52:57 +01:00
Gregory Nutt
82b6c8aed7 Add SAME70 to arm/arch/src/samv7/Kconfig 2015-11-14 13:35:24 -06:00
Gregory Nutt
39362feee0 arch/arm/src/samv7: Add pin configuratinos for SAME70. Not all verified. I assume that the SAME70 pin mapping is identical to the SAMV71 minus MediaLB pins 2015-11-14 12:14:27 -06:00
Gregory Nutt
58615a4e69 arch/arm/src/samv7: Add SAME70 memory map 2015-11-14 12:01:28 -06:00
Gregory Nutt
38a3d24706 arch/arm/src/samv7: Add support for SAME70 peripheral clocks 2015-11-14 11:41:53 -06:00
Gregory Nutt
0add2b8910 arch/arm/include/samv7: Add support for the SAME70 family 2015-11-14 11:36:21 -06:00
Gregory Nutt
ba57b5bdc0 SAMV7 FLASH: Fix a cache error, fix an address comparison 2015-11-13 11:32:06 -06:00
Gregory Nutt
a1e9a07c7a SAMV7 progmem: Debug fixes from intial testing 2015-11-13 09:18:26 -06:00
Gregory Nutt
4ecf9b5bec SAMV7 FLASH driver now at least compiles 2015-11-12 12:26:53 -06:00
Gregory Nutt
1593cd7149 SAMV7 flash logic is complete, uncompiled, and untested 2015-11-12 10:46:59 -06:00
Gregory Nutt
78153004ee SAMV7: Don't call can_txdone with the device locked. This can lead to deadlocks on subsequent actions from the upper half can driver 2015-11-12 07:58:09 -06:00
Frank Benkert
54cff3c5ae SAMV7 MCAN: Remove forcing of transfer complete interrupt 2015-11-12 07:35:01 -06:00
Gregory Nutt
b05fb671ff Trivial simplification to logic of last commit 2015-11-11 15:17:36 -06:00
Gregory Nutt
003e022ce9 SAMV7 QSPI: Check if data to be transferred is unaligned; If unaligned, don't use DMA 2015-11-11 14:29:28 -06:00
Paul A. Patience
52454cf79b Fix typo 2015-11-11 13:06:15 -05:00
Gregory Nutt
3964b4ac57 SAMV7: Add framework for on-chip FLASH access 2015-11-11 10:07:41 -06:00
Gregory Nutt
11e89f5a7b Cosmetic changes from code review 2015-11-11 07:41:51 -06:00
Gregory Nutt
518b4b14b2 Merged in petekol/arch (pull request #31)
forgotten changes
2015-11-11 07:38:38 -06:00
Gregory Nutt
50b96b3f50 Review of previous commit for coding style. Tickless RIT logic still does not follow naming conventions or file format rules 2015-11-11 07:36:41 -06:00
Lok Tep
485d317401 forgotten changes 2015-11-11 14:22:22 +01:00
Lok Tep
3e33d18cac Merge remote-tracking branch 'origin/master' 2015-11-11 13:48:53 +01:00
Lok Tep
67c5d07e83 usb/ssp initialization corrected 2015-11-11 13:47:21 +01:00
Lok Tep
f4d06f512f Merged nuttx/arch into master 2015-11-11 13:40:09 +01:00
Gregory Nutt
45549cb2e2 Change some debug output to verbose 2015-11-10 12:15:22 -06:00
Gregory Nutt
d95da886f3 Cosmetic changes to comments 2015-11-10 11:31:00 -06:00
Lok Tep
5eff3a202b Merge remote-tracking branch 'origin/master' 2015-11-09 23:47:33 +01:00
Lok Tep
b654a6f467 alarm 2015-11-09 21:01:32 +01:00
Gregory Nutt
f080b43b80 SAMV7 QSPI: Improved debug output 2015-11-09 13:32:58 -06:00
Lok Tep
3b4c71ef8d more revert 2015-11-09 14:51:00 +01:00
Lok Tep
a8416d2a26 revert 2015-11-09 14:41:08 +01:00
Lok Tep
1f8c0fdcdb timer base name difference 2015-11-09 14:34:59 +01:00
Lok Tep
7d386866af Merged nuttx/arch into master 2015-11-09 14:24:41 +01:00
Gregory Nutt
612ebdeabd Kconfig: Set default number of MPU regions to 16 for Cortex-M7 2015-11-08 06:59:35 -06:00
Gregory Nutt
352d2a1d02 SAMV7 XDMAC: Don't sample interrupt status registers in debug mode. This can cause loss of interrupts 2015-11-07 11:25:20 -06:00
Gregory Nutt
dd69967934 SAMV7 protected mode: Don't enable D-Cache until userspace data has been initialized 2015-11-07 09:35:23 -06:00
Gregory Nutt
2e99311fb4 SAMV7 QSPI: DMA transfer width should be 32- not 16-bits 2015-11-07 09:34:40 -06:00
Gregory Nutt
7b3c0ac7bc ARMv7-M: Cosmetic fixes to some file headers 2015-11-06 13:37:37 -06:00
Gregory Nutt
b4b0dde792 SAMV7 QSPI: Back out some kludges that are no longer necessary 2015-11-06 13:02:45 -06:00
Gregory Nutt
17c8cbceaf SAMV7 QSPI: Rounding up buffer length for memcpy style transfer is un-necessary 2015-11-06 12:59:40 -06:00
Gregory Nutt
553ba1a682 SAMV7 QSPI: When QSPI is enabled, make the QSPI memory strongly ordered 2015-11-06 12:10:15 -06:00
Gregory Nutt
771095e25f ARMv7-M: Add MPU support for strongly couple memory regions 2015-11-06 11:50:57 -06:00
Gregory Nutt
1c79e77811 ARMv7-M: Minor naming change to improve readability 2015-11-06 11:24:52 -06:00
Gregory Nutt
4371b756df SAMV7: Add MPU and protected build support 2015-11-06 11:12:28 -06:00
Gregory Nutt
dff502d99b SAMV7 QSPI: Costmetic changes 2015-11-05 15:03:53 -06:00
Gregory Nutt
e866cdd6f1 Fix missed closing comment in last commit 2015-11-05 10:43:49 -06:00
Gregory Nutt
68ae17a8a7 SAMV7 QSPI: Various kludges added during debug of QSPI. I am not if any of these are really correct 2015-11-05 10:32:13 -06:00
Gregory Nutt
f49e862db5 Merged in paulpatience/nuttx-arch/stm32_adc (pull request #29)
STM32 ADC: Add support for STM32F30xxx
2015-11-05 09:28:34 -06:00
Paul A. Patience
7d793bb99b STM32 ADC: Add support for STM32F30xxx 2015-11-05 10:13:58 -05:00
Frank Benkert
9cbbfe7e59 SAMV7 MCAN: Fix receipt of RTR requests. From Frank Benkert 2015-11-04 08:03:27 -06:00
Gregory Nutt
1299160d1d SAMV71-XULT: Add call to can_txready() to MCAN driver. This is part of a fix to a CAN hang problem 2015-11-03 10:47:37 -06:00
Lok Tep
24f1155d76 compile fixes 2015-11-02 23:34:32 +01:00
Gregory Nutt
c90876ff9c SAMV7: Add configuration support (only) for use of USART as SPI 2015-11-02 13:58:19 -06:00
Lok Tep
30cea64430 fixes 2015-11-02 17:41:03 +01:00
Gregory Nutt
f6d7da24a7 SAM4CM should advertise that it supports Tickless operation in Kconfig 2015-11-02 06:39:24 -06:00
Gregory Nutt
96cee3709a Merged in paulpatience/nuttx-arch/stm32_pwm (pull request #28) 2015-11-01 16:51:32 -06:00
Lok Tep
08224b8606 after debug 2015-11-01 23:11:37 +01:00
Paul A. Patience
4c2c989838 STM32 PWM: Add support for multiple output channels 2015-11-01 17:11:35 -05:00
Gregory Nutt
79df561669 Rename board_led_off to board_autoled_off 2015-11-01 09:09:36 -06:00
Gregory Nutt
b28e32e3d3 Rename board_led_on to board_autoled_on 2015-11-01 09:07:06 -06:00
Gregory Nutt
9db4b4ca7e Rename board_led_initialize to board_autoled_initiaize 2015-11-01 09:01:59 -06:00
pnb
d1b4d55343 pwm duty can by zero 2015-11-01 14:45:12 +01:00
Gregory Nutt
d6d834be5b Merged in pnb990/nuttx-kernel-arch/upstream_master (pull request #25)
avoid warning unsused function when GPIO_TIMxCHxOUT declared in board and CONFIG_STM32_TIMx not enable but an other CONFIG_STM32_TIMx is enabled
2015-10-31 09:07:28 -06:00
pnb
0090cfe6d4 Change name of HAVE_TIMx_PWM_OUTPUT into HAVE_TIMx_GPIOCONFIG 2015-10-31 16:00:24 +01:00
pnb
668c56b1a6 avoid warning unsused function when GPIO_TIMxCHxOUT declared in board and CONFIG_STM32_TIMx not enable but an other CONFIG_STM32_TIMx is enabled 2015-10-31 15:42:00 +01:00
v01d
79fad2843a lpc4337: WIP 2015-10-30 20:15:18 -03:00
Lok Tep
3a4b0e12a1 tickless 2015-10-30 17:37:40 +01:00
Gregory Nutt
22ea50464f Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32_qencoder (pull request #23)
Enhance STM32 QEncoder driver with configurable input filters
2015-10-22 18:28:22 +08:00
Gregory Nutt
e3d44ace60 Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32f429_pinmap (pull request #22)
Add missing pin definitions on STM32F429, specifically pins available on STM32F429N chip
2015-10-22 18:26:53 +08:00
Gregory Nutt
04705d14df Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32f373_exti (pull request #21)
Add EXTI definitions for STM32F373
2015-10-22 18:21:45 +08:00
Gregory Nutt
2b078150e8 Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32f429n (pull request #20)
Add support for STM32F429N (TFBGA) chip
2015-10-22 18:19:52 +08:00
Gregory Nutt
c87c50df14 Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32_PLLSAI (pull request #19)
Fix setup of PLLSAI in STM32F4xx.
2015-10-22 18:17:21 +08:00
Lok Tep
b91fbed6a6 address 7->8 2015-10-21 17:35:52 +02:00
Marten Svanfeldt
3299a31b27 Enhance STM32 QEncoder driver with configurable input filters
Current driver applies a fixed filter of f_sample=f_dts/4, N=6. This can
potentially be insufficient in noisy environments, or too slow for really
fast encoder sources, so let the user set it from the Kconfig file

Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 11:06:01 +08:00
Marten Svanfeldt
fdb484f24e Add missing pin definitions on STM32F429, specifically pins available on STM32F429N chip
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:56:36 +08:00
Marten Svanfeldt
d1c7e5b5fb Fix setup of PLLSAI in STM32F4xx.
To correctly setup the PLLSAI register it is required to first mask out
the old PLL divisor and multiplier factors before setting new ones

Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:33:39 +08:00
Marten Svanfeldt
4d879a33ee Add support for STM32F429N (TFBGA) chip
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:30:57 +08:00
Marten Svanfeldt
54b333dcd3 Add EXTI definitions for STM32F373
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:22:41 +08:00
Frank Benkert
4ac10f53d7 Reconfigure System I/O when using USART1 2015-10-20 05:58:34 +08:00
Frank Benkert
78669f20f2 SAMV7 MCAN: ix switched assertion check for TSEG1 and TSEG2 in CANIOC_SET_BITTIMING 2015-10-18 08:14:10 +08:00
Gregory Nutt
c340185cb3 arch/sim: Fix spacing/alignment issues 2015-10-14 07:14:28 -06:00
Gregory Nutt
4a46a872bd arch/mips: fix some spacing and alignment issues 2015-10-12 08:18:03 -06:00
Paul A. Patience
08175bef58 STM32 PWM: Add ifdef for STM32F30XX 2015-10-09 17:20:42 -04:00
Gregory Nutt
a326b79b25 Merged in paulpatience/nuttx-arch (pull request #17)
STM32: Fix some incorrect configurations in Kconfig file
2015-10-09 14:13:02 -06:00
Paul A. Patience
253e112b4a STM32: Fix some incorrect configurations in Kconfig file 2015-10-09 13:47:22 -04:00
Max Kriegler
a20a61caef STM32 F4: Correct pin mapping for TIM12 Channel 2 2015-10-09 10:32:46 -06:00
Gregory Nutt
d90f597a05 More spacing/alignment issues 2015-10-08 19:31:58 -06:00
Gregory Nutt
ef5f3dcff4 SAM3/4 RTC: Fix a bungled change from a recent commit 2015-10-08 19:21:35 -06:00
Lok Tep
5983019a45 merge from nuttx 2015-10-08 22:57:34 +02:00
Gregory Nutt
beb060d422 Yet more spacing issues 2015-10-07 20:24:19 -06:00
Gregory Nutt
a92842906f STM32: Fix a search-and-replace error in previous commit 2015-10-07 19:58:05 -06:00
Gregory Nutt
a73d266469 AVR: Fix some spacing issues 2015-10-07 16:24:54 -06:00
Gregory Nutt
20d87b38de Tiva: Fix some cosmetic spacing issues 2015-10-07 15:57:49 -06:00
Gregory Nutt
4f2119b3f4 STR7: Correct some spacing issues 2015-10-07 14:22:01 -06:00
Gregory Nutt
7dbfae87ec STM32 F7: Correct some spacing issues 2015-10-07 13:58:11 -06:00