raiden00pl
15dc86ddbb
stm32_hrtim: fix capture_get function, add software capture trigger, add software reset trigger, add outputs polarisation configuration
2018-03-04 12:28:26 +01:00
Mateusz Szafoni
160931ba72
Merged in raiden00/nuttx (pull request #607 )
...
stm32f33xxx_adc.c: fix bug in RCC reset logic that resets ADC1 configuration when both ADC1 and ADC2 are in use
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-03-02 20:00:52 +00:00
Mateusz Szafoni
2e5bef89b8
Merged in raiden00/nuttx (pull request #606 )
...
stm32_hrtim: add repetition support and fix enum overflow
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-27 18:53:08 +00:00
Juha Niskanen
2fd9728a3a
arch/arm/src/stm32: stm32_flash.c: add progmem support for STM32L15XX
2018-02-20 07:05:07 -06:00
Gwenhael Goavec-Merou
5ec2b9d6fe
arch/arm/src/stm32/stm32f33xxx_rcc.c: A flash wait state configuration. Flash latency must be fixed according to sysclk frequency. If this operation
...
is not done or done after PLL configuration, the STM32 fail to continue boot
operation if the frequency if greater than 24MHz. This common t add this operation according to the board variable STM32_SYSCLK_FREQUENCY. Tested on stm32f334-disco board.
2018-02-17 12:27:29 -06:00
Alexander Oryshchenko
9b812e3fa3
arm/arm/src/stm32: Corrections to STM32 F4 I2C to fix the NORESTART flag.
2018-02-13 11:41:57 -06:00
Alexander Oryshchenko
643234dbcc
arm/arm/src/stm32: Corrections to STM32 F4 I2C to restore functionality.
2018-02-13 08:51:53 -06:00
Mateusz Szafoni
118e97ff37
Merged in raiden00/nuttx (pull request #595 )
...
Master
stm32_hritm: add interface to set timer frequency, fix slave timers reset configuration, change POWER_INFO to TIMER_INFO
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-11 13:12:00 +00:00
Gregory Nutt
1e59d9dd14
armv7-a, armv7-r, armv7-m: Add atomic read-add-write and read-subtract-write functions.
2018-02-04 12:22:03 -06:00
Gregory Nutt
2683f713ab
Make sure that labeling is used consistently in all function headers (part 3).
2018-02-01 12:17:03 -06:00
Gregory Nutt
1567b82429
Make sure that labeling is used consistently in all function headers (part 2).
2018-02-01 12:03:55 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Gregory Nutt
da50646bcf
sched/wdog: wd_start() is an internal OS function and should not set the errno value. Reviewed and updated every call to wd_start() to verify if return value is used and if so if the errno value is accessed.
2018-01-31 10:09:14 -06:00
Gregory Nutt
3521aaf944
Squashed commit of the following:
...
binfmt/, configs/, grahics/, libc/, mm/, net/, sched/: OS references to the errno variable should always use the set_errno(), get_errno() macros
arch/arm/src/stm32 and stm32f7: Architecture-specific code is not permitted to modify the errno variable. drivers/ and libc/: OS references to the errno variable should always use the set_errno(), get_errno() macros
2018-01-30 17:57:36 -06:00
Mateusz Szafoni
0afbcb0bab
Merged in raiden00/nuttx (pull request #585 )
...
Master
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-28 13:46:17 +00:00
raiden00pl
cec8709ec1
stm32/Kconfig: fix COMP7 dependency
...
stm32_hrtim: add HRTIM push-pull mode configuration
stm32f334-disco: add buck-boost converter mode
2018-01-28 11:06:08 +01:00
Gregory Nutt
12e3e47d3c
Update comments, mostly spelling errors.
2018-01-27 09:37:46 -06:00
Gregory Nutt
49d07162bf
arch/arm/src/stm32: stm32_rtcc.h should be used to access BKP registers on F2, F3, and F4.
2018-01-26 11:34:48 -06:00
Gregory Nutt
bffa425233
arch/arm/src/stm32: stm32_bkp.h should only be used for STM32 F1
2018-01-26 11:26:40 -06:00
Gregory Nutt
fc387b9aa0
arch/arm/src/stm32: Remove bogus definitions of STM32_BKP_BASE from the F2, F3, and F4 memory maps. Unlike the F1, these parts do not have a separate BKP address region. The BKP registers are with the RTCC address regions.
2018-01-26 11:18:46 -06:00
Alexander Oryshchenko
d1cfcabb1f
arch/arm/src/stm32/stm32f40xxx_i2c.c: Correct some recent changes to STM32F4 I2C that broke poll mode of operation.
2018-01-24 06:58:47 -06:00
Alexander Oryshchenko
a7e56359a4
arch/arm/src/stm32/stm32_spi.c: Removed unnecessary (and incorrect) speed limitation
2018-01-24 06:57:17 -06:00
Alexander Oryshchenko
dd4fc9f5c3
arch/arm/src/stm32: Make STM32 usable with an external RTC. drivers/timers/ds3231.c: Correct some debug statments.
2018-01-24 06:55:14 -06:00
Gregory Nutt
a8b6be4aaf
The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL. The former enables the method, the later enables a subset of possible driver IOCTLs. This change should be basically a no-operation. The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method.
2018-01-22 08:17:45 -06:00
Mateusz Szafoni
5af7e3de2a
Merged in raiden00/nuttx (pull request #579 )
...
Master
* stm32_hritm: add interface to get timer clock frequency
stm32_hrtim: fix timer freq calculation
stm32_hrtim: add compar/capture registers significant bits checking
stm32_hrtim: minor changes
* stm32f334-disco: add buck converter and boost converter logic
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-21 18:28:09 +00:00
Mateusz Szafoni
fd5d811b0a
Merged in raiden00/nuttx (pull request #569 )
...
Master
* stm32f33xxx_hrtim.h: fix some definitions
* stm32_hrtim: fix some bugs
stm32_hrtim: fix deadtime configuration
stm32_hrtim: add interface to change outputs SET/RST configuration
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-14 19:00:18 +00:00
Gregory Nutt
0b91074850
arch/arm/src/lpc54xx: Add an RTC driver and a RTC character driver lower half. configs/lpcxpresso-lpc54628: Add logic to register the RTC character driver if it is enabled. Enable the RTC and RTC character driver in the NSH configuration.
2017-12-25 13:56:06 -06:00
Gregory Nutt
7e7bdd181f
Cosmetic fixes to comments, README, and other trivial corrections.
2017-12-25 10:45:47 -06:00
Gregory Nutt
0e6e05bf11
arch/arm/src/kinetis: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 16:26:03 -06:00
Gregory Nutt
87252297d6
arch/arm/src/: Fix a error in last commit that was cloned in three places.
2017-12-17 14:38:20 -06:00
Gregory Nutt
b8ea9e9c64
arch/arm/src/lpc17xx, lpc43xx, and stm32: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 14:29:55 -06:00
Gregory Nutt
318dd06f8b
arch/arm/src/stm32: Fix compile error when trace is enabled. I2CEVENT_ERROR was used but never defined.
2017-11-26 06:51:12 -06:00
Gregory Nutt
5328e3bafb
configs/: CONFIG_QENCODER was renamed to CONFIG_SENSORS_QENCODER: update occurrences in several Kconfig files
2017-11-25 18:46:43 -06:00
Gregory Nutt
d1e234e179
STM32: Remove usb_dumpbuffer() macro from OTGFS device. It cannot be controlled via Kconfig and therefore will not be supported.
2017-11-23 06:37:21 -06:00
raiden00pl
83699beb10
stm32f33xxx_rcc: fix CAN clock enable
2017-11-22 09:26:07 +01:00
Miha Vrhovnik
8bb54368c8
Various fixes for errors ound while debugging OTG on L496
...
STM32, STM32 L4, and STM32 M4: USB OTGFS DMA trace output fix
STM32: Add dump buffer feature to stm32 F4 series
STM32 and STM32 L4: Fix bad USB OTGFS register address
STM32 L4: Fix typo in USB OTGFS register usage
STM32 L4: Add check in USB OTGFS driver to assure that SYSCFG is enabled
Nucleo-L496ZG: Make HSE on Nucleo-L496ZG default to enable USB
2017-11-21 06:32:53 -06:00
Gregory Nutt
102f1ea33f
Minor cleanup of some spacing.
2017-11-13 14:06:03 -06:00
Gregory Nutt
692ebdf9d4
arch/arm/src/stm32/stm32f33xx_adc.c: Eliminate warnings about cj_channels and j_chanlist being set but not used.
2017-11-12 10:17:10 -06:00
Jussi Kivilinna
585b04014f
Merged in jussi_kivilinna/nuttx/stm32l4_serial_pm (pull request #534 )
...
STM32L4 serial PM interface improvements
* stm32l4_serial: pm: check rx/tx buffers for pending data in pmprepare
* stm32l4: remove adhoc PM interfaces and move serial suspend functionality behind CONFIG_PM
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-10 13:05:00 +00:00
Gregory Nutt
b076ff36cb
Update NxWidgets version number
2017-11-07 13:20:03 -06:00
Gregory Nutt
2a331b7f23
Fix some includes missed in the last commit.
2017-11-06 15:01:21 -06:00
Gregory Nutt
08fa834a6a
arch/arm/include/stm32 and stm32f7: Remove ltdc.h and dma2d.h. Those header files in that location permitted inclusion into application space logic and, hence, facilitated and encouraged calling into the OS and violating the portable POSIX OS interface. The definitions in those header files were move the appropriate location in the counterpart, architecture specific files at arch/arm/src/stm32 and stm32f7 dma2d.h and ltdc.h.
...
configs/stm32f429i-disco/ltdc: This configuration has been deleted because it violated the portable POSIX OS interface. It used apps/examples/ltdc and include ltdc.h and dma2d.h which were also removed for the same reason.
2017-11-06 12:22:48 -06:00
Mateusz Szafoni
2fc5237854
Merged in raiden00/nuttx (pull request #529 )
...
Master
* cosmetics
* stm32_hrtim: add helper macros
* smps: cosmetics
* stm32f33xxx_adc: injected channels support, fix some definitions, add interface to disable interrupts
* stm32f334-dsico: beginning of lower-half driver for SMPS (buck-boost onboard converter)
* nucleo-f334r8/highpri: missing ADC trigger configuration
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-05 14:15:04 +00:00
Dmitriy Linikov
ef1ca963a5
Merged in hardlulz/modem-3.0-nuttx/fix-stm32_dmacapable-on-f20xx (pull request #522 )
...
Fix stm32 dmacapable on f20xx
* Fixed build for STM32F20XX platforms when CONFIG_STM32_DMACAPABLE is enabled
* Fixed build for STM32F20XX platforms when CONFIG_STM32_DMACAPABLE is enabled
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-30 19:20:52 +00:00
Dmitriy Linikov
73082f7513
STM32 ADC: Added support for ADC's IO_ENABLE_TEMPER_VOLT_CH ioctl on STM32F10XX and STM32F20XX
2017-10-30 06:21:48 -06:00
Mateusz Szafoni
e3bb78a881
Merged in raiden00/nuttx (pull request #520 )
...
Master
* stm32: add ADC DMA support to STM32F33 configuration
* stm32f33xxx_adc.c: fix compilation if no DMA
* nucleo-f334r8: eliminate warning
* nucleo-f334r8: add highpri example configuration
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-28 14:29:07 +00:00
Mateusz Szafoni
9105ac3e98
Merged in raiden00/nuttx (pull request #516 )
...
Master
* stm32_hrtim: fix warnings related with RCC
* stm32f33xxx_adc: add some publicly visable interfaces and some code to support injected channels
* stm32f33xxx_dma: add public interface to handle with DMA interrupts
* stm32_hrtim: change some names and add some coments
* chip/stm32f33xxx_adc.h: cosmetics
* nucleo-f334r8: add logic for zero latency high priority interrupts example
* stm32: update some ADC-related configuration in Kconfig
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-22 15:46:13 +00:00
Mateusz Szafoni
704ad2faeb
Merged in raiden00/nuttx (pull request #515 )
...
stm32_adc.c: clear pending interrupts
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-20 17:15:48 +00:00
Juha Niskanen
9653255cff
Merged in juniskane/nuttx_stm32l4/stm32l1_stm32l4_rtc_update_pr (pull request #514 )
...
STM32L1, STM32L4 RTC: add periodic interrupts, update L1 RTC implementation
* STM32L4 RTC: add support experimental CONFIG_RTC_PERIODIC
* STM32 RTC: separate STM32L1 RTC into a separate file
STM32L1 RTC is very close to F4 or L4 versions, with two alarms
and periodic wakeup support so backported L4 peripheral to L1.
* RTC: add periodic alarms to upper and lower halves
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-20 17:15:17 +00:00
Mateusz Szafoni
09f3e9ce5c
Merged in raiden00/nuttx (pull request #513 )
...
Master
* stm32f33xxx_adc.c: fix some warnings and compilation error when extsel not in use
* nucleo-f334r8/adc: change serial console to USART2 (STLINK COM)
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-19 20:07:04 +00:00