Fabian Justi
53a94594d6
Merged in Justifa/nuttx (pull request #855 )
...
Master
* arch/arm/src/stm32l4/stm32l4_pwm.c Fix register addr, en_bit and resetbit for pwm timers
* configs/nucleo-l476rg/src/nucleo-l476rg.h Fixed naming stm32l4_pwm_setup
configs/nucleo-l476rg/src/stm32_appinit.c Fixed naming stm32l4_pwm_setup
Approved-by: David Sidrane <david_s5@nscdg.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-17 13:48:37 +00:00
Matous Pokorny
245bf33eb3
configs/nucleo-l476rg/src/stm32_gpio.c, configs/stm32f103-minimum/src/stm32_gpio.c, and drivers/sensors/zerocross.c: Fix some errors when debug assertions are enabled.
2019-03-29 09:11:08 -06:00
Gregory Nutt
a76e137ce2
Squashed commit of the following:
...
sched/init/nx_start.c: Add support for CONFIG_BOARD_DRIVER_INITIALIZE. If this option is selected then nx_start() will call a board-provided function board_driver_initialize() immediately after calling up_initialize().
Rename CONFIG_BOARD_INITIALIZE to CONFIG_BOARD_LATE_INITIALIZE.
Raname board_initialize() to board_late_initialize()
2019-02-18 15:32:00 -06:00
raiden00pl
af8a002a10
Merged in raiden00/nuttx_h7 (pull request #720 )
...
I2C support for STM32H7
* stm32h7/chip.h: update peripherals
* stm32h7x3xx_rcc.h: update definitions
* stm32h7x3xx_rcc.c: remove some unused code and configure I2C clocks
* stm32h7: add lower half I2C driver (based on F7 I2C driver)
* configs/nucleo-h743zi: add LSM303AGR and LSM6DSL configuration
* Remove whitespace
* sensors/lsm303agr.c, sensors/lsm6dsl.c: add mising include, remove whitespace
Approved-by: GregoryN <gnutt@nuttx.org>
2018-09-16 15:58:25 +00:00
Gregory Nutt
3a4984a40b
Rename file_close_detached() to juse file_close() for better consistency in naming.
2018-09-15 13:04:56 -06:00
Gregory Nutt
a7fd58c4db
Squashed commit of the following:
...
many locations: Change occurences of open() followed by file_detach() to file_open(). Change most non-controversion calls to open() to nx_open().
fs/inode/fs_fileopen.c: Flesh out file_open() with some interim, placeholder logic.
fs/inode/fs_fileopen.c: Add a framework for a file_open() implementation (no real logic in place yet).
fs/vfs/fs_open.c: Add nx_open() which is the same as open() except that it does not create a cancellation point nor does it modify the errno variable.
2018-09-15 10:49:41 -06:00
Xiang Xiao
c24fdb3ada
configs: Fix build error caused by commit 459d9f2851536e48e37ffee527944ca
2018-09-11 07:24:29 -06:00
DisruptiveNL
cd2ced4d9a
drivers/sensors and configs/nucleo-l476g: Add support for LSM303AGR and LSM6DSL sensors
2018-08-25 08:19:31 -06:00
Gregory Nutt
8c61c2f31b
Remove trailing spaces at the end of lines.
2018-08-13 07:39:38 -06:00
Gregory Nutt
5f6293b93d
configs/nucleo-l476rg: Fix some confusional in conditional logic introduced by a recent patch.
2018-06-27 13:14:13 -06:00
Gregory Nutt
99c8d2f801
configs/nucleo-l476rg: Add support for an extern SPI-driver SPI card on the Nucleo-L476RG.
2018-06-26 15:28:14 -06:00
Alan Carvalho de Assis
3b26e4a5a5
configs/nucleo-l476rg: Add support to Nokia LCD PCD8544 on nucleo-l476rg
2018-04-28 16:20:26 -06:00
DisruptiveNL
0e142aeee1
DisruptiveNL <disruptivesolutionsnl@gmail.com>
2018-04-08 07:30:19 -06:00
Alan Carvalho de Assis
b4c1ac0659
This commit removes all support and all references to the Spark board and to the CC3000 wireless part.
...
Squashed commit of the following:
Author: Gregory Nutt <gnutt@nuttx.org>
Fix a few remaining refereces to cc3000.
Author: Alan Carvalho de Assis <acassis@gmail.com>
drivers/wireless/cc3000: emove the driver to support CC3000 because it doesn't use the USRSOCKET
Author: Alan Carvalho de Assis <acassis@gmail.com>
configs: Remove board support to CC3000 from all relevant configurations.
Author: Gregory Nutt <gnutt@nuttx.org>
configs/spark: Removes Spark board configuration. Still available in the Obsoleted repository. This is preparation for removal of CC3000 support by Alan Carvalho de Assis. If there is no CC3000 support, then there is no purpose in supporting the Spark either.
2018-04-04 09:34:23 -06:00
lihaichen
6538e4750f
drivers/wireless: Fix some issues in the CC1101 driver; Update the CC1101 chip version number
2018-03-19 09:25:41 -06:00
Author: lihaichen
afe5f706f6
Squashed commit of the following:
...
cc1101: Changes from review of last PR.
remove gpio
remove cc1101 frame len
remove FLAGS_RXONLY flags
add cc1101 function
remove some waring
add cc1101 poll function
add cc1101 register
add cc1101 isr read data
add cc1101 spi deviceId
add cc1101 init2
add wait cc1101 chip ready
raw init cc1101
2018-03-03 08:53:51 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Juha Niskanen
802f146781
configs/nucleo-* and configs/stm32l476vg-disco: Fix more stm32_userleds.c bogus logic
2018-01-16 07:20:41 -06:00
Gregory Nutt
e761b80ea7
fs/vfs: file_read() is an internal OS interface and should not errors via the errno
2017-09-28 14:14:32 -06:00
Juha Niskanen
0a1da7eaca
configs: update STM32L4 configs for ADC changes
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2017-08-30 11:40:58 +03:00
Gregory Nutt
dc8f3778a9
drivers/sensors: Fix more naming of configurations to be compliant for two more drivers. Still a few more to go.
2017-08-24 10:26:53 -06:00
Gregory Nutt
2319ea53a9
STM32L4: Eliminate a warning about implicit definition of function. While we are at it, let's improve the naming a little too.
2017-07-22 09:53:29 -06:00
Gregory Nutt
c67b807f43
configs/: Remove dangling spaces at the end of lines in *.c and *.h files.
2017-06-28 13:21:20 -06:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Sebastien Lorquet
aca2e36d67
stm32 devboards
2017-04-28 18:26:05 +02:00
Gregory Nutt
2e6908b384
IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h.
2017-04-27 16:58:30 -06:00
Gregory Nutt
39b62c6b46
Changes from review of last PR
2017-04-13 06:50:33 -06:00
Gregory Nutt
77f980e676
Buttons: Correct some comments left after last button-related change: 32- vs 8-bit bit set.
2017-04-09 14:44:49 -06:00
Gregory Nutt
f9e402018b
Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported.
2017-04-09 07:22:49 -06:00
Sebastien Lorquet
28e74ec058
Nucleo L476RG: More naming fixes.
2017-03-29 07:16:27 -06:00
Sebastien Lorquet
db8b38f848
STM32 L4: More SPI clean-up. Lower case replacements.
2017-03-28 08:58:43 -06:00
Sebastien Lorquet
9221e15811
STM32 L4: Fix some bad naming in the SPI driver.
2017-03-28 07:28:55 -06:00
Gregory Nutt
3949ab38fd
configs/: Rename all stm32_wireless.c files to stm32_cc3000.c.
2017-03-24 18:05:44 -06:00
Gregory Nutt
7a9a3bea2f
stm32_gpiosetevent: GPIO IRQ function should not return the xcpt_t oldhandler. This value is useful and potentially dangerous by itself after the change to assocaite a argument with the interrupt handler.
2017-03-02 18:36:14 -06:00
Gregory Nutt
f4bad1a280
stm32_gpiosetevent: GPIO IRQ logic no longer returns the xcpt_t oldhandler. This value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 16:34:37 -06:00
Gregory Nutt
4c82827ab1
board_button_irq: Button IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 14:37:22 -06:00
Gregory Nutt
67de2e5f66
Add argument to STM32 EXTI interrupt handlers.
2017-02-27 14:21:30 -06:00
Gregory Nutt
3129c7536e
CC3000: Add interrupt argument to all CC3000 interrupts.
2017-02-27 09:23:50 -06:00
Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
ee2852f5ff
Remove all references to board_adc_setup()
2016-12-05 17:06:08 -06:00
Gregory Nutt
4b216ff8dd
Finish removing traces of BOARDIOC_PWMSETUP
2016-12-05 14:56:21 -06:00
Gregory Nutt
a3112b231c
nucleo-l476rg: Add better selection of timer.
2016-11-22 07:49:04 -06:00
Gregory Nutt
a0711b1c19
configs: All QE encoder files. Last change made timer hard-coded to 3. Make configurable.
2016-11-22 06:41:46 -06:00
Sebastien Lorquet
dfa2d107b2
The examples/qencoder app was trying to init the encoder by a direct call into the board, cheating in a local header to declare the normally unavailable function prototype.
2016-11-22 06:26:32 -06:00
Sebastien Lorquet
ddba6de8bc
Add support for timers to nucleo l476
2016-11-18 15:26:31 +01:00
Gregory Nutt
ad6856c931
Trivial stylistic changes from review of last PR
2016-10-14 11:12:49 -06:00
Sebastien Lorquet
49238489fd
Support PWM testing on board nucleo-l476.
2016-10-14 18:06:42 +02:00
Sebastien Lorquet
9dcecd4b15
Add support for qencoders on various nucleo boards
2016-10-03 16:07:20 +02:00
Gregory Nutt
a39ce80add
SYSLOG logic should use existing file interfaces, not re-invent them.
2016-07-05 12:12:44 -06:00