Commit Graph

2075 Commits

Author SHA1 Message Date
Gregory Nutt
7f739b0411 Support an asynchronous, 'external' clock to get better CPU load measurements 2014-02-27 14:13:53 -06:00
Gregory Nutt
b348464779 procfs: Remove newline from the end of the cpuload and loadavg outputs so that the returned percentages can be printed on the same line as other data. 2014-02-27 11:18:28 -06:00
Gregory Nutt
cb0d49047a Fix how CPU load counts are adjusted so that the total always adds up to 100% 2014-02-27 11:16:15 -06:00
Gregory Nutt
7138e18efe Fixing bad idempotence definition in C++ header files 2014-02-27 10:49:27 -06:00
Gregory Nutt
8e8c2cd5ec SAM4E: Completes all SAM4E register definition header files. Also a SAMA5D3 ADc register definition fix 2014-02-26 17:00:22 -06:00
Gregory Nutt
f78cc7d88d networking: Fix one place where the reference count was not being zeroed. This is really a cosmetic fix UNLESS CONFIG_DEBUG_NET is enabled, then it causes assertions 2014-02-25 16:41:11 -06:00
Gregory Nutt
0610be935d prtdiff_t: Defined in both stddef and sys/types 2014-02-25 12:40:49 -06:00
Gregory Nutt
cf4a362ab5 CPU load calculations now available for all threads. Available in /proc/pid/loadavg 2014-02-23 10:55:01 -06:00
Gregory Nutt
59769d44f1 Add logic to meaure and calculate the CPU load percentage. From David Alessio 2014-02-22 15:20:12 -06:00
Gregory Nutt
a3acfc785f SAM4E: Pin multiplex definition header file 2014-02-21 18:10:53 -06:00
Gregory Nutt
bcaab16d1f Comment out all CONFIG_APPS_DIR settings in all defconfig files. We con't know where the apps/ dir will be be until install time 2014-02-21 15:35:53 -06:00
Gregory Nutt
8bcf00159d STM3220G-EVAL: NSH configuration changed to use kconfig-frontends tools by Alan Carvalho de Assis 2014-02-21 15:06:36 -06:00
Gregory Nutt
4b824e8d5f SAM4E: Add support for PIO and peripheral clocks 2014-02-21 12:34:04 -06:00
Gregory Nutt
74b4b1f054 SAM4E: Add memory map header file 2014-02-21 09:33:16 -06:00
Gregory Nutt
0a6942e068 SAM4E: Add vector definition header files 2014-02-21 08:46:16 -06:00
Gregory Nutt
d092f888fb Add CONFIG_DEFAULT_SMALL that will select default values for configuration settings based upon either more features or smaller footprint. Turns out not be be useful for modifying existing defconfig files because the defaults do not apply in that case 2014-02-20 18:49:45 -06:00
Gregory Nutt
bebb5d8c4d unlink/rm can now be used on nodes in the pseudo-filesystem. There is new configuration option to suppress these costly and mostly useless operations on the pseudo-filesystem 2014-02-20 18:14:02 -06:00
Gregory Nutt
792ef5692d Olimex LPC1766STK: FTPC configure changed to use the kconfig-fronteds tools by Alan Carvalho de Assis 2014-02-20 15:34:59 -06:00
Gregory Nutt
8f469d70ed SAMD20: Changes for clean build of SPI driver and SAMD20 Xplained Pro board with the I/O1 module installed 2014-02-20 11:27:59 -06:00
Gregory Nutt
8bbf4f3ec8 SAMD20: SPI driver is code-complete, but untested 2014-02-20 09:59:54 -06:00
Gregory Nutt
951f4ff4a3 LM3/4: Several errors were unmasked with UARTs > UART2 were enabled. Fromo Gosha 2014-02-19 17:02:30 -06:00
Gregory Nutt
ff899bf0e3 SAMD20: Add a framework for an SPI driver 2014-02-19 16:52:12 -06:00
Gregory Nutt
916308efc1 SAMD20: Move some common SERCOM logic to a separate file where it can be shared 2014-02-19 14:47:04 -06:00
Gregory Nutt
c55ac71603 Nodes in the pseudo-filesystem can now be renamed or moved within the pseduo-filesystem 2014-02-19 13:14:39 -06:00
Gregory Nutt
077b211456 Bug fix for the MIO283QT-9A driver from Toby Duckwork 2014-02-19 10:57:32 -06:00
Gregory Nutt
834ee93cae mkdir can now be used to create empty directories in the pseudo-filesystem. 2014-02-19 10:30:50 -06:00
Gregory Nutt
5bae65fa6c rmdir now may be used to remove empty nodes from the pseudo-filesystem 2014-02-19 10:01:26 -06:00
Gregory Nutt
66a0cfe88f FS: directory operations will now work on empty directory nodes in the pseudo-filesystem 2014-02-19 09:21:38 -06:00
Gregory Nutt
f68d96a0a5 All mbed configurations have been converted to used the kconfig-frontends tools (unverifeid) 2014-02-18 16:50:09 -06:00
Gregory Nutt
b165efca23 stm3240g-eval/webserver configuration converted to use the kconfig-frontends tools by Alan Carvalho de Assis 2014-02-18 14:36:32 -06:00
Gregory Nutt
6092b5813a Numerous updates to the CC3000 driver from David Sidrane 2014-02-18 14:16:51 -06:00
Gregory Nutt
705fc64e95 STM32F429 Discovery: All src/ files renamed to make consistent with current naming conventions 2014-02-18 12:24:21 -06:00
Gregory Nutt
06e7e5dfa1 More STM32F429 Discovery FPU-related changes from David Alessio 2014-02-18 12:07:17 -06:00
Gregory Nutt
3be307bc25 sched/task_terminate always return an error because return value was not being set correctory. From Gosha 2014-02-18 11:50:32 -06:00
Gregory Nutt
b3f4814e9f SAMD20: The basic port is complete but still untested 2014-02-16 11:34:32 -06:00
Gregory Nutt
d0782933b7 Back out part of write buffering change. David G reports that this causes problems connecting to a server 2014-02-15 08:07:43 -06:00
Gregory Nutt
8acdc31a6e STM32 serial: Fix clone typo.. FLOWCONROL vs FLOWCONTROL 2014-02-14 09:09:56 -06:00
Gregory Nutt
bd15ec2565 Add initial support for the Atmel SAMD20 Xplained Pro board 2014-02-12 17:50:58 -06:00
Gregory Nutt
ca9a8e5875 Add basic framework to support the Atmel SAMD Cortex-M+ chip 2014-02-12 15:07:11 -06:00
Gregory Nutt
b656602055 More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced 2014-02-10 19:11:56 -06:00
Gregory Nutt
91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
a9b01d5824 Support for the MIO283QT9A LCD from Toby Duckworth 2014-02-10 12:26:08 -06:00
Gregory Nutt
0070815e87 HID mouse can now support some while mice. Problems with Microsoft mice 2014-02-10 11:53:37 -06:00
Gregory Nutt
752767cfc1 Add a mouse interface that is similar to the touchscreen interface except that it can handle multple buttons and continuously reports positional data so that it can control a cursor 2014-02-10 10:14:22 -06:00
Gregory Nutt
0979cdba0e The USB HID mouse driver is now functional. There are some usage issues as described in the top-level TODO list 2014-02-09 17:40:23 -06:00
Gregory Nutt
03d5a77615 LP1766-STK: Add a configuration to test the USB HID mouse 2014-02-09 16:00:57 -06:00
Gregory Nutt
0e486c953b Add support for a USB HID mouse. Untested on initial check-in 2014-02-09 13:49:31 -06:00
Gregory Nutt
9d8ecdbefd Fix a compile error that crept into the LPC17xx USB host driver 2014-02-09 13:45:18 -06:00
Gregory Nutt
e10ab85d1d More changes to restore the native Windows build 2014-02-07 10:14:11 -06:00
Gregory Nutt
420cb1f304 Add a coding standards document 2014-02-06 13:48:07 -06:00
Gregory Nutt
cde8e80302 A10 had the same cut'n'paste error as did the LM4F 2014-02-03 17:22:47 -06:00
Gregory Nutt
76c982583d STM32F4 Discovery: Rename most everything in the board source directory to conform with the ever evolving naming standard 2014-02-03 17:19:30 -06:00
Gregory Nutt
ef899c5115 Fix cut'n'paster errors in conditional compilation. Prevented LM4F120 Launchpad UARTs 2-7 from being used 2014-02-03 17:00:05 -06:00
Gregory Nutt
075ba4ff89 Preparation for NuttX-6.33 release (maybe tomorrow) 2014-01-29 14:41:18 -06:00
Gregory Nutt
764ba4da70 SAMA5: Fix logic for running with data in SDRAM 2014-01-29 07:49:23 -06:00
Gregory Nutt
6188eb7472 SAMA5: More variables-in-SDRAM stuff 2014-01-28 15:05:19 -06:00
Gregory Nutt
3b172e5f41 Remove support for EFM32. Not ready to be fielded 2014-01-27 08:03:39 -06:00
Gregory Nutt
2c8a2bfffc x86: fix 'Error: .size expression for idle_stack does not evaluate to a constant' bug from Matt Campbell 2014-01-25 13:53:23 -06:00
Gregory Nutt
2f837ccd2a rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
1d5b2d3d3e Rename up_irqbutton() to board_button_irq() 2014-01-24 14:04:07 -06:00
Gregory Nutt
1ac245b9c6 Rename up_buttons() to board_buttons() 2014-01-24 13:59:24 -06:00
Gregory Nutt
b0c0df84f6 Rename up_buttoninit to board_button_intialize 2014-01-24 13:50:23 -06:00
Gregory Nutt
e4142f65fb Assembler changes with the gcc-47 distribution from ARM mean that we need to be explicit about branch one or more of the wide branch opcodes results in bad table branching. From Mike Smith 2014-01-23 15:29:57 -06:00
Gregory Nutt
90f0e4f6dc configs/efm32-dk3650: Support for Energy Micro's development kit for the Leopard Gecko MCU. From Richard Cochran 2014-01-23 08:19:34 -06:00
Gregory Nutt
7ce90ef7e2 arch/arm/src/Makefile: dependency directory list is now computed from the VPATH. From Richard Cochran 2014-01-23 07:41:00 -06:00
Gregory Nutt
85dea13030 Config.mk: If WINTOOL is set, COMPILE definition should convert path generated by Cygwin make to a proper Windows path. From Richard Cochran (2014-1-23). 2014-01-23 07:37:14 -06:00
Gregory Nutt
564fe7e232 configs/16z: Add support for 16z board 2014-01-22 11:50:37 -06:00
Gregory Nutt
9e2640b896 Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg 2014-01-21 10:21:45 -06:00
Gregory Nutt
1bd343b690 configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not remapped 2014-01-21 10:01:51 -06:00
Gregory Nutt
297896fe0e getopt(): Could leave optind in undefined state if argc == 1 2014-01-20 13:13:36 -06:00
Gregory Nutt
006a430029 ctypes.h: Fix typo in macro name iscontrol->iscntrl 2014-01-18 13:22:20 -06:00
Gregory Nutt
d96bfc2d9b X86: Add a configuration option to select the -m32 compiler option when needed 2014-01-18 07:38:50 -06:00
Gregory Nutt
2382af1e7b You can again specify the default board sub-directory when CONFIG_ARCH_BOARD_CUSTOM is used 2014-01-16 10:42:54 -06:00
Gregory Nutt
ebc3a64e35 Back out last change to configs/Kconfig. It has some bad side-effects 2014-01-16 10:13:20 -06:00
Gregory Nutt
0309c63a23 You can now specify or override the default board sub-directory. This is only useful when CONFIG_ARCH_BOARD_CUSTOM is used and the default board sub-directory is not available 2014-01-16 09:43:09 -06:00
Gregory Nutt
be14ee1f95 Move strol(), stroul(), and friends from libc/string to libc/stdlib where they belong 2014-01-16 08:03:26 -06:00
Gregory Nutt
32b4a48e7a Misc changes from Richard Cochran 2014-01-15 11:05:15 -06:00
Gregory Nutt
be474523c4 Fix all Cortex-M3/4 implementations of up_disable_irq(). They were doing nothing. Thanks to Manuel Stühn for the tip. 2014-01-15 09:56:30 -06:00
Gregory Nutt
836057e340 Individual IRQs are not longer disabled on each interrupt. See ChangeLog for detailed explanation 2014-01-15 08:09:19 -06:00
Gregory Nutt
c9cb7972fb FAT: Fix some root directory logic that was conditionally done only for FAT32. Apparently this needs to be done for all FAT types. From Tridge via Lorenz Meier 2014-01-14 18:24:21 -06:00
Gregory Nutt
2bfad60c85 If write buffering is enabled, then it is necessary to release the write buffer resources (callback structure) when the socket is closed 2014-01-14 18:19:43 -06:00
Gregory Nutt
806af1f4e2 When dup'ing sockets, need to clone fields for TCP write buffering too 2014-01-14 15:17:53 -06:00
Gregory Nutt
85e7e13bb0 Fix a FAT cluster allocation bug. From Tridge 2014-01-14 13:45:26 -06:00
Gregory Nutt
803cdfdaf1 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
a9e44cdfe0 The first set of changes to incorporate Jason Jiangs TCP write buffering logic 2014-01-13 17:11:01 -06:00
Gregory Nutt
0142b3cf5f NET: prevent tcp_connect callback from being double freed. From Max Holtzberg. 2014-01-13 12:04:01 -06:00
Gregory Nutt
cbb5e4889b Add support for the SO_LINGER socket option. Based on logic from Jason Jiang. Utestested on initial commit 2014-01-13 11:58:45 -06:00
Gregory Nutt
fd54cfb213 Add support for the STM32VL-Discovery board. Contributed by Alan Carvalho de Assis 2014-01-12 17:59:38 -06:00
Gregory Nutt
95b63762fb Fix a memory leak in dynamic loader 2014-01-11 14:11:41 -06:00
Gregory Nutt
b301471adb A10: Serial clock is OSC24M. From Alan Carvalho de Assis 2014-01-10 15:32:42 -06:00
Gregory Nutt
4e2c140124 Add stpcpy() 2014-01-09 14:08:48 -06:00
Gregory Nutt
37f0db6e0c Add support for the XPT2046 touchscreen controller on the Viewtool LCD module 2014-01-09 10:57:17 -06:00
Gregory Nutt
8edac663d8 Still recovering from recent NX reorganization. Reported by Steve Redler IV 2014-01-08 17:28:54 -06:00
Gregory Nutt
c31f2b6f78 Fix STM32F103VE SPI3 definitions; Fix bug introduced in recent NX reorganization. From Steve Redler IV 2014-01-08 16:44:11 -06:00
Gregory Nutt
0bdee120a1 Add lib_libfgets() to better support the small differences between gets(), gets_s(), and fgets() 2014-01-08 10:47:34 -06:00
Gregory Nutt
2060d75ba2 Add a quick'n'dirty implementation of C11 threads.h 2014-01-07 18:09:35 -06:00
Gregory Nutt
e3b12cbaa9 Add x qualifier to fopen to support exlusive open 2014-01-07 17:18:38 -06:00
Gregory Nutt
c5f9b8768e Add type rsize_t and function gets_s() 2014-01-07 16:27:45 -06:00
Gregory Nutt
764e117965 A10: Correct handling of the serial busy interrupt 2013-12-08 08:51:19 -06:00
Gregory Nutt
126bec4e55 Add more nops after enabling MMU for Cortex-A8 2014-01-07 08:38:00 -06:00