pnb
f19c5e883d
add swo for stm32F4xxx
2015-09-23 22:51:22 +02: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
Paul A. Patience
260778feb1
Fix typo
2015-09-10 21:07:03 -04: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
Gregory Nutt
975d912b40
Cosmetic: Move # of pre-processior command to column 1
2015-09-05 09:07:37 -06:00
Gregory Nutt
544ed7cdbd
Purely cosmetic changes from code review
2015-09-04 16:36:43 -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
Ilya Averyanov
f2b5f05124
STM32 Ethernet: stm32_ifdown() prototyped twice
2015-09-02 08:23:45 -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
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
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
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
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
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
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
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
b7d6720a23
All CAN drivers: Set the new error indication to zero in the CAN message report
2015-08-18 07:24:12 -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
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
f7350568f3
STM32 ADC changes suggested by Max Kriegleder
2015-08-04 06:29:40 -06:00
Gregory Nutt
095d2d3eee
Fix a typo in the STM32 F2 DMA header file
2015-07-30 16:03:52 -06:00
Gregory Nutt
2c5a6831cd
ADC DMA should work on the F2 as well because the DMA is equivalent on the F2 and F4
2015-07-30 15:49:33 -06:00
Max Kriegler
9ed14b0924
STM32 ADC: Add DMA support for the STM32 F4 family. From Max Kriegler
2015-07-30 08:47:45 -06:00
Juha Niskanen
7407e41569
Add CONFIG_ADC_NO_STARTUP support for STM32 F1 (untested)
2015-07-30 07:42:31 -06:00
Gregory Nutt
5b46df9c49
Fix compile error from last ADC change
2015-07-29 17:37:35 -06:00
Juha Niskanen
3d32eb9465
tm32_adc: Add STM32L152XX ADC support
...
Porting from Thingsee OS.
Credits: Dmitry Nikolaev wrote most of the code, Teemu Pirinen from Offcode Ltd.
contributed support for changing single shot adc channel, minor tweeks by
Jussi Kivilinna and Juha Niskanen
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
Includes additional changes from review.
2015-07-29 08:34:27 -06:00
Gregory Nutt
032c237865
Minor modifications from review of previous commits
2015-07-29 08:34:01 -06:00
Gregory Nutt
90ac233e09
Minor modifications from review of previous changes
2015-07-29 08:32:23 -06:00
Juha Niskanen
ddc93995a0
chip/stm32_adc.h: Add defines for STM32L152XX ADC support
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-07-29 07:38:29 -06:00
Juha Niskanen
f4812bfbf9
stm32/chip: Add some STM32L15XX support bits (from Thingsee)
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-07-29 07:36:21 -06:00
Gregory Nutt
39192c3537
Fix a compile error found by tools/tesbuild.sh
2015-07-22 15:45:47 -06:00
David Sidrane
778c630c6b
Add support for the STM32446. From David Sidrane
2015-07-22 07:26:53 -06:00
David Sidrane
5c5df7aefe
STM32 F229: Fix bad inclusion guard in a header file
2015-07-21 11:25:29 -06:00
Gregory Nutt
4a5f66481d
STM32 F7: Add FLASH and SYSCFG header files
2015-07-18 10:06:44 -06:00
Gregory Nutt
f45f0ab59a
STM32 RCC: Fix some more typos in STM32 RCC header files
2015-07-17 12:16:29 -06:00
Gregory Nutt
bd711c038d
STM32 RCC: Fix what looks like a double paste
2015-07-17 12:00:46 -06:00
Gregory Nutt
7eb5e7f9ec
STM32F746G-DISCO: Getting closer to a build
2015-07-17 11:47:16 -06:00
Sebastien Lorquet
7f7082f938
Extend STM32 Ethernet operating frequency to 180MHz:
...
-Extend frequency range options to 180 MHz for STM32 ETH_MACMIIA_CR
-Fix a typo in a frequency range option in LPC43
-Only configure the PPS GPIO if the PTP protocol is enabled
From Sebastien Lorquet
2015-07-17 07:44:12 -06:00
Gregory Nutt
1ed5f5a3ed
STM32: Move STM32F42xxx IRQ definitions out of stm32f40xxx_irq.h into their own stm32f42xxx_irq.h header file
2015-07-15 13:52:20 -06:00
Gregory Nutt
629b37deec
STM32: Fix a minor error in new STMF42* header files
2015-07-15 13:21:39 -06:00
Gregory Nutt
abbfbb0716
STM32: Move STM32F42xxx vector definitions out of stm32f40xxx_vector.h into their own stm32f42xxx_vector.h header file
2015-07-15 13:02:55 -06:00
Gregory Nutt
0d0bbafbc5
STM32: Move STM32F42xxx SYSCFG definitions out of stm32f40xxx_syscfg.h into their own stm32f42xxx_syscfg.h header file
2015-07-15 12:54:15 -06:00
Gregory Nutt
7666fde938
STM32: Move STM32F42xxx RCC definitions out of stm32f40xxx_rcc.h into their own stm32f42xxx_rcc.h header file
2015-07-15 12:50:04 -06:00
Gregory Nutt
987c010c1f
STM32: Move STM32F42xxx DMA definitions out of stm32f40xxx_dma.h into their own stm32f42xxx_dma.h header file
2015-07-15 12:38:33 -06:00
Gregory Nutt
1d7789caa6
STM32: Move STM32F42xxx pinmap definitions out of stm32f40xxx_pinmap.h into their own stm32f42xxx pinmap.h header file
2015-07-15 12:28:45 -06:00
Gregory Nutt
1f5e16dc95
Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
2015-07-10 18:41:26 -06:00
Gregory Nutt
51df91e93d
STM32 RTCC: Eliminate a warning when ALARM support is enabled
2015-07-02 15:02:59 -06:00
Gregory Nutt
46fec91b12
Remove a warning
2015-07-01 18:25:13 -06:00
Gregory Nutt
fb926e7283
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
29136e51cc
Clean up and review of header files for conformance to standards
2015-06-12 19:26:01 -06:00
Gregory Nutt
7bd3d5eaf1
Clean up and review of header files for conformance to standards
2015-06-12 19:00:52 -06:00
Gregory Nutt
7fab748667
STL32 F15x: stm32_stdclockconfig() was calling stm32_pw_setvos() which accessed PWR_CR via an inactive APB. From Juha Niskanen.
2015-06-11 08:09:36 -06:00
Gregory Nutt
4e811aa54d
Add basic support for the STM32F205RG. From SourceForge Ticket 40 (anonymous).
2015-05-31 13:06:26 -06:00
Gregory Nutt
d41b050526
Fix another missing semicolon after DEBUGASSERT
2015-05-27 11:49:19 -06:00
Gregory Nutt
528275a77c
Fix some typos
2015-05-27 07:34:35 -06:00
Gregory Nutt
4a60f1c9f5
STM32: Building stm32_rng.c should be conditioned on CONFIG_STM32_RNG, not CONFIG_DEV_RANDOM. From Juha Niskanen
2015-05-21 07:47:22 -06:00
Gregory Nutt
0883ea1af0
USB host drivers: Cannot take semaphores in cancel() method
2015-05-14 09:58:21 -06:00
Gregory Nutt
5fad63c28a
STM32/EFM32 USB host drivers. Remove some detritus left from previous change
2015-05-14 07:55:55 -06:00
Gregory Nutt
c2c7dadf0f
The USB host cancellation now applies to all transfers and so it no longer conditional
2015-05-11 12:04:03 -06:00
Gregory Nutt
cac9879ad2
EHCI HCDs will now support cancellation of syncrhonous transfers
2015-05-11 11:43:31 -06:00
Gregory Nutt
3f092b8f9c
STM32 and EFM32 host will now support cancellation of synchronous methods
2015-05-11 11:15:28 -06:00
Gregory Nutt
0536435ff8
Correct an error recently introduced in the STM32 and EFM32 USB host controller drivers.
...
The test for data partially transferred is incorrectec: chan->xfrd != xfrlen
Should be chan->xfrd > 0
From Ronly XLN.
2015-05-11 09:04:25 -06:00
Gregory Nutt
6e5a4e8b5e
Add EXTI line definitions for the STM32L family.
2015-05-09 09:03:14 -06:00
Gregory Nutt
4250bb5138
STM32 F3: Add DBGMCU register definitions for the F3 family. From Greg Meiste.
2015-05-09 06:05:17 -06:00
Gregory Nutt
aaaa8f2e9d
Adds support for STM32F302K8 and STM32F302K6. From Ben Dyer via PX4/David Sidrane.
2015-05-08 14:10:55 -06:00
Gregory Nutt
b8483aea40
In go_os_start that sets the IDLE thread stack coloration, mov does not set condition codes which are tested by the following beq. Need to use movs instead. Noted by David Sidrane
2015-05-07 20:36:08 -06:00
Gregory Nutt
8f959373e1
USB host: Modify the transfer() and asynch() methods so that the actual size of the transfer is returned. Unverified on initial commit.
2015-05-05 13:14:22 -06:00
Gregory Nutt
93b251b372
Cosmetic changes
2015-05-05 06:42:58 -06:00
Gregory Nutt
12bf2aa3be
Correct description of some input parameters. Suggested by Pelle Windestam
2015-05-05 06:26:59 -06:00
Gregory Nutt
d824979cec
Merge remote-tracking branch 'origin/master' into usbhub
2015-05-02 11:39:08 -06:00
Gregory Nutt
b3d12c6026
STM32 USB device. Add protection in the event that out-of-bound enpoint numbers are received. From David Sidrane.
2015-05-02 10:58:27 -06:00
Gregory Nutt
823af4b409
USB host: Need to include the port structure when disconnecting, otherwise may destroy a root hub port
2015-05-02 10:44:18 -06:00
Gregory Nutt
5a2ed0f6c1
Merge remote-tracking branch 'origin/master' into usbhub
2015-05-01 15:38:48 -06:00
Gregory Nutt
e76b7d99fa
Added missing EXTI definitions for the STM32 F3; Correct an error the port D base address in the STM32 F3 and F37 memory maps. From Greg Meiste.
2015-05-01 07:31:56 -06:00
Gregory Nutt
149d8c039d
EFM32 USB host: Add missing trace data and some missing connection-related logic; update a configuration
2015-04-30 13:46:53 -06:00
Gregory Nutt
501d82928d
STM32/EFM32 USB host: Implemented asynchronous cancel method
2015-04-30 11:24:18 -06:00
Gregory Nutt
c096b7d426
USB Hub: Fix compile problems when hub debug enabled
2015-04-30 08:12:55 -06:00
Gregory Nutt
a4455d07c1
STM32 HUB: Fix more compilation errors when hub support is enabled
2015-04-30 08:00:41 -06:00
Gregory Nutt
2f7682f7df
Fix some errors in initial re-verification of USB host on the STM32F4-Discovery
2015-04-30 07:28:30 -06:00
Gregory Nutt
d4feb7205f
First cut, dirty conversion of EFM32, STM32 FS and HS host drivers to the new interfaces
2015-04-29 15:53:58 -06:00
Gregory Nutt
d3ef23e05a
STM32 PVD: Adds support for STM32's Programmable Voltage Detector feature. I put register access behind CONFIG_STM32_ENERGYLITE as have not checked F1/F2/F4 etc. manuals. Tested on STM32L1. PVD interrupt looks generic, at least #defines it needs are in headers for every chip variant. By Dmitry Nikolaev, submitted by Juha Niskanen.
2015-04-28 06:37:59 -06:00
Gregory Nutt
d77a19f0a2
Two r's and only two r's in the word interrupt
2015-04-23 14:04:43 -06:00
Gregory Nutt
aaeb9843d6
STM32 RTC counter: Include enable/disable backup domain within critical section. Per recommendtion of Alexander Oryshchenko.
2015-04-21 18:08:31 -06:00
Gregory Nutt
47f2a0b09d
STM32 F1 RT Counter: Another fix from Darcy Gong
2015-04-19 07:05:39 -06:00
Gregory Nutt
2d2f645e77
STM32 F1 RTC Counter: Now need to enable backup domain write access when setting the time. From Darcy Gong
2015-04-19 06:58:07 -06:00
Gregory Nutt
4c0b8fba52
Fix an error introduced into stm32_pwr_enablebkp(). That function must preserve the previous state of backup domain access on return.
2015-04-18 07:31:20 -06:00