Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Gregory Nutt
50ca32e254
Squashed commit of the following:
...
sched/: Convert legitimate uses of task_create() to nxtask_create(). Review handling of returned values from all uses of kthread_create() (as well as nxtask_create()).
graphics/: Review return values for all calls to kthread_start() because it no longer returns an errno.
drivers/: threads started by drivers should be kernel threads, not user tasks. Review return values for all calls to kthread_start() because it no longer returns an errno.
configs/: threads started by board bringup logic should be kernel threads, not user tasksi (part 2 of 2).
sched/task: Add nxtask_create(). Kthread_create() and nxtask_create() are internal OS functions and should not modify the errno variable. configs/: threads started by board bringup logic should be kernel threads, not user tasks.
2018-01-31 16:11:54 -06:00
Gregory Nutt
ce7df1f961
configst/stm3240g-eval: Remove only bogus logic to start the NX server. That was there only to support the knxwm configuration and was implemented priorit to boardctl(BOARCIOC_NX_START).
2018-01-18 06:57:38 -06:00
Gregory Nutt
d481ac347d
configs: Both CONFIG_LIB_BOARDCTL=y and CONFIG_BOARD_INITIALIZE=y is not meaningful in the standalone NxWM. CONFIG_LIB_BOARDCTL=y is the better option so CONFIG_BOARD_INITIALIZE=y removed from these configurations.
2018-01-17 13:51:29 -06:00
Gregory Nutt
301bf1ee77
This commit eliminates the BOARDIOC_TSCTEST_SETUP command.
...
Squashed commit of the following:
configs: Each board now initializes the touchscreen controller as a normal part of its board bring-up. board_tsc_setup() is gone; the touchscreen controller is now treated like any other on-board device.
Remove all support for BOARDIOC_TSCTEST_SETUP
Move prototype for board_tsc_setup() from include/nuttx/board.h to individual board header files.
2018-01-17 09:33:28 -06:00
Gregory Nutt
e276d4d16d
Remove the BOARDIOC_TSCTEST_TEARNDOWN boardctl() command. Remove all implementations of board_tsc_teardown() (the were all stubs anyway except for the simulation).
2018-01-16 18:03:21 -06:00
Gregory Nutt
c867d42018
arch/arm/src/lpc54xx: Add support for card detect and write protect to SDMMC driver. configs/lpcxpresso-lpc54628: Add logic to bring up SDMMC.
2017-12-20 10:52:05 -06:00
Gregory Nutt
0f10f6bdec
configs/*/include; Remove prototype of stm32_boardinitialize() from board.h files. The authorative prototype is in arch/arm/src/stm32*/stm32*_start.h
2017-12-16 20:02:03 -06:00
Gregory Nutt
43a221f308
configs: Remove some old, redundant, obsolete boilerplate regarding toolchains that has been cloned into most of the board README files.
2017-11-26 11:36:03 -06:00
Gregory Nutt
b7eaec3de3
configs/stm3240g-eval: Add support for pdcurses and the pdcurses demo programs in the 'fb' configuration.
2017-11-26 06:32:43 -06:00
Gregory Nutt
38dc3fe442
STM3240G-EVAL: Mount procfs if enabled.
2017-11-25 18:03:01 -06:00
Gregory Nutt
168809764f
configs: All NX configuration... Because of recent changes to libnx/nxfonts, Supported bit per pixel must be separated specified for NXFONTs too and need to match the select BPP for NX.
2017-11-24 06:33:54 -06:00
Gregory Nutt
cccc86da09
This change adds support for semi-standard IPPROTO_ICMP AF_INET datagram sockets. This replaces the old ad hoc, nonstandard way of implementing ping with a more standard, socket interface.
...
Squashed commit of the following:
net/icmp: Finishes off icmp_recvfrom().
net/icmp: Add readahead support for IPPROTO_ICMP sockets.
net/icmp: Add poll() support for IPPROTO_ICMP sockets.
net/icmp: Add a connection structure for IPPROTO_ICMP sockets.
net/icmp: Implements sendto for the IPPROTO_ICMP socket.
net/icmp: Move icmp_sendto() and icmp_recvfrom() to separate files. They are likely to be complex (when they are implemented).
net/icmp: Hook IPPROTO_ICMP sockets into network. Fix some naming collisions. Still missing basic ICMP send/receive logic.
configs: apps/system/ping current need poll() enabled.
configs: All defconfig files that use to enable low-level support must now enabled CONFIG_SYSTEM_PING.
net/icmp: Adds basic build framework to support IPPROTO_ICMP sockets.
2017-10-23 08:45:12 -06:00
Mattias Edlund
ee1330ed5e
The timer frequencies (BOARD_TIMx_FREQUENCY) are incorrectly defined in configs/stm3240g-eval/include/board.h. Since the APB prescalers are set to divide by 4 and 2 respectively, the frequencies should be "2xAPBx" as said in the comment. The correct frequencies are already defined but as STM32_APBx_TIMx_CLKIN.
2017-10-19 07:00:55 -06:00
Gregory Nutt
5b385f4d4d
kthread_create(): Rename kernel_thread() to kthread_create() for better naming consistency with task_create() and kthread_delete().
2017-10-16 11:38:00 -06:00
Gregory Nutt
b75952c479
This removes the last traces of single-user mode.
2017-10-15 09:34:08 -06:00
Gregory Nutt
a857cc04e4
Fix some build problems after recent separation of internal OS from application interfaces. The build problem only occurs in the PROTECTED and KERNEL builds where separate libraries are built for the applications and for use within the OS. In these cases, the correct interfaces must be used. This commit fixes a few of these, so I can get through build testing, but there are many more that need fixin'.
2017-10-08 08:13:47 -06:00
Gregory Nutt
b248a6b72b
stm3240g-eval: Remove some bad conditional compilation
2017-09-19 08:26:47 -06:00
Gregory Nutt
cf431c9397
Squashed commit of the following:
...
stm3240g-eval: Add a configuration for testing the FB character driver at drivers/video/fb.c using the LCD frame driver front end at drivers/lcd/lcd_framebuffer.c. Appears to be fully functional.
stm3240g-eval: Replace the old-style stm32_appinit.c with tne new one from the STM32F4-Discovery
stm3240g-eval: Rename stm32_appinit.c to stm32_bringup.c to better match other architectures
2017-09-17 15:55:15 -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
d891776582
stm32f429i-disco, stm3240g-eval, stm3220g-eval, stm3210e-eval: Eliminate duplicate Make.defs files.
2017-07-11 07:34:09 -06:00
Gregory Nutt
5a9eebe270
More conversions of defconfig files to compressed format. All but Windows native configurati9ons.
2017-07-09 20:05:59 -06:00
Gregory Nutt
47be509d79
Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is used by F4 parts other than F40x
2017-07-06 10:20:14 -06:00
Gregory Nutt
f0cdb0e6b4
clicker2-stm32/mrg24j40-6lowpan: Add apps/examples/nettest. Refresh all configurations that enable the nettest.
2017-06-23 18:11:15 -06:00
Gregory Nutt
f5856282f5
defconfigs: examples/nettest configuration name change
2017-06-23 15:50:02 -06:00
Gregory Nutt
cd54a0340f
Fix a typo. And typo in Kconfig file is reflect in all defconfig files.
2017-06-15 14:29:09 -06:00
Gregory Nutt
b0fda33e13
Kconfig: Rename CONFIG_ARM_TOOLCHAIN_IAR to CONFIG_ARCH_TOOLCHAIN_IAR
2017-05-13 16:01:38 -06:00
Gregory Nutt
6e4918c557
Remove CONFIG_ARM_TOOLCHAIN_GNU; replace with CONFIG_ARCH_TOOLCHAIN_GNU
2017-05-13 13:28:15 -06:00
Gregory Nutt
7fe112fe4c
Kconfig/deconfigs: Add CONFIG_ARCH_TOOLCHAIN_GNU to indicate that the toolchain is based on GNU gcc/as/ld. This is in addition to the CPU-specific versions of the same definition.
2017-05-13 11:44:12 -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
2043e1a114
IOBs: Move from driver/iob to a better location in mm/iob
2017-05-09 07:35:30 -06:00
Sebastien Lorquet
aca2e36d67
stm32 devboards
2017-04-28 18:26:05 +02:00
Gregory Nutt
9aac1dd44d
configs: Remove all setenv.bat files. Remove all references to setenv.sh and setenv.bat from all config README files.
2017-04-26 10:12:13 -06:00
Gregory Nutt
1620ff05f4
Remove all setenv.sh files.
2017-04-26 07:49:37 -06:00
Gregory Nutt
bfb93338f6
Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled.
2017-04-20 16:08:49 -06:00
Gregory Nutt
bcc6b61fc1
Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB
2017-04-20 14:53:30 -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
Gregory Nutt
c071e2a30c
Make sure that CONFIG_PTHREAD_MUTEX_ROBUST=y is selected every configuration that enabled pthreads.
2017-03-27 09:21:03 -06:00
Gregory Nutt
b07d3fc305
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
2017-03-27 09:08:14 -06:00
Gregory Nutt
c428661e18
apps/examples/usbterm is gone because it can be configured to perform an illegal call into the OS. Remove all traces of CONFIG_EXAMPLES_USBTERM* and all of the illegal device support.
2017-03-09 15:39:28 -06:00
Gregory Nutt
d0813aa0c5
Refresh all ARM configurations
2017-03-09 10:23:41 -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
67de2e5f66
Add argument to STM32 EXTI interrupt handlers.
2017-02-27 14:21:30 -06:00
Gregory Nutt
a773f9412a
STMPE811 driver needs argument in interrupt handler
2017-02-27 11:41:48 -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