Commit Graph

2790 Commits

Author SHA1 Message Date
Gregory Nutt 29c3acdc4e Add xtensa_testset.c 2016-10-19 09:58:12 -06:00
Gregory Nutt 841e1aa77f Fix a cloned typo 2016-10-19 09:14:21 -06:00
Gregory Nutt 54fd0f0a04 Fix a few more compile issues with the new wide character support 2016-10-19 08:18:46 -06:00
Alan Carvalho de Assis b852bb3403 Add iswctype, towlower, towupper and wcsftime functions 2016-10-19 07:49:33 -06:00
Alan Carvalho de Assis 53700fc71f Add isblank() macro to ctype.h 2016-10-19 07:22:13 -06:00
Gregory Nutt c73d3e9c5f Remove comments that no longer apply. clocale should not do anyting if CONFIG_LIBC_LOCALE is not defined. 2016-10-19 07:06:43 -06:00
Gregory Nutt bbf1627024 sys/time.h: timersub macro modified per recommendations of phreakuencies 2016-10-18 19:47:42 -06:00
Gregory Nutt 890a9eb45d Fix a few wide character build issues 2016-10-18 19:11:09 -06:00
Alan Carvalho de Assis b37c94bc68 Modify locale.h to add localeconv() and lconv structure 2016-10-18 18:28:17 -06:00
Alan Carvalho de Assis dfdde741e3 C library: Add wctype.h; Move lib_wctype.c to libc/wctype 2016-10-18 18:24:58 -06:00
Alan Carvalho de Assis 4d39b513b5 Add functions wcrtomb, wcslcpy, wcsxfrm, wctob, wctomb, wctype, localeconv, strcoll, strxfrm 2016-10-18 18:15:54 -06:00
Gregory Nutt 626408bc29 C Library: Add clocale header file 2016-10-18 07:52:22 -06:00
Gregory Nutt 84049a19ba C library: Add a dummy setlocale() function to avoid drawing the function from newlib 2016-10-17 09:45:12 -06:00
Alan Carvalho de Assis df313581db Correct typo in comments 2016-10-11 14:13:28 -06:00
Gregory Nutt 79c9e25a12 include/nuttx/fs/nxffs.h: Needs forward reference to struct mtd_dev_s and needs to include stdbool.h 2016-10-09 14:07:19 -06:00
Gregory Nutt 8669183852 sched/pthread and task: When a pthread is started, there is a small bit of logic that will run on the thread of execution of the new pthread. In the case where the new pthread has a lower priority than the parent thread, then this could cause both the parent thread and the new pthread to be blocked at the priority of the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected).
This change temporarily boosts the priority of the new pthread to at least the priority of the new pthread to at least the priority of the parent thread.  When that bit of logic has executed on the thread of execution of the new pthread, it will then drop to the correct priority (if necessary) before calling into the new pthread's entry point.
2016-10-01 11:38:22 -06:00
Gregory Nutt 0908a6c6b9 Fix calculations using MSEC_PER_TICK. If USEC_PER_TICK is less than 1000, then MSEC_PER_TICK will be zero. It will be inaccurate in any case. 2016-09-25 08:17:33 -06:00
Marc Rechté 9838cc0cc9 Make DAC structure packed 2016-09-20 08:04:32 -06:00
Alan Carvalho de Assis 61980caee5 drivers/sensors: Adds support for the Sensixs XEN1210 3D-boar. This sensor is used on NANOSATC-BR2 a Brazillian CUBESAT project. 2016-09-16 12:45:53 -06:00
Gregory Nutt 141a111439 Update a comment 2016-09-16 12:31:18 -06:00
Gregory Nutt de3e35f00a include/nuttx/modem: Move all modem-related IOCTL commands to a common file to assure that they will be unique 2016-09-16 09:39:51 -06:00
Gregory Nutt 8842c2c214 Add a definition and a comment 2016-09-07 09:38:33 -06:00
Gregory Nutt 05aa586aa6 sched/: Move fields related to parent/child task relationship out of TCB into group structure. 2016-09-06 08:28:31 -06:00
Aleksandr Vyhovanec b0f973d901 MTD: SPI-based driver for Macronix MX25L3233F or MX25L6433F. 2016-09-02 11:00:04 -06:00
Gregory Nutt 0de75e144a Fix some comments in header files 2016-08-31 13:34:52 -06:00
Gregory Nutt 1431dcd8d5 Fix some bad file inclusions in last commit 2016-08-31 12:25:50 -06:00
Gregory Nutt 7ea9632592 Change the way that contactless IOCTL commands are defined. All IOCTL commands must be unique. 2016-08-31 11:30:22 -06:00
Sebastien Lorquet a17059503e fix pn532 2016-08-31 13:50:03 +02:00
Sebastien Lorquet 1d1affdd2b fix mfrc522 2016-08-31 13:46:27 +02:00
Sebastien Lorquet d4048f3eeb CL fixes 2016-08-31 13:41:49 +02:00
Sebastien Lorquet c025ffc3c3 contactless: spi device 2016-08-31 13:22:10 +02:00
Sebastien Lorquet 3654b841bc Move contactless drivers to their own directory 2016-08-31 13:08:58 +02:00
Gregory Nutt 1500a50057 Add missing prototype for btn_lower_initialize() 2016-08-27 11:32:47 -06:00
Gregory Nutt 644335a39c Fix C99 style comment 2016-08-26 08:28:54 -06:00
Gregory Nutt 440d535360 include/cxx: Update some C++ header files due to recent changes to C hader files 2016-08-25 15:06:46 -06:00
Gregory Nutt 55a325bcd4 system() is not available from within the OS 2016-08-25 12:36:38 -06:00
Gregory Nutt e07a02bf29 Add system() to stdlib.h 2016-08-25 11:28:09 -06:00
Sebastien Lorquet aed8a602b8 stdio: Add support for remove() 2016-08-25 08:40:34 -06:00
Sebastien Lorquet 51596dc457 Updata difftime. Add a version of difftime for the case where the platform does not support type double 2016-08-25 08:00:50 -06:00
Sebastien Lorquet a626ba5b70 libc/time: This commit adds the difftime() function. Since the function returns a double, I have isolated it in a CONFIG_LIBC_DIFFTIME option (It also depends on the toolchain-dependent CONFIG_HAVE_DOUBLE so is not available on tiny platforms). 2016-08-24 15:43:57 -06:00
Sebastien Lorquet c8c4575139 isatty() should be prototypes in unstid.h, not termios.h. 2016-08-24 10:25:09 -06:00
Sebastien Lorquet 7021b143ce Add POSIX type sig_atomic_t 2016-08-24 10:16:41 -06:00
Alexander Entinger 221fcfd8f1 drivers/sensors: Add driver for the Bosch BMG160 3 axis gyroscop. 2016-08-24 09:41:04 -06:00
Alexander Entinger 0044910e33 drivers/sensors: Add driver for the LIS3DSH 3 axis accelerometer. 2016-08-24 08:28:45 -06:00
Gregory Nutt 595f00e271 Add include/sensors/ioctl.h; make sure that all IOCTL values are unique to avoid all misuse. 2016-08-23 13:08:12 -06:00
Entinger Alexander b29287b022 drivers/sensors: Add driver for the MLX90393 3 axis magnetometer. 2016-08-23 10:48:08 -06:00
Entinger Alexander 338bf8c9e3 drivers/sensors: Add drvier for the LIS3MDL 3 axis magnetometer 2016-08-23 08:22:47 -06:00
Gregory Nutt 60b70f7dbb Make xorshift128 re-entrant so that we do do have to suffer the overhad of serialization controls. 2016-08-21 07:47:53 -06:00
Gregory Nutt 300361539a sched/sched_cpuload_oneshot: Use the oneshot timer with optional entropy to measuer cPU load if so configured. 2016-08-20 12:47:07 -06:00
Gregory Nutt 6f833be9d5 Separate XorShift128 PRNG from /dev/urandom and make it generally available. 2016-08-20 11:36:02 -06:00