Commit Graph

254 Commits

Author SHA1 Message Date
Tomasz Wozniak
9972897a0a ROMFS for STM32F4 Discovery board 2017-09-28 11:36:40 +02:00
Gregory Nutt
0f04816b37 Trivial changes from review of last PR. 2017-09-14 14:55:50 -06:00
Florian Olbrich
cd584265ca stm32_lis3dsh.c edited to obey nuttx coding standard. 2017-09-14 20:33:47 +00:00
Florian Olbrich
81b599e8ae stm32_lis3dsh.c edited to obey nuttx coding standards 2017-09-14 20:11:20 +00:00
Florian Olbrich
b1e625eacb Added initialization code and Kconfig entries to set up the LIS3DSH accelerometer
driver on STM32F4Discovery rev. C boards and attach the associated interrupt callback.

Added the argument parameter (FAR void *arg) to the interrupt handler provided by the LIS3DSH
driver to fit the definition for ISRs in xcpt_t.

Changed the check for working queue availability in lis3dsh interrupt handler to use work_available()
and not crash in case of an overrun.
2017-09-14 20:03:28 +02:00
Gregory Nutt
5129aeefd5 drivers/sensors: Fix remaining naming of configurations to be compliant for two more drivers. 2017-08-24 10:48:20 -06: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
1f023fa31a drivers/sensors: Fix more naming of configurations to be compliant for two more drivers. Still a few more to go. 2017-08-24 10:10:00 -06:00
Gregory Nutt
7f4af7b690 drivrs/sensors: Make a few other configuration settings consistent with the (undocumented) standard. 2017-08-24 09:45:46 -06:00
Jussi Kivilinna
3dfeb9e59f drivers/lcd: ssd1306: add support for board power control. ThingseeOne has regulator for controlling display power on/off. Patch adds support for board based power control to SSD1306 driver. 2017-08-22 08:40:27 -06:00
Jan Pobrislo
a8f43e1216 stm32f4 discovery: Add logic to register the button driver and the user led driver if so configured 2017-07-02 16:40:11 -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
Taras Drozdovsky
0fdb000e53 Fix define CONFIG_AUDIO_CS43L22 typo 2017-05-21 17:09:53 -06:00
Taras Drozdovsky
4ab2a3661e STM32F4: add cs43l22 audio driver and i2s driver 2017-05-21 14:14:09 -06:00
Alan Carvalho de Assis
853d332b6c Move CAN subsystem to its own directory and put device drivers there
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03: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
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
Brian Webb
0a95536b85 Adds driver support for the XBox One controller. Currently only the latest version (XBox One X) controller works. The older XBox One controllers do not enumerate correctly. 2017-03-17 20:48:21 -07: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
454164a88c 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:20:38 -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
4f5e0e3519 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 15:27:55 -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
f5f9d82d5a arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing. 2017-03-02 08:43:33 -06:00
Mark Schulte
335d02d7a7 STM32F4 Discovery: Fix irq handler to have void *arg 2017-03-01 09:00:01 -06:00
Gregory Nutt
aa0c05af85 Fix errors found in build testing. 2017-02-28 09:32:24 -06:00
Gregory Nutt
704df7bd39 IRQ arguments: Fix errors discovered in build testing 2017-02-27 19:28:24 -06:00
Gregory Nutt
67de2e5f66 Add argument to STM32 EXTI interrupt handlers. 2017-02-27 14:21:30 -06:00
Gregory Nutt
2e30b9b252 More missing argument paramters in interrupt handlers. 2017-02-27 07:46:36 -06:00
Alan Carvalho de Assis
8ca41b2d7a STM32F4 Discovery: Fix issues with QEncoder support 2017-02-24 07:04:58 -06:00
Gregory Nutt
41eda13c9f Olimex STM32-P407: Add an stm32_bringup.c file like most newer configurations. 2016-12-20 18:05:28 -06:00
Gregory Nutt
0430185785 Remove BOARDIOC_CAN_INITIALIZE. CAN initializaiton is now performed in board bring-up logic just like every other device driver. 2016-12-06 08:53:05 -06:00
Gregory Nutt
35dfe25430 Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board initialization logic just like every other device driver. 2016-12-06 08:51:37 -06:00
Gregory Nutt
8558bf6bd5 Eliminate some warnings 2016-12-05 18:07:15 -06:00
Gregory Nutt
e5e5467097 In last commit, ENODEV is a better error to report than ENOSYS. 2016-12-05 17:37:19 -06:00
Gregory Nutt
d829c03656 Corrects some warnings and link problems introduced in the last big commits. 2016-12-05 17:24:25 -06:00
Gregory Nutt
4b216ff8dd Finish removing traces of BOARDIOC_PWMSETUP 2016-12-05 14:56:21 -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
Gregory Nutt
df26e80c63 Review of last commit 2016-09-17 09:21:26 -06:00
Gregory Nutt
23c89b806a Add board support for XEN1210 driver in the STM32F4 Discovery. 2016-09-17 08:33:40 -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
David Alessio
8a7dd94cfc Add FPU support for ostest for the STM32F4Discovery platform 2016-07-11 07:08:27 -06:00
Gregory Nutt
7c096f31d4 Trivial updates from review of last PR 2016-07-08 08:11:45 -06:00
Matthias Renner
b5ef244b18 add can driver for stm32f4discovery 2016-07-06 17:35:58 +02:00
Gregory Nutt
a897fd4ccf Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead. 2016-06-30 13:09:22 -06:00
Gregory Nutt
7c34a77b54 Move apps/system/usbmonitor to nuttx/drivers/usbmonitor 2016-06-30 12:24:33 -06:00
Gregory Nutt
aab77a944d _warn(), not warn() 2016-06-20 22:32:34 -06:00
Gregory Nutt
645603e6d1 Fix a malformed warn() statement 2016-06-20 16:28:37 -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
2b445ddccc Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces. 2016-06-20 08:57:08 -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
2ddd57c674 Centralize definitions associated with CONFIG_DEBUG_LEDS 2016-06-15 14:12:19 -06:00
Gregory Nutt
24c51ec1ff Centralize definitions associated with CONFIG_DEBUG_LCD 2016-06-15 11:40:33 -06:00
Gregory Nutt
ba03134bed Centralize definitions associated with CONFIG_DEBUG_SPI 2016-06-15 10:41:13 -06:00
Gregory Nutt
94f5e87222 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 11:04:19 -06:00
Gregory Nutt
c494454bc4 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 07:43:55 -06:00
Gregory Nutt
a5457987d8 configs/: Change some err() ERRORS to warn() WARNINGS or info() 2016-06-12 17:02:46 -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
Paul A. Patience
5cc2fba418 libuavcan: Forgot to change define 2016-05-26 11:11:09 -04:00
Gregory Nutt
4b3e710af6 Add an argument to board_app_initialize() 2016-05-24 10:51:22 -06:00
Gregory Nutt
8ace1e3be2 Remove all implementatinos of up_wdginitialize(). It is no longer used. 2016-05-18 19:48:42 -06:00
Gregory Nutt
1d2ee34131 SAM WDT: Rename up_wdginitialize() functions to something more appropriate for the internal OS interface. 2016-05-18 19:47:41 -06:00
Alan Carvalho de Assis
de734ba310 configs/stm32f4discovery: Integrate BH1750FVI driver in the STM32F4Discovery board 2016-04-15 08:20:33 -06:00
Gregory Nutt
76c4b11a6b PM: Add domain to all PM interfaces. Internal PM data structures now handle multiple PM domains. 2016-03-27 13:02:21 -06:00
Gregory Nutt
0e8ff50d18 PM: Add activity domain to all PM callbacks 2016-03-27 11:18:44 -06:00
Kha Vo
c71ed665c2 On stm32F2xx gpio is encoded to 20bits but the button definitions use 16bit type. 2016-02-25 11:12:27 -06:00
Gregory Nutt
2055f34ee6 Change some names to conform to naming standard 2016-02-23 07:18:08 -06:00
Alan Carvalho de Assis
fb41199e2a stm32f4discovery: Add an RGB LED configuration 2016-02-23 07:12:18 -06:00
Gregory Nutt
4c30378d94 Update README 2016-02-22 09:00:51 -06:00
Alan Carvalho de Assis
4c211ebf5f STM32F4-Discovery: Add support for PWM-driver RGB LED 2016-02-22 08:52:24 -06:00
Gregory Nutt
1699561bb6 Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-13 12:37:46 -06:00
Gregory Nutt
823b8bda2b There are a few things that should still depend on CONFIG_NSH_ARCHINT vs CONFIG_LIB_BOARDCTL 2016-02-04 14:27:44 -06:00
Gregory Nutt
9ed7d56a18 Building of xyz_appinit.c should depend on CONFIG_LIB_BOARDCTL, not CONFIG_NSH_ARCHINITIALIZE 2016-02-04 12:14:17 -06:00
Gregory Nutt
36bb11d77c Rename files containing board_app_initialize from xyz_nsh.c to xyz_appinit.c 2016-02-04 12:03:09 -06:00
Gregory Nutt
a135df609f Rename up_i2c initialize and uninitialize functions using the correct MCU-specific naming 2016-02-02 12:25:14 -06:00
Gregory Nutt
1615a5ead0 Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s. 2016-01-30 08:35:50 -06:00
Gregory Nutt
2591281375 Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h 2016-01-30 08:00:01 -06:00
Gregory Nutt
4323c6c170 Need to include sys/mount.h to avoid a warning 2016-01-27 16:08:51 -06:00
Gregory Nutt
9f2a839ac3 For STM32 boards, rename up_spiinitialize to stm32_spibus_initialize 2016-01-26 12:21:39 -06:00
Alan Carvalho de Assis
bb75d19428 STM32F4-Discovery: Add support for the pca9635 LED chip. From Alan Carvalho de Assis 2015-12-15 13:58:28 -06:00
Gregory Nutt
9701e66e5c SAMV71-XULT and STM32F4Discovery: Automatically mount procfs on startup 2015-11-29 09:47:36 -06:00
marawan31
af7cfebff9 added unique id implementation for f4discovery 2015-11-22 13:28:59 -05:00
Gregory Nutt
5937f9930d (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:53:49 -06:00
Wail Khemir
540a3b701a 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 17:09:10 -05:00
Gregory Nutt
b28bd72a48 Standardize naming of user LEDs interface functions 2015-11-01 12:45:58 -06:00
Gregory Nutt
893bd9c7b5 Rename board_led_off to board_autoled_off 2015-11-01 09:10:08 -06:00
Gregory Nutt
78f19bbefb Rename board_led_on to board_autoled_on 2015-11-01 09:07:36 -06:00
Gregory Nutt
88c506d843 Rename board_led_initialize to board_autoled_initiaize 2015-11-01 09:03:01 -06:00
Gregory Nutt
d0c332b5c9 Add file missed in last commit 2015-10-18 08:03:17 +08:00
Alan Carvalho de Assis
82bc95c340 Add board config to support MAX6675 2015-10-18 07:54:21 +08:00