Commit Graph

482 Commits

Author SHA1 Message Date
Gregory Nutt
d3b8c03a8a Fix a few missed changes from *dbg() to *err() and *vdbg() to *info() 2016-06-17 06:00:45 -06:00
Gregory Nutt
28192d3c60 Re-order some conditional compilation; up_interrupt_context() is not generally available to applications. 2016-06-16 20:10:19 -06:00
Gregory Nutt
ea8241027e syslog() will now automatically redirect output to lowsyslog() if called from an interrupt handler 2016-06-16 19:57:06 -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
24c51ec1ff Centralize definitions associated with CONFIG_DEBUG_LCD 2016-06-15 11:40:33 -06:00
Gregory Nutt
a98bc05f65 New debug macro: alert(). This is high priority, unconditional output and is used to simplify and stanardize crash error reporting. 2016-06-14 09:07:53 -06:00
Gregory Nutt
90e60513b1 New strtoul[l] functions need to include errno.h 2016-06-13 08:49:46 -06:00
Gregory Nutt
56c5da3030 Cosmetic change from review of PR53 2016-06-13 08:21:06 -06:00
Sebastien Lorquet
15c92867de Fixes for strtoul/strtoull. Fixes Issue #1 2016-06-13 15:29:05 +02:00
Gregory Nutt
5073bf1de6 Update some comments 2016-06-13 07:02:45 -06:00
Gregory Nutt
4f97f15b5e graphics/, libc/: Change some err() ERRORS to warn() WARNINGS or info() 2016-06-12 11:11:57 -06:00
Gregory Nutt
b1eb4fdd8e Rethink some recent warning removal logic 2016-06-12 07:17:04 -06:00
Gregory Nutt
cffef35644 Eliminate some warnings introduced with DEBUG changes 2016-06-11 18:09:39 -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
86b79b33cf Reserver the name 'err' for other purposes 2016-06-11 14:40:07 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
a3bb764305 Add support for a warn() marco that will be between dbg() and info() in priority 2016-06-11 12:38:37 -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
5cfffbfa62 crc64: fix error 2016-06-10 12:30:45 -04:00
Paul A. Patience
9587c551ad libc/misc: add crc64 2016-06-10 11:03:50 -04:00
Paul A. Patience
fdbbe8dc9a crc16: fix error 2016-06-10 09:13:43 -04:00
Gregory Nutt
4f81a60ef6 Add a NAN test on 'x' in asin function of lib_asin.c. Suggested by Pierre-noel Bouteville. 2016-05-31 06:31:04 -06:00
Gregory Nutt
5ef3e3e215 Replace confusing references to uIP with just 'the network' 2016-05-30 11:52:07 -06:00
Paul A. Patience
f8f7b7582c Silence some warnings 2016-05-26 14:06:13 -04:00
Gregory Nutt
ca04284750 Remove comment blocks for empty file sections 2016-05-18 13:00:36 -06:00
Gregory Nutt
4e71c4c9ef Correct some typos in comments 2016-05-18 12:49:07 -06:00
Gregory Nutt
b9c2b92b10 Add utilities to count the number of nodes in a queue 2016-04-23 13:25:46 -06:00
Alan Carvalho de Assis
7f5339ee5a drivers/sensors/h1750fvi.c: Add a character driver for Rohm Ambient Light Sensor BH1750FVI. 2016-04-15 08:16:16 -06:00
Gregory Nutt
9008308b64 Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
Gregory Nutt
2e49111a17 Fix an error in a DEBUG assertion 2016-04-11 09:07:23 -06:00
Gregory Nutt
6653c5cbf3 Signals: Correct implementation of sigset(). It is not just signal() with a different name; it has some additional signal mask handling functionality 2016-04-11 09:04:54 -06:00
Gregory Nutt
28a4ca6713 libc/signal and include/signal.h: Rename sigset() to signal(). sigset() is the System V function; signal() is the obsoleted POSIX name. These seem to be equivalent. Neither are relevant in modern POSIX programming but the name signal() probably has better credentials. sigset() is now relegated to a #define in signal.h that makes it equivalent to signal(). 2016-04-10 14:35:45 -06:00
Kha Vo
bb09dc30a4 sigset: Fix an IAR compilation problem 2016-04-03 13:58:49 -06:00
Kha Vo
51facd904d bsearch: Fix an IAR compilation problem 2016-04-03 13:56:59 -06:00
Gregory Nutt
53a721cdd7 Fix a cloned error in both sq_cat() and dq_cat() 2016-03-23 14:48:50 -06:00
Gregory Nutt
4a962a36dd Add library functions to concatenate and move lists. Add scheduler function to merge prioritized function to merge prioritized lists (not yet used). 2016-03-23 08:00:58 -06:00
Gregory Nutt
24468128de TLS: Simplify 2016-03-11 07:17:32 -06:00
Gregory Nutt
6af9b23df5 libc/netdb: Fix some compile issues when IPv6 is enabled 2016-02-25 13:59:42 -06:00
Gregory Nutt
0fb035f76b Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
Gregory Nutt
143d287f11 Fix some missing header file inclusions and a misplaced semi-colon from recent commits 2016-02-21 11:27:55 -06:00
Gregory Nutt
f3356fee5b SMP: Add macros to CPU set manipulation to sched.h 2016-02-20 18:45:07 -06:00
Gregory Nutt
883a1adfe2 Implement sched_setaffinity() and sched_getaffinity() 2016-02-19 19:18:54 -06:00
Gregory Nutt
28d138c584 Add files that I forgot to add in the last commit 2016-02-19 17:58:47 -06:00
Gregory Nutt
a633353ec3 Add a CPU affinity set to the TCB if SMP is enable and use this CPU set as a mask for determining which CPUs the thread may run on. Add an affinity field to the attrributes to permit controlling which CPUs a pthread may run on. Implements pthread_att_setaffinity_np() and pthread_attr_getaffinity_np(). 2016-02-19 17:33:35 -06:00
Gregory Nutt
384e51cb05 Add some additional schedule instrumentation 2016-02-16 15:21:45 -06:00
Gregory Nutt
046e39e2c6 nuttx/mm and libc: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 08:57:01 -06:00
Gregory Nutt
68ee9bcaed Refresh modules + plus minor clean-up from previous commits 2016-02-08 15:13:14 -06:00
Gregory Nutt
8a9fa634bf syslog: If syslog timestamping is enabled, don't try to get the time if the timer hardware has not yet been initialized. 2016-02-05 08:36:43 -06:00