Commit Graph

905 Commits

Author SHA1 Message Date
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
7a12cc3e56 STM32F4 Discovery: Update stm32f4discovery README.txt to instruct how to use QE 2017-02-24 07:10:07 -06:00
Alan Carvalho de Assis
8ca41b2d7a STM32F4 Discovery: Fix issues with QEncoder support 2017-02-24 07:04:58 -06:00
Gregory Nutt
4539988d00 Removed CONFIG_LIBC_ARCH_BZERO. bzero() is a deprecated interface. There are no architecture-specific replacements and, if there were, they should replace memset(), not bzero(). 2017-02-22 10:41:49 -06:00
Gregory Nutt
3dbdb3bb31 CONFIG_SDIO_DMA: Was been defined in several low-level architecute Kconfig files, but used at the highest levels in the code. Both are bad and both are fixed with this commit 2017-01-31 11:52:00 -06:00
Gregory Nutt
9ac00a355f Add capabilities() method to SDIO interface. Remove CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but rather a capability/limitation of single slot when there may be multiple slots. 2017-01-31 09:16:01 -06:00
Gregory Nutt
6f5a9eb451 Olimex-stm32-p407: Add a NSH protected build configuration; Enable procfs/ in all configurations. 2017-01-23 10:38:54 -06:00
Gregory Nutt
edd9186540 ELF: Move ARMv7-A and ARMv7-R versions of ELF relocation logic to libc/machine 2017-01-21 14:40:26 -06:00
Gregory Nutt
3c4684ef5f Eliminate CONFIG_ARCH_OPTIMIZED_FUNCTIONS. Move options to select architectur-specific C library options from libc/Kconfig to libc/machine/Kconfig and rename. 2017-01-20 09:30:07 -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
f063e4c5ac Remove Calypso architecture support and support for Calypso SERCOMM driver. 2016-12-13 18:35:52 -06:00
Gregory Nutt
d9e040d76b Remove all Calypso board configurations 2016-12-13 18:24:49 -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
55dd1c87b3 Remove all references to BOARDIOC_ADCSETUP 2016-12-05 15:31:40 -06:00
Gregory Nutt
4b216ff8dd Finish removing traces of BOARDIOC_PWMSETUP 2016-12-05 14:56:21 -06:00
Gregory Nutt
b999e63c82 Remove some references to BOARDIOC_PWMTEST and board_pwm_setup(). Still lots more. 2016-12-05 13:54:12 -06:00
Gregory Nutt
7467329a98 Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed. 2016-12-03 16:28:19 -06:00
Gregory Nutt
c0cbea2550 Remove RGMP and RGMP drivers. 2016-12-02 09:49:33 -06:00
Gregory Nutt
44e747ebf1 Remove all references to CONFIG_NET_MULTIBUFFER from configs/ 2016-11-29 15:07:30 -06:00
Gregory Nutt
3031822518 configs: Remove all traces of the no-longer existent ARCHBUTTONS example. 2016-11-22 07:37:23 -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
439c72e7c8 Refresh all networking configurations due to changes in work-queue related configuration variables for Ethernet drivers. 2016-11-19 09:41:24 -06:00
Gregory Nutt
25cd684012 Looks like I forgot to add some files in patch from a few days ago. 2016-09-22 11:12:10 -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
Beat Küng
c7da88e383 CXXFLAGS: add -fcheck-new whenever -fno-exceptions is used
This is to avoid GCC to optimize null-pointer checks away, in case the
default operator new is used together with -fno-exceptions.
2016-08-22 08:35:01 +02:00
Gregory Nutt
b071e4ce92 Refresh all STM32, EFM32, and SAMV7 configurations for SPI H/W features configuration changes 2016-08-08 12:50:14 -06:00
Gregory Nutt
f43ded46e6 Rename arch/sh to arch/renesas, cont'd 2016-08-06 14:03:38 -06:00
Gregory Nutt
88cb41a0dc configs/stm32f4discovery/canard: Change version to lastet. Need to match change to apps/libcanard/Kconfig 2016-07-24 07:52:33 -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
Alan Carvalho de Assis
91ba0be667 Enable TERMIOS support in stm32discovery/pseudoterm configuration 2016-07-16 17:49:37 -06:00
Gregory Nutt
8710b56670 STM32F4 Discovery: Add a pseudo-terminal example 2016-07-16 11:30:43 -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
Gregory Nutt
2baac3fcc7 Merged in rennerm/nuttx_canard/feature/stm32f4discovery-can (pull request #90)
Feature/stm32f4discovery can
2016-07-08 08:01:25 -06:00
Matthias Renner
3e83599382 add configuration files for canard 2016-07-08 10:49:46 +02:00
Gregory Nutt
6f9a536ae8 Disable DEBUG features be default in all configurations 2016-07-07 15:58:26 -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
2a19e16eb0 libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:22:38 -06:00
Gregory Nutt
1377452394 Refresh all ARM configurations 2016-06-23 15:59:14 -06:00
Gregory Nutt
5118264e6c Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG 2016-06-21 09:35:51 -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
5b2aa7bf99 Remove all traces of CONFIG_SYSLOG 2016-06-19 13:59:43 -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
03cbe671ad Centralize definitions associated with CONFIG_DEBUG_PWM 2016-06-15 17:23:56 -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
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
Gregory Nutt
89c9aca89e All configurations that have both CONFIG_NSH_LIBRARY=y and CONFIG_NET=y must now also have CONFIG_NSH_NETINIT=y 2016-06-09 09:29:47 -06:00
Gregory Nutt
5c9e11f1b0 Refresh all configurations that have both CONFIG_NSH_LIBRARY and CONFIG_NET set in preparation for another change. 2016-06-09 09:25:20 -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
Paul A. Patience
5cc2fba418 libuavcan: Forgot to change define 2016-05-26 11:11:09 -04:00
Gregory Nutt
d89eefc6a5 Refresh all STM32 configurations 2016-05-25 12:39:28 -06:00
Gregory Nutt
9ec104834a Remove CONFIG_USARTn_ISUART 2016-05-25 11:21:48 -06:00
Gregory Nutt
c089a2f241 Rename CONFIG_ARCH_HAVE_OTHER_UART to CONFIG_OTHER_UART_SERIALDRIVER 2016-05-25 10:48:33 -06:00
Gregory Nutt
e2e6ce3f1b Rename CONFIG_ARCH_HAVE_SCIn to CONFIG_SCIn_SERIALDRIVER 2016-05-25 10:46:55 -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
Paul A. Patience
3ca1a41626 Update Nucleo F303RE and STM32F4Discovery uavcan configurations 2016-05-25 09:39:42 -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
Paul A. Patience
e6e2552a12 UAVCAN: Update version 2016-05-03 17:18:57 -04: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
3228d32938 Correct permmisions on executable scripts 2016-04-10 09:11:59 -06:00
Gregory Nutt
7337e748de Merge in configs/ submodule 2016-04-10 07:57:59 -06:00
Gregory Nutt
3e0efd7279 Fix all URLs to the NuttX repository 2016-04-06 17:56:40 -06:00
Gregory Nutt
99df0f459d All STM32 configurations need to set CONFIG_ARM_TOOLCHAIN_GNU=y 2016-04-02 07:21:25 -06:00
Gregory Nutt
ad61b7ab3e Remove all references to CONFIG_SYSTEM_SDCARD 2016-03-30 17:53:19 -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
Gregory Nutt
423fe999b6 Add configuration files that have CONFIG_CDCACM=y (and not CONFIG_CDCACM_COMPOSITE) must have CONFIG_LIB_BOARDCTL=y and CONFIG_BOARD_USBDEVCTRL=y 2016-03-25 12:39:28 -06:00
Gregory Nutt
e5b0c0e502 Remove most unused references to CONFIG_NET_MULTICAST. Rename other uses of CONFIG_NET_MULTICAST to avoid naming comflicts. 2016-03-20 13:15:58 -06:00
Gregory Nutt
4b1c510f6f Refresh all STM32 configurations 2016-03-08 17:03:32 -06:00
Gregory Nutt
f5c987a627 Change name IMX to IMX1 in configuration variable names to make room for i.MX6 2016-02-28 15:19:19 -06:00
Gregory Nutt
12c14ee718 Rename CONFIG_WIRELESS to CONFIG_DRIVERS_WIRELESS 2016-02-26 16:45:29 -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
95b18adf3b Refresh configurations 2016-02-24 11:53:21 -06:00
Gregory Nutt
6f883fb7ea Update README: 2016-02-23 07:26:25 -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
a3ec78f6c8 Add support for LED driver to the SAMV7-XULT board support 2016-02-20 13:21:19 -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
656e730f8f apps/system/ramtron has been removed. 2016-01-27 10:39:30 -06:00
Gregory Nutt
9f2a839ac3 For STM32 boards, rename up_spiinitialize to stm32_spibus_initialize 2016-01-26 12:21:39 -06:00
Gregory Nutt
de50bc82a7 Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:21:36 -06:00
Gregory Nutt
9535c909d3 Rename CONFIG_SYSTEM_INIFILE to CONFIG_FSUTILS_INIFILE 2016-01-20 17:11:48 -06:00
Gregory Nutt
004f4b8896 All bash scripts should be marked executable 2016-01-15 07:54:27 -06:00
Gregory Nutt
2a5bdf230c Merge remote-tracking branch 'origin/master' into windeps 2016-01-09 16:38:13 -06:00
Gregory Nutt
9e548d34c3 mkdeps.sh and mkdeps.bat have been deleted. All configurations must now use the compiler mkeps prograqm 2016-01-09 16:06:15 -06:00
Gregory Nutt
e46cd30c14 Change use of mknulldeps.sh to mkwindeps.sh 2016-01-09 14:13:44 -06:00
Gregory Nutt
d1ece2c59f Fix some bad inclusions of files with internal in the name 2015-12-29 18:18:20 -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
b90f5ba7f4 Remove CONFIG_DISCRETE_IO from all defconfig files 2015-12-15 08:41:10 -06:00
Gregory Nutt
c41449b12a 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:56 -06:00
Gregory Nutt
a0e662f769 Refresh all configurations that have Telnetd enabled; those configurations now also need the telnet driver 2015-12-07 10:01:13 -06:00
Gregory Nutt
9a4192d22b Remove CONFIG_NET_PINGADDRCONF. This was a uIP way of assigning IP addresses, but is not standard and not a appropriate feature in general. 2015-12-01 07:47:41 -06:00
Gregory Nutt
7a551aed6e STM32F4-Discovery: Refresh all configurations; enable PROCFS in all NSH configurations 2015-11-29 10:02:21 -06:00
Gregory Nutt
9701e66e5c SAMV71-XULT and STM32F4Discovery: Automatically mount procfs on startup 2015-11-29 09:47:36 -06:00
Gregory Nutt
651bd9e8ad Rename CONFIG_LOOP to CONFIG_DEV_LOOP 2015-11-25 17:11:27 -06:00
marawan31
af7cfebff9 added unique id implementation for f4discovery 2015-11-22 13:28:59 -05:00
Gregory Nutt
5773e78a16 In protected build, need to specify CPU configuration on GCC command line or we get the wrong libgcc 2015-11-18 11:43:00 -06: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
f56ed529e5 Remove prototypes for all user LED interfaces from board.h header files 2015-11-01 10:53:34 -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
Alan Carvalho de Assis
f2d07ad135 STM32F4-Discvovery: Add low level support for the Zero Cross driver. From Alan Carvalho de Assis 2015-10-13 07:35:09 -06:00
Paul A. Patience
a778cb3a49 STM32F4-Discovery: Configure CAN2 GPIOs if UAVCAN uses two interfaces 2015-10-08 15:49:52 -04:00