Commit Graph

4855 Commits

Author SHA1 Message Date
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
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
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
4aa3dcb51a __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 18:05:36 -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
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
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
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
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
Gregory Nutt
53f6fd6e66 STM32: Correct some spacing issues 2015-10-07 13:45:15 -06:00
Gregory Nutt
b6638315a4 Correct some spacing issues 2015-10-07 11:39:06 -06:00
Gregory Nutt
90b7cdcdaf LPC11: Make some spacing comply better with coding standard 2015-10-06 19:23:32 -06:00
Gregory Nutt
d0d62668e7 Make some spacing comply better with coding standard 2015-10-06 18:32:16 -06:00
Gregory Nutt
fc3ed64864 Make some spacing comply better with coding standard 2015-10-06 17:28:32 -06:00
Gregory Nutt
281c6cc704 Make some spacing comply better with coding standard 2015-10-06 16:24:03 -06:00
Gregory Nutt
0ca999e119 Make some spacing comply better with coding standard 2015-10-06 16:23:32 -06:00
Lederhilger Martin
a9c8458458 STM32 PWM: Add logic to handle writes to 32-bit registers properly 2015-10-06 07:29:37 -06:00
Gregory Nutt
2ab66a015b Cosmetic fixes to C coding style 2015-10-05 17:28:26 -06:00
Gregory Nutt
3fdd914203 Costmetic fixes to C coding style 2015-10-05 17:13:53 -06:00
Gregory Nutt
7a63e976ad Remove TABs 2015-10-04 16:00:42 -06:00
Gregory Nutt
aaa697ec83 Remove dangling whitespace 2015-10-04 15:27:17 -06:00
Gregory Nutt
6fc6d17760 Fix some spacing problems 2015-10-04 14:59:08 -06:00
Gregory Nutt
4435c1bfb7 Standardize the width of all comment boxes in C header files 2015-10-03 07:33:06 -06:00
Gregory Nutt
9caf33e13b Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
Gregory Nutt
7ced84c5f0 Standardize the width of all comment boxes in C files 2015-10-03 07:25:03 -06:00
Gregory Nutt
cae0c9a2e3 Standardize the width of all comment boxes in header files 2015-10-02 17:47:23 -06:00
Gregory Nutt
36726b1bc4 Standardize the width of all comment boxes in header files 2015-10-02 17:42:29 -06:00
Gregory Nutt
16ecf905c0 Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:13:57 -06:00
admin
df5c815267 return 0 if OK 2015-10-02 12:14:09 +02:00
Gregory Nutt
ddf936c913 Various fixes for compilation issues found by tools/testbuild.sh 2015-10-01 11:09:39 -06:00
Gregory Nutt
3a07b09b9a LPC43xx: Tweaks to pkolesnikov's LPC4370 changes to get a clean compilation 2015-10-01 10:00:25 -06:00
Gregory Nutt
166d307add STM32: Fix conditional compilation of TIM SYSLOG initialization 2015-10-01 08:39:21 -06:00
Gregory Nutt
3acc09c056 LPC43xx: Remove unused .c file picked up in a recent merge 2015-10-01 07:18:07 -06:00
admin
9dcff018bc strange hang reg read 2015-09-30 22:05:53 +02:00
Gregory Nutt
26347891ac Apply same fix for ARMv7-M to other architectures 2015-09-30 11:21:04 -06:00
Gregory Nutt
08baf2fcc3 ARMv7-M: Fix logic that determines if there is a pending signal action before scheduling the next signal action. Both the test and the scheduling action need to be atomic 2015-09-30 11:00:33 -06:00
petekol
0eb1afcdef usb reset right 2015-09-30 17:13:32 +02:00
Lederhilger Martin
7d72d1defc STM32 ADC: Fix some cut'n'paste typos in ADC header file 2015-09-30 07:21:50 -06:00
Gregory Nutt
dec9742df4 SAMV7 Cut'n'paste Errors; CONFIG_SAMV7_XDMAC, not CONFIG_SAMV7_DMAC0/1 2015-09-30 07:02:10 -06:00
Lok Tep
2334f7cded Merged nuttx/arch into master 2015-09-30 09:11:44 +02:00
Gregory Nutt
7fa4e4daab SAMA5: Fix some SAMA5D3/4 bugs introduced with the SAMA5D2 changes 2015-09-29 16:10:10 -06:00
Gregory Nutt
be3adb678e Change missed in last commit 2015-09-29 13:01:52 -06:00
Gregory Nutt
c88e9538d4 SAMA5Dx: Fix a header file naming collision 2015-09-29 12:49:24 -06:00
Lok Tep
bf9fdfa447 Merged nuttx/arch into master 2015-09-29 17:26:13 +02:00
petekol
585fdf70d8 CONFIG_ARCH_CHIP_LPC4370FET100 2015-09-29 17:23:17 +02:00
Stefan Kolb
51fb4d3252 SAMV7: SPI Slave fixes 2015-09-29 09:13:36 -06:00
Gregory Nutt
2a6c71e850 Costmetic changes from last merge to better conform to the coding standard 2015-09-29 09:06:16 -06:00
pkolesnikov
e6ab9cc339 init hw, draft 2015-09-29 15:53:20 +02:00
Gregory Nutt
cd6b51847b SAMV71: Fix SPI compilation errors when SPI DMA is enabled 2015-09-29 07:31:21 -06:00
Gregory Nutt
473a3cf2a6 STM32: Trivial chnages from review of merge 2015-09-23 15:00:47 -06:00
Pierre-noel Bouteville
53fbd6b4ec Merged nuttx/arch into master 2015-09-23 22:52:37 +02:00
pnb
f19c5e883d add swo for stm32F4xxx 2015-09-23 22:51:22 +02:00
Gregory Nutt
cbdafb96d5 Remove unused function setipsr. Cortex-M IPSR register is not writable 2015-09-23 08:38:32 -06:00
Gregory Nutt
a1cbb7d8fb Correct bad cut-and-paste in STM32 F7 stm32_uart.h. Noted by Vlad Chiorean 2015-09-22 09:02:06 -06:00
Gregory Nutt
139a31b875 stm32f74xx75xx_irq.h: STM32_IRQ_SAI2 is not defined but STM32_IRQ_SAI1 is defined twice. Noted by Vlad Chiorean 2015-09-22 07:45:59 -06:00
Gregory Nutt
7a2428819f Minor style: # if pre-processor command should be in columnn 1 2015-09-18 12:47:24 -06:00
Gregory Nutt
39859a9645 All ARMV7-M: Force 8-byte stack alignment when calling from assembly to C to interrupt handling 2015-09-15 07:37:09 -06:00
Gregory Nutt
f7ca98c5ae Fix error in almost all ARMv7-M interrupt stack handling 2015-09-14 07:07:13 -06:00
Gregory Nutt
f5d015d8a2 Clean up some kruft left in the SAMA5D2 PIO driver 2015-09-13 07:25:45 -06:00
Gregory Nutt
a27e673967 SAMA5D2: Finish implementtion of the PIO driver 2015-09-12 11:36:06 -06:00
Gregory Nutt
ac986987de SAMA5D2: Add PIO driver. Still a work in progress 2015-09-12 09:58:18 -06:00
Gregory Nutt
7c62fcbe96 Rename sam_pio.c to sama5d53x4x_pio.c 2015-09-12 09:14:34 -06:00
Gregory Nutt
114f353224 SAMA5D2: Update matrix header file for the SAMA5D2 2015-09-12 09:02:42 -06:00
Gregory Nutt
94bdeda28e SAMA5D2: Add PIO register definition header file 2015-09-12 08:24:48 -06:00
Gregory Nutt
b8c1f0bfeb SAMA5: Rename chip/sam_pio.h to chip/sama5d3s4x_pio.h 2015-09-12 06:49:37 -06:00
Gregory Nutt
1f745e534b SAMA5D2: Make sure that USART mode is selected for each Flexcom used as a serial device 2015-09-11 18:42:49 -06:00
Gregory Nutt
36eba6ef99 Fix some errors in comments 2015-09-11 18:03:40 -06:00
Gregory Nutt
cc0f1d1f04 SAMA5D: Ooops. Committed wrong version of RXLP header file 2015-09-11 18:01:38 -06:00
Gregory Nutt
7c4428b67e SAMA5D2: Add RXLP register definition header file 2015-09-11 16:11:00 -06:00
Gregory Nutt
972ae84d95 SAMA5D2: Add logic to enable Flexcom clocking and to configure Flexcom pins 2015-09-11 14:54:30 -06:00
Gregory Nutt
b19c3d7cbe SAMA5D2: Add Flexcom UART serial driver 2015-09-11 14:30:19 -06:00
Gregory Nutt
9385a98588 SAMA5D: Move common configuration logic from sam_lowputc.c and sam_serial.c to new sam_config.h. Make room in the architecture for forthcoming Flexcom USARTs 2015-09-11 12:00:30 -06:00
Gregory Nutt
a39b2351f0 SAMA5D2: Add Flexcom register definition header files 2015-09-11 10:40:12 -06:00
Gregory Nutt
f51541dfd6 SAMA5Dx UART: SAMAD4 also has BRSRCCK bit in the MR register 2015-09-11 08:27:18 -06:00
Paul A. Patience
260778feb1 Fix typo 2015-09-10 21:07:03 -04:00
Gregory Nutt
cf7ea3bc3e Updates for SAMA5D2: It has no USARTS 2015-09-10 17:15:52 -06:00
Gregory Nutt
2cdbc17a63 SAMA5: Fix support for varying number of PIO ports 2015-09-10 13:46:57 -06:00
Gregory Nutt
c1b83cfbc8 SAMA5D2: Add pin multiplexing definition file and other necessary changes for the SAMA5D2 2015-09-10 13:07:04 -06:00
Gregory Nutt
7ad8c32adf Trivial spacing change 2015-09-10 12:11:10 -06:00
Ilya Averyanov
0fea56cd8b LPC43xx: Add ehci driver. 2015-09-10 07:23:03 -06:00
Gregory Nutt
87aa1cb83b SAMA5D2: Update PMC definitions; has UART2-4, but not USART0-4 2015-09-09 12:11:45 -06:00
Gregory Nutt
c391ada5e7 SAMA5D2: Update boot logic, AXIMX, SFR, and WDT register definition files for SAMA5D2 2015-09-09 10:00:29 -06:00
Ilya Averyanov
76ab22debf LPC43xx: Fix IRQ Ethernet name 2015-09-09 07:22:02 -06:00
Gregory Nutt
5f54db8c17 Separate memory mapping tables for SAMA5D2, 3, and 4 2015-09-08 16:40:13 -06:00
Gregory Nutt
6e900bc88a Eliminate warning 2015-09-08 13:26:51 -06:00
Gregory Nutt
36f1d84374 Remove some nonfunctional logic that also generates warnings 2015-09-08 13:02:33 -06:00
Gregory Nutt
0f8a416b20 More fixes for warning removal typos 2015-09-08 12:15:29 -06:00
Gregory Nutt
35866ede44 Eliminate warnings 2015-09-08 12:02:35 -06:00
Gregory Nutt
e7c149e545 Yet another rething of the SAMA5 memory mapping definitions 2015-09-08 11:50:30 -06:00
Gregory Nutt
e6aba39805 SAMA5: Correct some memory map logic 2015-09-08 11:35:11 -06:00
Gregory Nutt
2138e16199 Eliminate warnings 2015-09-08 11:08:44 -06:00
Gregory Nutt
2913aac866 Eliminate warnings 2015-09-08 10:20:41 -06:00
Gregory Nutt
e354853776 Elminiate some warnings 2015-09-08 09:18:59 -06:00
Gregory Nutt
d8c83218fe Eliminate warnings 2015-09-08 08:27:34 -06:00
Gregory Nutt
7065f78b92 Eliminate a warning 2015-09-08 08:18:01 -06:00
Gregory Nutt
cfd41bdb30 STM32: Eliminate some warnings 2015-09-07 16:25:54 -06:00
Ilya Averyanov
560613622d EHCI: We not need disable and enable async scheduler when 2015-09-07 13:44:56 -06:00
Ilya Averyanov
8cc83fa6dc EHCI: Fix qh_ioccheck to move bp to next QH 2015-09-07 13:42:39 -06:00
Ilya Averyanov
6799bba3c1 EHCI: Rename asynch_setup to ioc_async_setup 2015-09-07 13:36:52 -06:00
Gregory Nutt
f3af146d44 SAMV7 QSPI: Back out part of last change; byte access are necessary. Correct write to the IAR register 2015-09-06 11:24:43 -06:00
Gregory Nutt
26eada3446 In all up_initialize() functions, automatically initialize TUN driver is so configureded 2015-09-06 09:35:29 -06:00
Gregory Nutt
b30e6a696e SAMV71 QSPI: Add methods to allocate properly aligned memory. 2015-09-06 09:34:51 -06:00
Gregory Nutt
da3c05a898 Minor changes from review of merge 2015-09-06 07:10:21 -06:00
pnb
55dcbb4ca2 efm32 addons missing file 2015-09-06 13:10:41 +02:00
Gregory Nutt
9d5f04cd45 Remove some crap from the SAMA5D2 memory map header file 2015-09-05 12:43:34 -06:00
Gregory Nutt
6488fe469d SAMA5D Kconfig: SAMA5D2 has P310 L2 cache 2015-09-05 12:15:50 -06:00
Gregory Nutt
975d912b40 Cosmetic: Move # of pre-processior command to column 1 2015-09-05 09:07:37 -06:00
Gregory Nutt
2ed09233d3 Changes to conform to coding standard. 2015-09-05 07:50:02 -06:00
Gregory Nutt
60d444cd69 Changes to conform to coding standard. Also, I assume references to STM32 should be EFM32? 2015-09-05 07:33:50 -06:00
Gregory Nutt
e714cd748c Changes to conform to coding standard. Also, I assume references to STM32 should be EFM32? 2015-09-05 07:31:16 -06:00
pnb
1314f60caf start of adc for efm32 2015-09-05 10:51:33 +02:00
Pierre-noel Bouteville
85b1638171 Merged nuttx/arch into master 2015-09-05 10:42:12 +02:00
pnb
c327cce0b8 add bitband support 2015-09-05 10:40:34 +02:00
pnb
c83d533d90 add flash read/write support 2015-09-05 10:37:53 +02:00
pnb
3c35458ac2 fix some I2C problem 2015-09-05 10:22:08 +02:00
pnb
ea596e45d3 add efm32_gpioirqclear 2015-09-05 10:20:24 +02:00
pnb
ed8531a53b GPIO fix bug GPIO_DRIVE_... definition 2015-09-05 10:17:05 +02:00
pnb
9564f878a9 set Gpio drive only if not standard 2015-09-05 10:15:42 +02:00
pnb
fa65bef573 commetic 2015-09-05 10:11:06 +02:00
Gregory Nutt
544ed7cdbd Purely cosmetic changes from code review 2015-09-04 16:36:43 -06:00
Gregory Nutt
804570f831 Merged in david_s5/arch/upstream_stm32_flash (pull request #11)
Added suport for overriding the STM32 flash size. To allow the use of  STM32F2 and STM32F4 devices with F, G, I flash designations
2015-09-04 16:25:03 -06:00
David Sidrane
9c13fa3f67 Added suport for overriding the STM32 flash size. To allow the use of STM32F2 and STM32F4 devices with F, G, I flash designations 2015-09-04 10:26:09 -10:00
Gregory Nutt
831272cd35 SAMA5D2: Add memory map file 2015-09-02 13:04:01 -06:00
Gregory Nutt
aff3dbda88 Remove one more unused reference to PCLKSEL 2015-09-02 09:16:04 -06:00
Gregory Nutt
cace0003f2 LPC43: Removed references to non-existent PCOMP and PCLKSEL registers in comments 2015-09-02 09:07:38 -06:00
Ilya Averyanov
f2e1fb7ea2 LPC43xx: Fix build with FPU enabled 2015-09-02 09:03:10 -06:00
Ilya Averyanov
a3bc46f629 LPC43xx: Add Ethernet support. From Ilya Averyanov 2015-09-02 09:01:41 -06:00
Ilya Averyanov
fdfaf9aa09 lpc43xx: Spi make work 2015-09-02 08:31:08 -06:00
Ilya Averyanov
f2b5f05124 STM32 Ethernet: stm32_ifdown() prototyped twice 2015-09-02 08:23:45 -06:00
Gregory Nutt
5a9f1fa3ab Extension memory map inclusion for SAMA5D2 2015-09-02 08:23:44 -06:00
Gregory Nutt
075b66d4bb Eliminate a warning 2015-09-01 13:35:38 -06:00
Gregory Nutt
8c9f7e5ab6 Add peripheral clock macros for the SAMA5D2 2015-09-01 13:08:48 -06:00
Gregory Nutt
f6d8a03b55 Merged in paulpatience/nuttx-arch (pull request #10)
Correct #if to #ifdef when the macro can be undefined.  Fix bug in AT32UC3 clock initialization:  AVR32_CLOCK_PLL_OSC1 should be AVR32_CLOCK_PLL0_OSC1 and AVR32_CLOCK_PLL1_OSC1.
2015-09-01 12:31:05 -06:00
Paul A. Patience
a0dc724a5d Correct #if to #ifdef when the macro can be undefined. Fix bug in AT32UC3 clock initialization: AVR32_CLOCK_PLL_OSC1 should be AVR32_CLOCK_PLL0_OSC1 and AVR32_CLOCK_PLL1_OSC1. 2015-09-01 13:47:06 -04:00
Ilya Averyanov
98788063f1 Fix warning in Kconfig file introduced with first SAMA5D2 commit. From Ilya Averyanov. 2015-09-01 11:23:08 -06:00
Gregory Nutt
ed3d6fc7a0 SAMV7 QSPI: Delays need to be in units of nsec, not usec. Default delays should be 0 nsec 2015-09-01 11:16:09 -06:00
Ilya Averyanov
8c52786395 LPC43xx: Fix missing #define in eeprom. From Ilya Averyanov 2015-09-01 08:08:09 -06:00
Ilya Averyanov
675878b360 PC43xx: Fix NVIC_SYSH_PRIORITY_STEP define 2015-09-01 08:06:34 -06:00
Gregory Nutt
c33efa0a60 SAMA5D2: Add chip definitions, PIDs, and IRQ definitions 2015-08-31 15:19:01 -06:00
Gregory Nutt
9ba349f2b8 SAMV71 QSPI: Fix frequency calculation. Need to use ceil() type logic so that requested frequency is not exceeded 2015-08-31 10:18:17 -06:00
Gregory Nutt
4f87a71e6d SAMV7 QSPI: Use of CPHA in mode settings was inverted 2015-08-31 10:05:41 -06:00
Gregory Nutt
4b738ba7cc SAMV7 QSPI: Fix some compiler problems when SPI debug is enabled 2015-08-31 08:57:30 -06:00
Gregory Nutt
70f1a49fbe arch/arm/src/up_iternal.h and several ARM Make.defs files: In the original implementation, NOT defined(CONFIG_ARMV7M_CMNVECTOR) was a sufficient test to determine if lazy floating point register saving was being used. But recents changes added common lazy register as well so now that test must be (NOT defined(CONFIG_ARMV7M_CMNVECTOR) || defined(CONFIG_ARMV7M_LAZYFPU)). 2015-08-31 08:40:02 -06:00
Gregory Nutt
b6515bbd4d SAMV71 QSPI: Changes resulting removing of clocking 2015-08-29 18:53:27 -06:00
Gregory Nutt
b94eef2f19 SAMV71 QSPI: Driver is code complete 2015-08-29 15:57:20 -06:00
Gregory Nutt
3877cb09d9 Trivial renaming 2015-08-29 10:04:36 -06:00
Gregory Nutt
b887d39d2e SAMV7 QSPI: Add DMA transfer support 2015-08-29 10:02:59 -06:00
Gregory Nutt
0b1bd46e24 SAMV71 QSPI: Add support for dual and quad data transfers and dummy read cycles 2015-08-28 11:58:19 -06:00
Gregory Nutt
3e0affba86 SAMV71 QSPI: Add support for non-DMA memory transfers 2015-08-28 10:13:46 -06:00
Gregory Nutt
8aefb9d139 SAMV71 QSPI: Redesign some functions to better matched new interface definition 2015-08-27 14:15:23 -06:00
Gregory Nutt
71bbe5b48d Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-27 12:08:04 -06:00
Gregory Nutt
926f3aa9af Update some comments 2015-08-27 08:19:26 -06:00
Gregory Nutt
45a6f79eeb SAMV71 QSPI: Flesh out most of the initialization logic 2015-08-26 14:15:40 -06:00
Gregory Nutt
768aba20ad SAMV71 QSPI: Use new QSPI interface. Can't use SPI interface as planned; the hardware architectue is too different 2015-08-25 15:23:59 -06:00
Gregory Nutt
01cfe8c315 Networking: Move where the local loopback device is initialized from board_app_intiialize() to up_intiialize() so that it will happen automatically 2015-08-24 14:25:49 -06:00
David Sidrane
98ce2b2912 Fixed Mask and made configuration macros consistant 2015-08-24 08:56:24 -10:00
David Sidrane
b95c642a88 Added Kconfig Enable Support for SAI and I2S PLL 2015-08-24 08:55:45 -10:00
Gregory Nutt
bddc4dbd6a LPC17: Fix RAM vector table alignment for the LPC17 family. The ARMv7-M TRM only requires 128-byte alignment for vector tables; the LPC17, however, requires 256 byte alignment 2015-08-23 17:17:14 -06:00
Gregory Nutt
065f2d6057 SAMV7 USBHS DCD: Add logic to detect high speed mode; use DEBUGASSERT to check input parameters 2015-08-22 08:58:38 -06:00
David Sidrane
6559c8994a Remove the word NOT - that was used to test the fix. 2015-08-21 18:51:28 -06:00
David Sidrane
390c777a2a Removed the word NOT - that was used to test the fix. 2015-08-21 18:40:20 -06:00
Pavel Pisa
2fafe1c817 arch/arm/src/lpc17: Actually implement options to use external SDRAM and or SRAM for the heap. From Pavel Pisa 2015-08-21 18:28:59 -06:00
Gregory Nutt
4c0d36740d Some of the last review chnages were still in the editor 2015-08-21 18:25:10 -06:00
Gregory Nutt
9a32e907df Trivial, cosmetic changes from review of merge 2015-08-21 18:22:57 -06:00
Gregory Nutt
4e347080e6 Update comments in Kconfig file 2015-08-21 18:15:09 -06:00
Gregory Nutt
16c5be9767 Merged in david_s5/arch/upstream_446 (pull request #7)
Upstream_446
2015-08-21 18:11:05 -06:00
David Sidrane
9d64050d68 Added Changes to support for the new USB OTG controller for F446 register map 2015-08-21 13:57:08 -10:00
David Sidrane
7c96342c63 Break the stm32_otg.h into an stm32fxxxxx and stm32f44xx (should work on F7) versions 2015-08-21 13:55:06 -10:00
David Sidrane
5d1ff3f7e1 Use read modify write on PLL and CFG registers 2015-08-21 13:22:09 -10:00
David Sidrane
1c746edceb Added PLL P constants 2015-08-21 13:20:16 -10:00
Gregory Nutt
972f67ce42 SAMV7 QSPI: Add framework for a QSPI driver. Initial commit is just the SPI driver with some name changes 2015-08-21 14:22:47 -06:00
Gregory Nutt
f6c6723d88 SAMV7 USBHS Device: After aligning DMA buffers and disabling write-back data cache, the DCD driver is fully functional using the CDC/ACM device 2015-08-21 12:30:29 -06:00
Gregory Nutt
da6c5aabdf All ARMV7-M IRQ setup: Always set the NVIC vector table address. This is needed in cases where the code is running with a bootload and when the code is running from RAM. It is also needed by the logic of up_ramvec_initialize() which gets the vector base address from the NVIC. Suggested by Pavel Pisa 2015-08-21 08:42:24 -06:00
Gregory Nutt
0b3b104b74 Remove unnecessary step in previous commit 2015-08-20 16:21:45 -06:00
Pavel Pisa
387f76d455 This fix allows to run NuttX from SRAM or to place it after bootloader when run from Flash. From Pavel Pisa 2015-08-20 07:46:18 -06:00
Gregory Nutt
5196a4183c SAMV7 USBHS device: Fix how we send data on control endpoints; fix how we select USB address 2015-08-19 11:36:38 -06:00
Gregory Nutt
0db7ac92d9 Minor coding style fixes in last commit; remove some unneeded debug output 2015-08-19 07:54:46 -06:00
SaeHie Park
75626fb071 STM32: Fix eth mem leak in recvframe 2015-08-19 15:40:04 +09:00
Gregory Nutt
cfd4f943da SAMV7 MCAN: When bitrate is changed, the MCAN has to be reset and there are lots of issues related to getting back to a healthy state if there is multithreaded access to the MCAN device. This commit handles a few of those issues, but there are more 2015-08-18 11:56:07 -06:00
Gregory Nutt
4b96605f93 SAMV7 MAN: Add support for bit timing IOCTL commands 2015-08-18 11:20:22 -06:00
Gregory Nutt
ff84e67e59 SAMV7 MCAN: Add logic to report CAN errors 2015-08-18 08:48:13 -06:00
Gregory Nutt
b7d6720a23 All CAN drivers: Set the new error indication to zero in the CAN message report 2015-08-18 07:24:12 -06:00
Gregory Nutt
c01d3298e5 Merged in paulpatience/nuttx-arch (pull request #5)
Added definitions for STM32F303K6, STM32F303K8, STM32F303C6, STM32F303C8, STM32F303RD, and STM32F303RE devices.
2015-08-17 12:55:32 -06:00
Paul A. Patience
c800841632 Added definitions for STM32F303K6, STM32F303K8, STM32F303C6,
STM32F303C8, STM32F303RD, and STM32F303RE devices.
2015-08-17 14:00:49 -04:00
Gregory Nutt
531456d20c Fix deadlock when closing the MCAN device driver 2015-08-17 11:49:20 -06:00
Gregory Nutt
4f122d5290 SAMV71 MCAN: Default clock source should be MCK, not MAIN 2015-08-17 11:03:15 -06:00
Gregory Nutt
ff38abf580 SAMV7 MCAN: Should support standard CAN IDs in extended ID mode 2015-08-17 10:52:58 -06:00
Gregory Nutt
ba6c0b3fa3 Fix more common typos 2015-08-16 11:06:29 -06:00
Gregory Nutt
e29220183a Fix some common typos 2015-08-16 10:59:10 -06:00
Gregory Nutt
9e5e91c204 SAMV7 USBHS device: Fix backward test of TXINIT. Driver now appears to be functional 2015-08-16 08:55:44 -06:00
Gregory Nutt
b503bf6ca1 SAMV7 USB device: Fix base address of USBHS RAM; remove a bad assertion; fix clearing of endpoint interrupts 2015-08-15 13:00:32 -06:00
Gregory Nutt
9d7301f474 SAMV7 USBHS device: Need to enable endpoint before configuring it; Check for USB suspended backward 2015-08-15 10:41:15 -06:00
Gregory Nutt
651317ee49 SAML21: Various SERCOM fixes 2015-08-14 18:11:02 -06:00
Gregory Nutt
348060f5d2 SAMV7: Add QSPI Register Definition Header File 2015-08-14 18:11:01 -06:00
Gregory Nutt
150f79a198 Backout commit e03b47b6e28ca98a6cc8497ad822309de5153eb3 2015-08-14 10:24:56 -06:00
Gregory Nutt
a44a208ff6 SAMV71 MCAN: Change Kconfig so that zero is no longer the default value for the size of RXFIFO0, RXFIFO1, and TXFIFIQ. In fact, zero is not an illegal value 2015-08-13 08:13:49 -06:00
Gregory Nutt
bef5eb0bc9 Fix a typo in a preprocessor warning 2015-08-12 15:32:46 -06:00
Gregory Nutt
b9d4ead73f SAMV7 MCAN: Correct usage of PCLK prescaler. From Frank Benkert 2015-08-12 11:17:03 -06:00
Gregory Nutt
53638b10dc SAMV7 USBHS device: Modify how ATTACH is performed if the use host has already reset 2015-08-12 11:13:18 -06:00
Gregory Nutt
68932c02d3 Fix typos in SAMV7 MCAN. From Frank Benkert 2015-08-12 08:17:50 -06:00
Gregory Nutt
2264c1fa64 SAMV7 USB: USB must be enabled before PMC 480MHz clock is enabled 2015-08-11 15:48:26 -06:00
Gregory Nutt
f3d1c19965 SAMV7 SPI slave: Loop in the interrupt handler; RDRF and TXNE events should occur very closely in time 2015-08-11 09:30:24 -06:00
Gregory Nutt
27733a6731 Trivial spacing change 2015-08-11 07:51:31 -06:00
Gregory Nutt
9f4e033f4c MoxART: Trivial changes from code review 2015-08-10 11:05:09 -06:00
Gregory Nutt
8de9d3f014 Merged in rnouse/nuttx-arch (pull request #4)
Add Shared IRQ support for UART w/multi port.
2015-08-10 10:11:43 -06:00
Gregory Nutt
c8c470271f SAMV7 SPI Slave: Completes implementation basic, no-DMA driver 2015-08-10 10:05:00 -06:00
Anton D. Kachalov
f10b7ff09a Merge branch 'master' of https://bitbucket.org/nuttx/arch 2015-08-10 18:14:49 +03:00
Anton D. Kachalov
46444388fa Add Shared IRQ support for UART w/multi port.
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-10 18:13:35 +03:00
Gregory Nutt
c7b0a35e85 Rename sam_spi_slave_initialize to up_spi_slave_initialize for better symmety with the Master SPI interface definition 2015-08-09 17:41:55 -06:00
Gregory Nutt
ec68d00ed8 A few more cosmetic changes to the SAMV7 SPI slave driver-in-progress 2015-08-09 16:21:49 -06:00
Gregory Nutt
1fbd5351ff Fix typo in a Kconfig file 2015-08-09 15:50:04 -06:00
Gregory Nutt
c7eaa00ed4 SAMV7 SPI slave: Add output queuing and interrupt handling 2015-08-09 15:42:32 -06:00
Gregory Nutt
5f4224115a SAMV7 SPI Slave: Add a basic driver framework for SPI slave. Still a lot of missing logic 2015-08-09 12:04:43 -06:00
Gregory Nutt
7e7150899a SAMV7: Add configuration options to select SPI slave (slave driver not yet committed) 2015-08-09 09:47:06 -06:00
Gregory Nutt
05aae51c89 SAMV7 MCAN: Lock the scheduler at one critical point to avoid a possible race condition 2015-08-09 08:41:57 -06:00
Gregory Nutt
7a6bdf286e SAMV7 MCAN: Add some precautions to assue that a counting semaphore does not get out of synch 2015-08-08 08:38:52 -06:00
Gregory Nutt
a7a52252a8 SAMV7 MCAN: Fix DCACHE configuration dependency; Mkae sure DMA buffers are aligned to the cache line size at the end, Make RX FIFO1 the high priority FIFO and it it preference for RX input 2015-08-07 12:31:01 -06:00
Gregory Nutt
75ce247ed1 Use message sized defined in can.h 2015-08-07 09:01:30 -06:00
Gregory Nutt
aea94d9525 SAMV7 MCAN: Add support for all filter modes 2015-08-07 08:23:21 -06:00
Gregory Nutt
955202b895 Grr.. typos crept in during the last minute clean-up of the previous fix 8( 2015-08-06 12:50:11 -06:00
Gregory Nutt
32900bdb0b SAMV71 MCAN: Fix standard ID mask 2015-08-06 12:47:14 -06:00
Gregory Nutt
f7bcff3d12 SAMV7 MCAN: Fix filter configuration when now filters are defined. We need to accept all messages in this case 2015-08-06 11:50:41 -06:00
Gregory Nutt
86f7a58954 SAMV7 MCAN: some fixes from early testing 2015-08-06 10:24:31 -06:00
Gregory Nutt
73a96ab078 Update some function headers 2015-08-05 16:22:10 -06:00
Gregory Nutt
983df071c3 STM32V7 MCAN: CAN FD mode depends on support from the upper half driver, so it is now global CAN configuration 2015-08-05 13:55:20 -06:00
Gregory Nutt
bb47c7f80e SAMV7 MCAH: Add support for IOCTL commands that manage filters 2015-08-05 12:59:29 -06:00
Gregory Nutt
d824223736 SAMV7 MCAN: Fix uninialize configuration value 2015-08-05 09:16:16 -06:00
Gregory Nutt
ba23314cbf Merge remote-tracking branch 'origin/master' into mcan 2015-08-05 08:57:29 -06:00
Gregory Nutt
f986d08515 SAMV71: Fix error in GPIO interrupt numbering 2015-08-05 08:57:05 -06:00
Gregory Nutt
4db9f276e6 SAMV7 MCAN: Fix some compilation errors when CAN debug is enabled 2015-08-05 08:21:32 -06:00
Gregory Nutt
92f5bf01c3 SAMV7 MCAN: Correct some compile errors when only MCAN1 is enabled 2015-08-05 08:07:25 -06:00
Gregory Nutt
1a93dadf26 SAMV7 MCAN: Fix some compilation warnings (some of which are real coding errors). 2015-08-05 07:29:20 -06:00
Gregory Nutt
c30cfe2025 SAMV7 MCAN driver is code complete (with some missing functionality) 2015-08-05 07:09:29 -06:00
Gregory Nutt
c8923bb6fc SAMV7 MCAN: Finish some TX FIFO status methods; Correct interpretation of DLC in CAN_FD mode 2015-08-04 17:19:47 -06:00
Gregory Nutt
a64398c86b SAMV7 MCAN: Minor correcting to message size calculation 2015-08-04 14:05:07 -06:00
Gregory Nutt
bb32aa8d24 SAMV7 MAN: Flesh out interrupt logic; add RX message handling logic 2015-08-04 13:51:34 -06:00
Gregory Nutt
62a9aed53a SAMV7 MCAN: Add logic to send messages usign the TX FIFOQ 2015-08-04 11:41:38 -06:00
Anton D. Kachalov
a8fc587d87 Fixup operation mode set
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-04 20:28:43 +03:00
Gregory Nutt
f7350568f3 STM32 ADC changes suggested by Max Kriegleder 2015-08-04 06:29:40 -06:00
Gregory Nutt
4e2a95c71e SAMV7 MCAN: Add some default values of configuration settings 2015-08-03 19:21:43 -06:00
Gregory Nutt
949cea035c Fix a spelling error 2015-08-03 13:53:53 -06:00
Gregory Nutt
e89d8c4a5f SAMV7 MCAN: Remove SAMA5 kruft; beginning of some interrupt logic 2015-08-03 13:50:02 -06:00
Gregory Nutt
bf8230d7b4 SAMV7 MCAN: Update some register debug output 2015-08-03 10:02:18 -06:00
Gregory Nutt
d53f6b9353 SAMV7 MCAN: Finishes most of the initalization logic 2015-08-03 09:10:38 -06:00