Gregory Nutt
afb02b56d4
STM32F3 SPI: Fix the number of bit setting for the F3. It works differently than for other parts.
2016-08-12 18:32:37 -06:00
Gregory Nutt
046acf6b54
Add a simulated oneshot lowerhalf driver
2016-08-12 13:14:03 -06:00
Gregory Nutt
b4e8876b09
Correct some spacing
2016-08-12 12:41:49 -06:00
Gregory Nutt
82b86cdcf3
oneshot interface: max_delay method should return time in a standard struct timespec form.
2016-08-12 11:33:10 -06:00
Gregory Nutt
89135c55e4
drivers/timer: Add an upper-half, oneshot timer character driver.
2016-08-12 10:40:07 -06:00
Gregory Nutt
1965e25da4
STM32L4: Add oneshot lower half driver.
2016-08-11 17:14:41 -06:00
Gregory Nutt
fa6866b046
SAMA5: Add option to support oneshot timer without free-running timer. Add oneshot lower half driver.
2016-08-11 16:47:17 -06:00
Gregory Nutt
d0ce5b1d1e
Cosmetic changes to comments and function prototypes
2016-08-11 15:15:37 -06:00
Gregory Nutt
fb349508fd
STM32 oneshot lower-half: Missed some data initialization.
2016-08-11 14:57:17 -06:00
Gregory Nutt
eb3a565153
STM32: Add oneshot lower half to build system. Fix some build problems.
2016-08-11 14:53:39 -06:00
Gregory Nutt
1bb93021df
STM32: Add a experimental oneshot, lower-half driver for STM32
2016-08-11 14:07:43 -06:00
Gregory Nutt
accbccd78a
Merged in mlyszczek/nuttx/stm32f1connline_pllfix (pull request #111 )
...
Fix bad pllmul values for stm32f1xx connectivity line.
2016-08-11 06:44:19 -06:00
Michał Łyszczek
81df56086a
Fix bad pllmul values for stm32f1xx connectivity line.
...
stm32f1xx connectivity line supports only x4, x5, x6, x7, x8, x9 and x6.5 values
2016-08-11 10:49:57 +02:00
Gregory Nutt
fdcf0f7e5f
Correct some comments
2016-08-09 15:15:21 -06:00
Gregory Nutt
b5b7a21bb6
Make reference count a uin16_t and save a couple of bytes.
2016-08-09 13:54:57 -06:00
Gregory Nutt
8b5833f7fe
A consequence of Max's change to the logic to enable access to the backup domain is that every call to enabledbkp(true) must be followed by a matching call to enablebkp(false). There was one cse in both RTCC drivers where that may not always be true.
2016-08-09 11:33:47 -06:00
Gregory Nutt
5d91b8cabb
With last change, stm32_pwr_enablebkp() no longer returns a value
2016-08-09 07:50:31 -06:00
Max Neklyudov
1e3ccbac12
Make stm32_pwr_enablebkp thread safe
2016-08-09 07:36:13 -06:00
Alan Carvalho de Assis
8499f42bf9
Add STM32F37XX DMA channel configuration
2016-08-08 13:29:53 -06:00
Alan Carvalho de Assis
fcf1ae7e05
stm32f37xx: Fix SYSCFG_EXTICR_PORTE defined twice
2016-08-08 12:59:29 -06:00
Alan Carvalho de Assis
834f058573
I'm using NuttX on STM32F373 and saw the config was missing SPI2 and
...
SPI3, see datasheet:
www.st.com/resource/en/datasheet/stm32f373cc.pdf
I searched for other members of STM32F37XX family and they also have 3 SPIs:
http://www.st.com/content/st_com/en/search.html#q=STM32F37-t=keywords-page=1
2016-08-08 12:25:15 -06:00
Gregory Nutt
6df28bc74e
Make bit-order SPI H/W feature configurable for better error detection
2016-08-08 11:54:13 -06:00
Gregory Nutt
c3cfd37791
Fix cloned variable error in all SPI drivers
2016-08-08 11:04:01 -06:00
Gregory Nutt
2ae3953f9e
STM32/EFM32: If any hardware feature other and LSBFIRST is selected, return -ENOSYS.
2016-08-08 10:37:28 -06:00
Gregory Nutt
7d4cb73bd6
STM32 and EFM32 SPI drivers adopted an incompatible conventions somewhere along the line. The set the number of bits to negative when calling SPI_SETBITS which had the magical side-effect of setting LSB first order of bit transmission. This is not only a hokey way to pass control information but is supported by no other SPI drivers.
...
This change three things: (1) It adds HWFEAT_LSBFIRST as a new H/W feature. (2) It changes the implementations of SPI_SETBITS in the STM32 and EFM32 derivers so that negated bit numbers are simply errors and it adds the SPI_HWFEATURES method that can set the LSB bit order, and (3) It changes all calls with negative number of bits from all drivers: The number of bits is now always positive and SPI_HWFEATUREs is called with HWFEAT_LSBFIRST to set the bit order.
2016-08-08 08:28:13 -06:00
Gregory Nutt
309480d0f9
Merge branch 'timekeeping' of bitbucket.org:nuttx/nuttx
2016-07-28 09:34:00 -06:00
Gregory Nutt
9b9b721406
Rename alarm_enable to rtc_alarm_enabled; mark inline
2016-07-23 12:01:57 -06:00
Gregory Nutt
5a0f9fcb7d
Fix STM32 RTC Alarm interrupts. They were being enabled BEFORE the interrupt system was being initialized.
2016-07-23 10:36:06 -06:00
Gregory Nutt
14de4b99f8
Simplify some computations
2016-07-23 08:13:25 -06:00
Gregory Nutt
0984fcda44
Back out last RTC alarm changes. I am mistaken, the interrupts are enabled by stm32[l4]_exti_alarm().
2016-07-23 07:53:08 -06:00
Gregory Nutt
829c5610da
STM32 F4 RTC ALARM: Was not enabling interrupts.
2016-07-23 07:19:14 -06:00
Gregory Nutt
a2035f7efd
Move include/nuttx/1wire.h to include/nuttx/drivers/1wire.h
2016-07-21 13:51:28 -06:00
Gregory Nutt
1b9b3a7b47
pwm.h moved from include/nuttx/ to include/nuttx/drivers.
2016-07-20 13:48:24 -06:00
Gregory Nutt
ddcaa3d425
can.h moved from include/nuttx/ to include/nuttx/drivers.
2016-07-20 13:38:36 -06:00
Gregory Nutt
4b4dbc79a2
Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h
2016-07-20 13:15:37 -06:00
Sagitta Li
e07bd757ba
STM32 F107: TIM8 not supported in F105/F107
2016-07-20 08:51:03 -06:00
Gregory Nutt
2119c5ce19
Fix another function naming error
2016-07-18 12:40:27 -06:00
Gregory Nutt
d36da2b560
Fix bad dev[u]random_register() function return value.
2016-07-18 12:25:05 -06:00
Gregory Nutt
078bbe5e5c
All H/W RNG Drivers: Can now be configured to register as /dev/random and/or /dev/urandom
2016-07-18 11:10:37 -06:00
Gregory Nutt
1660329d06
Rename up_rnginitialize to devrandom_register
2016-07-18 10:55:37 -06:00
Pierre-noel Bouteville
76f12b1f69
I'm using syslog through ITM. In this case syslog_channel function is call before ram initialisation in stm32_clockconfig. But syslog channel uses a global variable that is reset to default by the RAM initialization.
2016-07-14 07:29:39 -06:00
Gregory Nutt
beaca7a17f
Merge remote-tracking branch 'origin/master' into timekeeping
2016-07-13 10:22:38 -06:00
Max Neklyudov
067f63fc18
STM32: Fix bug in oneshot timer
2016-07-13 10:20:38 -06:00
Gregory Nutt
fb1855244e
STM32 timer: Eliminate a warning
2016-07-11 13:13:17 -06:00
Gregory Nutt
246773faa7
Rename CONFIG_SCHED_TIMEKEEPING to CONFIG_CLOCK_TIMEKEEPING. That is a better compartmentalized name.
2016-07-11 06:54:02 -06:00
Max Neklyudov
8db29071da
timekeeping: initial implementation
2016-07-10 16:14:25 -06:00
Gregory Nutt
c16500dfdb
STM32 timer. More clean up: Add all function prototypes. Reorder functions to match ordering in operations structure.
2016-07-06 14:24:59 -06:00
Gregory Nutt
7c568f249a
STM32: Various fixed to get a clean compile after integrating tickless mode. Mostly because patch came from an old version of NuttX.
2016-07-06 13:37:08 -06:00
Gregory Nutt
711f3318c5
STM32 timer: Reorganize to conform better with the NuttX coding style
2016-07-06 13:36:17 -06:00
Max Neklyudov
d8286a7f47
STM32: Add support for Tickless mode (two timer implementation)
2016-07-06 12:48:30 -06:00
Paul A. Patience
20c611c12b
STM32 CAN: Bitfield definitions should be unsigned
...
Shifting 1 by 31 is undefined behaviour because 1 is signed.
We should probably use 1ul instead of 1 everywhere else,
but for now this silences a compiler warning.
2016-06-29 13:59:33 -04:00
Paul A. Patience
52a4a20efb
STM32L4 CAN: Port support for both RX FIFOs from STM32 CAN
2016-06-29 13:59:29 -04:00
Gregory Nutt
6aa067e929
Mostly costmetic changes from review of last PR
2016-06-29 07:33:30 -06:00
David Sidrane
eacd672ab0
STM32 BBSRAM fixed (and formated) flags
2016-06-28 16:25:04 -10:00
Gregory Nutt
c40c107e7a
STM32 F4 RTC: Fix some long lines
2016-06-28 16:55:06 -06:00
Gregory Nutt
a43da4d107
STM32 CAN: Clone missing stm32_enterinitmode() and _exitinitmode() from STM32L4. Don't know if this is write but is needed to compile.
2016-06-28 14:35:49 -06:00
Paul A. Patience
a4d5845887
efm32, lcp43, stm32, stm32l4: disable interrupts with NVIC_IRQ_CLEAR
2016-06-28 15:12:39 -04:00
Gregory Nutt
8e26d4c8e0
STM32 CAN: More fixes for compilation errors due to blind leverage of STM32L4 CAN filter IOCTLs to STM32
2016-06-27 15:16:13 -06:00
Gregory Nutt
1b5bef5325
STM32 CAN: Fix an error when filter methods were ported from STM32L4
2016-06-27 11:15:37 -06:00
Gregory Nutt
ea8760eb19
Cosmetic changes from review of last PR
2016-06-24 07:20:04 -06:00
Sebastien Lorquet
d3441668ee
Port STM32L4 CAN IOCTLs to STM32
2016-06-24 11:53:17 +02:00
Sebastien Lorquet
6de8dba383
Preliminary rename of stm32 can driver functions
2016-06-24 11:29:31 +02:00
Sebastien Lorquet
8b1a607671
Here is a patch to
...
-remove a wrong comment in atmel mcan ioctl
-add ioctls to set/get bit timing in stm32l4
-add ioctl hooks to allow future management of can id filters.
2016-06-21 06:21:54 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
d40a473f72
Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn().
2016-06-20 09:37:08 -06:00
Gregory Nutt
8021354e01
ullinfo (vs ulinf)
2016-06-19 18:14:27 -06:00
Gregory Nutt
5b2aa7bf99
Remove all traces of CONFIG_SYSLOG
2016-06-19 13:59:43 -06:00
Gregory Nutt
77d01ab1da
Cosmetic changes from review of last PR
2016-06-18 13:00:17 -06:00
Gregory Nutt
d563a205ea
Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #64 )
...
Upstream_nucleo 144
2016-06-18 12:37:23 -06:00
David Sidrane
f8dd4dd3eb
Missing Brace
2016-06-18 08:06:33 -10:00
Gregory Nutt
d20128cc11
STM32: In big change off err() to info(), several debug statements lost their ll property.
2016-06-18 07:40:27 -06:00
David Sidrane
1c472a5ff0
STM32 adc heared file error
2016-06-17 12:48:29 -10:00
David Sidrane
ae04f25965
Clean up and Use two level include 74xx77xx ADC
2016-06-17 12:48:29 -10:00
Gregory Nutt
0d3ecb3ddd
Fix another victim of the mass name changes: xyz_errmonitor->xyz_dbgmonitor
2016-06-17 07:00:33 -06:00
Pascal Speck
794a64a99b
hen configuring a GPIO via stm32_configgpio() the function will first set the mode to output and then set the initial state of the gpio later on. If you have an application with an externaly pulled-up pin, this would lead to a glitch on the line that may be dangerous in some applications (e.G. Reset Line for other chips, etc). This changes sets the output state before configuring the pin as an output.
2016-06-17 06:23:18 -06:00
Gregory Nutt
46de4a5779
Fix another search and replace error from last set of changes
2016-06-16 18:19:37 -06:00
Gregory Nutt
4a34540e8f
Eliminate a warning
2016-06-16 16:22:01 -06:00
Gregory Nutt
088e9920a8
Cosmetic: Fix some long lines in comment blocks
2016-06-16 15:45:57 -06:00
Gregory Nutt
5ecb8da118
Eliminate a warning
2016-06-16 15:26:19 -06:00
Gregory Nutt
a63072d080
Fix yet more typos from the last commits
2016-06-16 15:06:13 -06:00
Gregory Nutt
ae13471244
One more time. Correct name of USB debug macros are uinfo and uerr, not usbinfo and usberr.
2016-06-16 13:36:37 -06:00
Gregory Nutt
865150f666
STM32: Logic to reset backup domain only applies if the RTC is enabled.
2016-06-16 13:36:50 -06:00
Gregory Nutt
53ec3ca1a2
Fix a cut-and-paste error: uusbinfo->usbinfo
2016-06-16 13:18:59 -06:00
Gregory Nutt
e60ced1835
Update last change... STM32 does not have STM32_RTC_BKR register.
2016-06-16 12:51:21 -06:00
Gregory Nutt
bf0a3bf0c8
Fix error in recent LSE-related fix: Requires CONFIG_STM32_PWR, or will not build correctly
2016-06-16 12:43:35 -06:00
Gregory Nutt
6c1678d1d9
STM32 Ethernet: Fix a bad cut and paster error from recent changes
2016-06-16 12:35:57 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
fdaf3d7268
STM32: Move backup domain reset to stm32_rcc.c in order to avoid disabling LSE during RTC initialiation.
2016-06-16 09:52:15 -06:00
Gregory Nutt
f9652812e2
Change *err() to either info() or err(ERROR:..), depending upon if an error has occurred.
2016-06-16 09:38:16 -06:00
Gregory Nutt
b7f0fbc073
Centralize definitions associated with CONFIG_DEBUG_RTC
2016-06-16 07:39:23 -06:00
Gregory Nutt
6b517ed017
Centralize definitions associated with CONFIG_DEBUG_WATCHDOG
2016-06-16 06:28:04 -06:00
Gregory Nutt
03cbe671ad
Centralize definitions associated with CONFIG_DEBUG_PWM
2016-06-15 17:23:56 -06:00
Gregory Nutt
5c89b18af8
Centralize definitions associated with CONFIG_DEBUG_I2C
2016-06-15 16:30:12 -06:00
Gregory Nutt
63b1eb09e6
Centralize definitions associated with CONFIG_DEBUG_CAN
2016-06-15 15:45:27 -06:00
Gregory Nutt
6d9a0511ad
Rename CONFIG_DEBUG_HEAP to CONFIG_HEAP_COLORATION
2016-06-15 14:48:06 -06:00
Gregory Nutt
f2cac0ceb7
Merged in K-man23/nuttx/stm32f411-fix (pull request #60 )
...
Add GPIO_I2C2_SDA_4 to STM32F411
2016-06-15 11:58:40 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Konstantin Berezenko
89b192d080
Add GPIO_I2C2_SDA_4 to STM32F411
2016-06-15 09:06:08 -07:00
Gregory Nutt
c4e6f50eac
Centralize definitions associated with CONFIG_DEBUG_IRQ
2016-06-15 08:35:22 -06:00
David Sidrane
0bded28cf3
Fix some naming errors that were recently introduced with mass substirutions
2016-06-14 09:42:04 -06:00
Gregory Nutt
a98bc05f65
New debug macro: alert(). This is high priority, unconditional output and is used to simplify and stanardize crash error reporting.
2016-06-14 09:07:53 -06:00
Gregory Nutt
0f249016a0
Eliminate some warnings
2016-06-13 14:01:32 -06:00
Gregory Nutt
26718cee5c
Eliminate some warnings when CONFIG_DEBUG_FEATURES is enabled, but no output is enabled
2016-06-12 14:44:04 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Gregory Nutt
e6ca12f4c3
Changes from review of last PR
2016-06-09 16:57:05 -06:00
Konstantin Berezenko
2ebdcb463e
Fix compilation errors in debug mode of stm32_pwm.c
2016-06-09 15:48:08 -07:00
Gregory Nutt
48c9aa08a3
Merged in marten_svanfeldt/nuttx-public/for_upstream/stm32_dma_fix (pull request #43 )
...
Fix STM32 DMA code and configuration for STM32F37X chips
2016-06-09 09:10:13 -06:00
David Sidrane
44ead7f40a
Fix email address in file headers
2016-06-09 08:26:14 -06:00
Marten Svanfeldt
1b36526e91
Fix STM32 DMA code and configuration for STM32F37X chips
...
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2016-06-09 05:02:43 +02:00
Konstantin Berezenko
3fc7b6f0e5
Add stm32f105r support
2016-06-06 12:52:41 -07:00
Gregory Nutt
053ac343fd
STM32 PWM: More review changes from last commit; improve handling of unsigned types
2016-06-05 16:01:29 -06:00
Pierre-noel Bouteville
0bd444ae47
Just update duty if frequency is not changed and PSM started. This removeis glitch or blinking when only duty is frequently changed.
2016-06-05 15:35:43 -06:00
Gregory Nutt
6b84637a5b
Update some comments
2016-06-04 13:04:13 -06:00
Gregory Nutt
4965d0dc99
KL and LPC11: Perform similar name change as for STM32: xyz_lowputc -> up_putc
2016-06-04 11:29:27 -06:00
Alan Carvalho de Assis
86cfcfd58a
Add the up_getc() function to STM32 in order to support the minnsh configuration.
2016-06-04 07:22:45 -06:00
Gregory Nutt
37e8536a88
STM32: Put timer selections in a separate menu
2016-06-04 07:11:05 -06:00
Gregory Nutt
34df98d97e
Use DEBUG assertions to save space
2016-06-03 14:49:05 -06:00
Gregory Nutt
704fadb0e6
STM32 TIM: Assure that a compilation error will occur if the old timer input clock frequency definitions are used
2016-06-03 14:17:18 -06:00
Gregory Nutt
3ec2386be8
STM32 TIM: There is a TIM17 on some parts too
2016-06-03 14:08:28 -06:00
Gregory Nutt
282edefab3
STM32 TIM: Add hooks for all previously unsupported timers. Also fix some PWM warnings.
2016-06-03 13:51:43 -06:00
Gregory Nutt
c11e923ad4
Fix a cut'n'paste error left from last commit.
2016-06-03 12:11:55 -06:00
Gregory Nutt
910bac65fa
STM32 Timer: Generalize and extend calculation of per-timer pre-scaler value. Inspired by original proposal from Pierre-noel Bouteville.
2016-06-03 11:38:59 -06:00
Gregory Nutt
88a41862b5
Revert "STM32 Timer Driver: Change calculation of per-timer pre-scaler value"
...
This reverts commit 082d32226b
.
2016-06-03 09:41:17 -06:00
Pierre-noel Bouteville
082d32226b
STM32 Timer Driver: Change calculation of per-timer pre-scaler value
2016-06-03 08:45:22 -06:00
Pierre-noel Bouteville
426e425a55
Correct conditional compilation in STM32 timer cpature logic
2016-06-03 08:41:53 -06:00
Pierre-noel Bouteville
6a2a0bf11f
Note reserved bits in STM32 ADC
2016-06-03 08:39:17 -06:00
Gregory Nutt
fcdc17056b
STM32 F4 RTC: I believe that the F405/407 has only a single alarm. Not sure.
2016-06-02 15:04:23 -06:00
Gregory Nutt
82c73e206e
STM32 F4 RTC, trivial changes
2016-06-02 07:58:13 -06:00
Gregory Nutt
2f974ffeaf
Merged in david_s5/nuttx/upstream_to_greg (pull request #37 )
...
Fix the Value Line adc IRQ number selection
2016-05-31 19:18:11 -06:00
Gregory Nutt
82dec4acab
STM32F4 RTC: Remove 24 hour limit; Fix calculation of the alarm register (was not including day of the month). Fix a bad shift value
2016-05-31 19:13:21 -06:00
David Sidrane
70f2b47a0d
Fix the Value Line adc IRQ number selection
2016-05-31 14:54:04 -10:00
Gregory Nutt
6eac8bf28d
Update some comments
2016-05-31 17:31:15 -06:00
Gregory Nutt
15810946b1
Update some comments
2016-05-31 17:28:02 -06:00
Gregory Nutt
8ca5daf2b3
Changes from review of last PR
2016-05-31 15:52:56 -06:00
neilh10
639410849e
alarm 10 now runs to completion
2016-05-31 14:17:52 -07:00
Pierre-noel Bouteville
39c1e3aba2
Allow to not use all channet in a lower part of PWM
2016-05-30 11:58:22 -06:00
Gregory Nutt
f65616f872
Replace confusing references to uIP with just 'the network'
2016-05-30 09:16:32 -06:00
Konstantin Berezenko
5c6cd17d46
Add support for SPI 4 and 5 on stm32f411 chips
2016-05-27 11:08:18 -07:00
Gregory Nutt
3d3b7b5422
EFM32, STM32, TIVA: Allow lower half driver to build if any ADC is selected. Should not depend on CONFIG_ADC.
2016-05-27 06:46:33 -06:00
Gregory Nutt
31ac3f5123
STM32 ADC: Missed on adc_receive
2016-05-26 12:42:34 -06:00
Gregory Nutt
8f2a660c8b
Add ADC bind method to the STM32 ADC drivers
2016-05-26 12:25:54 -06:00
Gregory Nutt
783bab6c82
Costmetic changes from review of last PR
2016-05-25 18:04:39 -06:00
Gregory Nutt
3603dc6218
1-wire: Initialization/uninitialization functions are not use MCU-independent up_ naming. Should use STM32-specific stm32_ naming. These are not globally accessible but only accessible from STM32 board logic.
2016-05-25 17:56:47 -06:00
Paul A. Patience
d31aefe4ef
STM32 CAN: Add support for both RX FIFOs
2016-05-25 16:11:18 -04:00
Gregory Nutt
add152bf24
Update README
2016-05-25 14:07:59 -06:00
Gregory Nutt
4a63a7760a
STM32: Hook 1-Wire driver into the build system
2016-05-25 12:31:32 -06:00
Gregory Nutt
2a87741e72
Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER
2016-05-25 10:45:01 -06:00
Gregory Nutt
249a2e48e5
Rename CONFIG_ARCH_HAVE_USARTn to CONFIG_USARTn_SERIALDRIVER
2016-05-25 10:39:23 -06:00
Aleksandr Vyhovanec
52c6cb1799
Fix typographical naming error in STM32 U[S]ART bit defintiions.
2016-05-25 09:04:03 -06:00
Aleksandr Vyhovanec
9a2002a302
1-wire driver based on U[S]ART in single-wire, half-duplex mode.
2016-05-25 08:59:47 -06:00
Konstantin Berezenko
a2253cdd3e
Add basic configuration for stm32f411e-disco board with STM32F411VE chip
2016-05-20 16:38:25 -07:00
Gregory Nutt
72de45b7cf
Merged in david_s5/nuttx/upstream_to_greg (pull request #21 )
...
Fixed Break changes needed CONFIG_SERIAL_TERMIOS to build
2016-05-17 18:09:23 -06:00
David Sidrane
f444f061d6
Fixed Break changes needed CONFIG_SERIAL_TERMIOS to build
2016-05-17 14:04:51 -10:00
Gregory Nutt
5fc619eb1b
Changes from review of last PR
2016-05-17 17:39:27 -06:00
David Sidrane
b11f49e7f1
Support BSD compatible breaks on stm32 U[S]ART
2016-05-17 13:09:34 -10:00
David Sidrane
55d8b0e277
Use the correct register and bit to send an STM32 non-bsd compatible break
2016-05-17 07:55:33 -10:00
Gregory Nutt
c00e3e55dc
Fix several places in DMA logic where a spurious semicolon causes bad conditional logic
2016-05-11 17:42:59 -06:00
Gregory Nutt
050f544782
Fix typo in variable name in serial BREAK logic. Review other serial implementations for similar naming problems.
2016-05-05 11:30:47 -06:00
Marco Krahl
8b36a83df1
stm32: fix wrong FSCM pin mapping for stm32f42x
2016-04-22 07:27:00 -06:00
Gregory Nutt
aa64214877
FB: Add a display number to the framebuffer planeinfo structure
2016-04-17 10:08:27 -06:00
Gregory Nutt
46846c0c24
Framebuffer driver: Add a display number to each interface in order to support multiple displays
2016-04-14 12:23:15 -06:00
Sergei Ustinov
8a5bf3c230
STM32 DAC output buffers correct enable.
2016-04-10 08:51:59 -06:00
Gregory Nutt
b4fc040783
RTC: Fix some compile issues when RTC_ALARM is disabled
2016-04-04 09:24:06 -06:00
Gregory Nutt
8a076d4c09
Eliminate a warning
2016-04-04 08:30:03 -06:00
Gregory Nutt
1e4674e535
STM32 RTC alarm: Use modifyreg32 for consistency
2016-04-04 08:28:01 -06:00
Gregory Nutt
1ea7b48677
RTC lower half was missing call to F4 alarm cancel function
2016-04-04 08:23:09 -06:00
Gregory Nutt
531b9f6626
STM32 RTC alarm: remove some if 0ed out logic.
2016-04-04 08:16:53 -06:00
Gregory Nutt
19aa5880e7
STM32 RTC Alarm: Add Neil's alarm cancellation logic
2016-04-04 08:15:48 -06:00
Gregory Nutt
65dc922a2e
STM32 RTC: Fix compile errors for STM32 F1
2016-04-03 13:26:29 -06:00
Gregory Nutt
a573617f33
Costmetic renaming
2016-04-03 12:38:02 -06:00
Gregory Nutt
9f0df8180a
STM32 RTC: Fix some errors when RTC debug is enabled
2016-04-03 09:52:08 -06:00
Gregory Nutt
6b3b12ee0a
STM32 RTC: Move the logic to set a relative alarm from the low level RTC driver up higher into the RTC device driver lower half.
2016-04-03 09:22:02 -06:00
Gregory Nutt
e904d98915
STM32 RTC: Add implementation of logic to set the alarm relative to the current time
2016-04-02 18:17:46 -06:00
Gregory Nutt
a609880839
STM32 F4 RTC: Add support for setting alarm via driver
2016-04-02 17:38:19 -06:00
Gregory Nutt
0fccd81eff
cosmetic update
2016-04-02 14:58:01 -06:00
Gregory Nutt
9bc38d19d9
RTC: Further simplications of the RTC driver interface; Add sample implementation of alarms for F1
2016-04-02 13:54:18 -06:00
Gregory Nutt
5fdefa1aad
Minor cleanup of STM32 alarm stuff
2016-04-02 13:11:57 -06:00
Gregory Nutt
476301e5a4
STM32: Adapt the lower half RTC driver to the new, simplified interface
2016-04-02 12:58:47 -06:00
Neil Hancock
5ac54013d2
STM32 F4: Add a custom RTC driver
2016-04-02 10:46:10 -06:00
Aleksandr Vyhovanec
472115eda9
ARMv7-M: Add support for the IAR compiler
2016-04-02 08:14:09 -06:00
Gregory Nutt
bd2da2f543
ARMv7-M: Add toolchain option to select the IAR tools. Move ARMv7-M assembly language into a gnu/ subdirectory. Makefile selects iar/ or gnu/ directory based upon tool configuration
2016-04-02 07:53:52 -06:00
Aleksandr Vyhovanec
29ab0fb991
STM32: Add support for the IAR compiler
2016-04-02 06:58:55 -06:00
Gregory Nutt
267e20c729
PM: Add domain to all PM interfaces. Internal PM data structures now handle multiple PM domains.
2016-03-27 13:01:32 -06:00
Gregory Nutt
32acc35c88
PM: Add activity domain to all PM callbacks
2016-03-27 11:18:54 -06:00
Paul A. Patience
2f187f8714
STM32 DAC: Fix DMA support for STM32F2xxx and STM32F4xxx
2016-03-20 17:26:40 -04:00
Gregory Nutt
51be83aa3a
ARM: Fix missing header file. Update comments in all *_irq.c files.
2016-03-09 15:08:58 -06:00
Gregory Nutt
4d4f54a789
Rename current_regs to g_current_regs; For ARM, g_current_regs needs to be an array to support multiple CPUs
2016-03-09 13:41:48 -06:00
Gregory Nutt
52d777fa8d
Merged in paulpatience/nuttx-arch/stm32f469 (pull request #56 )
...
STM32: Add support for STM32F46xxx
2016-03-01 11:53:07 -06:00
Gregory Nutt
f552aa3ee8
Merged in paulpatience/nuttx-arch/stm32f30xxx_pinmap (pull request #55 )
...
STM32: Rename STM32F30xxx ADC pins to be more consistent
2016-03-01 11:38:44 -06:00
Paul A. Patience
099990f3da
STM32: Add support for STM32F46xxx
2016-03-01 12:18:07 -05:00
Paul A. Patience
221b49cf05
STM32: Rename STM32F30xxx ADC pins to be more consistent
2016-03-01 09:55:59 -05:00
Gregory Nutt
0da57e1b53
It is too late to be doing this... Fix the spacing error introduced with the second correction to the spelling error
2016-02-24 17:56:40 -06:00
Gregory Nutt
29297da2a7
Another spelling error
2016-02-24 17:55:30 -06:00
Gregory Nutt
550e0f945b
STM32 I2C: Fix some spelling; duplicate I2C reset fix on other variants of the driver
2016-02-24 16:45:45 -06:00
David Sidrane
3b871c4fa2
No really removed spaces
2016-02-24 22:23:39 +00:00
David Sidrane
052b45db0a
Added spacing back
2016-02-24 22:21:07 +00:00
David Sidrane
aa6968dcd5
Ensures frequency is updated on reinitalized bus
2016-02-24 12:02:11 -10:00
Gregory Nutt
9c63736c98
Standard some naming if code sectino comments
2016-02-21 18:06:09 -06:00
Gregory Nutt
441cd2bf1c
Fix a typo introduced in last set of name changes
2016-02-14 19:58:30 -06:00
Gregory Nutt
8b7dd552a3
Fix a typo introduced in last big set of name changes
2016-02-14 17:44:45 -06:00
Gregory Nutt
666cc280f4
Rename irqenable() to up_irq_enable(); rename irqdisable() to up_irq_disable()
2016-02-14 16:54:09 -06:00
Gregory Nutt
83bc1c97c3
Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore()
2016-02-14 16:11:25 -06:00
Gregory Nutt
70e502adb0
Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-13 19:11:09 -06:00
Gregory Nutt
3caffdd82e
Standardization of some naming in preparation for a large automated change
2016-02-13 12:57:09 -06:00
Gregory Nutt
a6eb9a351c
Add spinlock support for ARMv7-M architectures
2016-02-09 13:44:22 -06:00
Gregory Nutt
1166e311b0
Networking: Remove the HSEC argument from devif_timer.
2016-02-03 11:17:15 -06:00
Gregory Nutt
d2b2cd3415
Duplicate Manuel's EMAC driver fix to every other driver that supports CONFIG_NET_NOINTS
2016-02-03 10:33:22 -06:00
Manuel Stuehn
7236e742ab
STM32 Ethernet: Fix a cornercase where the TX poll timer is not restarted.
2016-02-03 08:24:49 -06:00
Gregory Nutt
1e4f2ae2c1
Rename up_i2c initialize and uninitialize functions using the correct MCU-specific naming
2016-02-02 12:08:23 -06:00
Gregory Nutt
d2571985ef
I2C: up_i2creset should not be a global function; Now it is an I2C interface method
2016-02-02 11:21:45 -06:00
Gregory Nutt
30624c8dfa
EFM32, STM32, and Tiva I2C Drivers: Clean up some kruft that is no longer needed after the last massive I2C interfcase change
2016-02-01 19:51:55 -06:00
Gregory Nutt
0693e76be8
I2C: Remove the setfrequency method from the interface
2016-02-01 16:30:29 -06:00
Gregory Nutt
a64f36a63e
I2C: Remove setaddress method
2016-02-01 12:14:20 -06:00
Gregory Nutt
ce988c7ed3
Remove the read and write methods from the I2C interface
2016-02-01 09:22:10 -06:00
Gregory Nutt
2171438c61
I2C_TRANSFER support is no longer optional
2016-01-31 14:00:53 -06:00
Gregory Nutt
531d73af41
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:35:46 -06:00
Gregory Nutt
9f9b85a932
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 07:59:44 -06:00
Freddie Chopin
8203659ee5
stm32_rtc_endwr(): wait for RTC_CRL_RTOFF bit to be set. This ensures that the write "reaches" RTC registers before access is disabled by stm32_pwr_enablebkp().
2016-01-28 16:58:02 -06:00
Gregory Nutt
04bbd8c67f
For STM32, rename up_spiinitialize to stm32_spibus_initialize
2016-01-26 12:22:27 -06:00
Gregory Nutt
c0fb4e34a7
I2C: Eliminate the I2C_WRITEREAD method
2016-01-26 10:23:09 -06:00
Gregory Nutt
b7cbbab761
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:10:21 -06:00
Gregory Nutt
4bd6adb725
Add dummy hwfeatures method to all SPI interfaces
2016-01-23 15:09:38 -06:00
Gregory Nutt
5ebd84c890
Update to use 64-bit timer when available
2016-01-21 11:53:58 -06:00
Paul A. Patience
3ecdb0c21c
STM32 TIM: Fix comment
2016-01-19 17:02:00 -05:00
Gregory Nutt
b7e9fb9284
Merged in paulpatience/nuttx-arch/stm32_qencoder (pull request #52 )
...
STM32 QEncoder: Fix typo
2016-01-19 15:47:07 -06:00
Paul A. Patience
d81001326c
STM32 QEncoder: Fix typo
2016-01-19 16:44:21 -05:00
Paul A. Patience
26a434d76a
STM32 TIM: Fix typos and add forgotten bit
2016-01-19 15:49:03 -05:00
Frank Benkert
dd13fcde44
CAN: Add more extensive error reporting information
2016-01-18 12:21:20 -06:00
Gregory Nutt
74c7e3d0bf
STM32 OTF FS/HS Host. Fix two cases where stm32_putreg parameters were backward. Noted by Hang Xu
2016-01-18 08:10:37 -06:00
Paul A. Patience
196d379010
STM32 QEncoder: Fix some typos
2016-01-17 21:52:03 -05:00
Juha Niskanen
8a671d604d
stm32/chip: Fix STM32L15 TIM5 base address.
2016-01-11 07:25:50 -06:00
Gregory Nutt
ba0f5467d0
A few more cosmetic changes
2015-12-24 07:38:17 -06:00
Gregory Nutt
376b35be39
Mostly cosmetic changes from review for conformance to coding standard
2015-12-24 07:35:19 -06:00
pnb
400d06e9ec
fix capture bug
2015-12-24 12:26:39 +01:00
pnb
709c257a43
cosmetic
2015-12-24 09:45:02 +01:00
pnb
e22d8aea5d
add oter timer
2015-12-24 09:42:33 +01:00
pnb
cfe9555e24
capture start to works need test it more
2015-12-23 19:07:45 +01:00
pnb
54b275ec09
Merge branch 'master' of bitbucket.org:pnb990/nuttx-kernel-arch
2015-12-22 16:32:19 +01:00
pnb
9cc2119c4e
capture compile
2015-12-22 16:28:19 +01:00
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
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
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
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
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
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
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
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
cbc2f226c0
Merged in paulpatience/nuttx-arch/stm32_pinmap (pull request #38 )
...
STM32: Fix typos in pinmaps
2015-12-14 08:59:47 -06:00
Paul A. Patience
89da1f27dd
STM32: Fix typos in pinmaps
2015-12-14 09:41:49 -05:00
Paul A. Patience
7589e940b6
STM32: Fix typos in STM32F30xxx pinmap
2015-12-14 09:36:28 -05: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
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
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
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
8ce454a584
Remove some warnings; eliminate unused variables
2015-11-26 12:46:53 -06: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
Paul A. Patience
52454cf79b
Fix typo
2015-11-11 13:06:15 -05:00
Gregory Nutt
1c79e77811
ARMv7-M: Minor naming change to improve readability
2015-11-06 11:24:52 -06:00
Paul A. Patience
7d793bb99b
STM32 ADC: Add support for STM32F30xxx
2015-11-05 10:13:58 -05:00
Gregory Nutt
96cee3709a
Merged in paulpatience/nuttx-arch/stm32_pwm (pull request #28 )
2015-11-01 16:51:32 -06: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
pnb
d1b4d55343
pwm duty can by zero
2015-11-01 14:45:12 +01: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
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
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
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
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
53f6fd6e66
STM32: Correct some spacing issues
2015-10-07 13:45:15 -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
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
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
36726b1bc4
Standardize the width of all comment boxes in header files
2015-10-02 17:42:29 -06:00
Gregory Nutt
ddf936c913
Various fixes for compilation issues found by tools/testbuild.sh
2015-10-01 11:09:39 -06:00
Gregory Nutt
166d307add
STM32: Fix conditional compilation of TIM SYSLOG initialization
2015-10-01 08:39:21 -06: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
473a3cf2a6
STM32: Trivial chnages from review of merge
2015-09-23 15:00:47 -06:00
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