Gregory Nutt
41137b82fa
Add strtold()
2016-10-22 13:02:55 -06:00
Gregory Nutt
aac8634de2
ctype.h: Correct some dangling garbage from the last change
2016-10-22 10:12:10 -06:00
Gregory Nutt
c08cb7ddea
Implement ctype.h functions as inline if possible. cctype can then properly select namespace.
2016-10-22 08:18:00 -06:00
Ken Pettit
1e40e03c7f
Minor RISC-V update
2016-10-21 17:01:40 -06:00
Alan Carvalho de Assis
31da3e30a9
Add support to PWM on STM32F103-Minimum board
2016-10-21 13:27:04 -06:00
Gregory Nutt
19a2212971
The buttons example was changed to archbuttons. As a result all of the button configurations are broken and need some renaming in the defconfig files. Noted by Frank Berkert
2016-10-21 12:12:04 -06:00
Frank Benkert
cf5fdf1f8f
SAM Watchdog: Register the watchdog device at the configured device path CONFIG_WATCHDOG_DEVPATH vs. hard-coded /dev/wdt
2016-10-21 07:09:20 -06:00
Gregory Nutt
9438c42fff
strtof: Also make sure that all integer values use in expressions are cast to float
2016-10-20 13:06:55 -06:00
Gregory Nutt
e30a47ba46
libc: Make sure that all constant floating point values have F suffix in strtof()
2016-10-20 13:03:15 -06:00
Gregory Nutt
2b22666554
Forgot to add a file before the last commit
2016-10-20 12:57:27 -06:00
Gregory Nutt
30ab01b1d8
strtof: Add strtof() as simply a compy of strtod with types and limits changed
2016-10-20 12:07:12 -06:00
Gregory Nutt
2dbcdd781c
Correct STM32 Butterfly2 URL. Correct some comments.
2016-10-20 07:18:23 -06:00
Alan Carvalho de Assis
1cb05d007d
Add some less-than-perfect macros to provide some implementation of strtof() and strtold()
2016-10-19 14:26:48 -06:00
Gregory Nutt
97b3240737
Minor changes from review of last PR
2016-10-19 11:50:19 -06:00
Gregory Nutt
8039173c9e
Merged in david_s5/nuttx/upstream_local_fix_to_greg (pull request #153 )
...
DO NOT MERGE Until Alan Verifies this -
2016-10-19 17:44:52 +00:00
David Sidrane
b1ed7910f0
Allows c++ code to compile with or without CONFIG_LIBC_LOCALE
...
and will generate a link error if CONFIG_LIBC_LOCALE is not defined
and setlocale is referneced. With CONFIG_LIBC_LOCALE defined
setlocale will act as if MB string is not supported and return
"C" for POSIX. C and ""
2016-10-19 06:49:19 -10:00
Gregory Nutt
48fb97e7b5
More of the same cloned typo
2016-10-19 10:11:45 -06:00
Gregory Nutt
5d56172f82
Merged in w8jcik/nuttx (pull request #152 )
...
add tim8 to stm32f103v pinmap
2016-10-19 16:03:34 +00:00
Gregory Nutt
841e1aa77f
Fix a cloned typo
2016-10-19 09:14:21 -06:00
Maciej Wójcik
c719a32a40
add tim8 to stm32f103v pinmap
2016-10-19 16:34:07 +02:00
Max Kriegleder
77e5115e23
syslog: Fixes required for file syslog output
2016-10-19 08:27:20 -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
20fc02569f
Merged in david_s5/nuttx/upstream_kinetis_to_greg (pull request #151 )
...
Upstream kinetis to greg
2016-10-18 22:12:08 +00:00
David Sidrane
c3543cf402
Kinetis:BugFix:i2c driver offset swapped for value in kinetis_i2c_putreg
2016-10-18 12:00:01 -10:00
David Sidrane
b29b2874fe
Kinetis Allow CONFIG_ARMV7M_CMNVECTOR, CONFIG_STACK_COLORATION, CONFIG_ARCH_FPU
2016-10-18 12:00:01 -10:00
David Sidrane
bce382da52
Kinetis Support ARMV7 Common Vector and FPU
2016-10-18 12:00:01 -10:00
David Sidrane
4de46c848d
Broke out DMA to use the modern Nuttx chip inclusion - still STUBS
2016-10-18 12:00:01 -10:00
David Sidrane
42ac6ecebd
Kinetis broke out SPI to kinetis/kinetis_spi.h
2016-10-18 12:00:01 -10:00
David Sidrane
70d5c7753e
Kinetis - Added missing headers
2016-10-18 12:00:01 -10:00
Alan Carvalho de Assis
402b876869
Include wchar.h to lib_libvsprintf.c to fix compilation error
2016-10-18 13:32:03 -06:00
Janne Rosberg
847d2b4218
usbhost/composite: fix compile; missing semicolons
2016-10-18 11:52:23 -06:00
Janne Rosberg
72f13db4bf
usbhost/enumerate: fix possible buffer overwrite
2016-10-18 08:15:19 -06:00
Alan Carvalho de Assis
f01c5b79fc
C library: Add functions btowc, mbrtowc, mbtowc, wcscmp, wcscoll, wmemmove
2016-10-18 08:05:28 -06:00
Gregory Nutt
626408bc29
C Library: Add clocale header file
2016-10-18 07:52:22 -06:00
Gregory Nutt
0249f3271e
C library: Add setlocale to libc.csv
2016-10-17 17:15:19 -06:00
Alan Carvalho de Assis
5354bc1dc7
Add wcslen, wmemchr, wmemcmp, wmemcpy and wmemset to NuttX
2016-10-17 16:02:08 -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
Ken Pettit
201a32cf8c
Add support for the RISC-V architecture and configs/nr5m100-nexys4 board. I will be making the FPGA code for this available soon (within a week I would say). The board support on this is pretty thin, but it seems like maybe a good idea to get the base RISC-V stuff in since there are people interested in it.
2016-10-16 09:47:07 -06:00
Gregory Nutt
44b790c360
Merged in david_s5/nuttx/upstream_to_greg_scanfwidth (pull request #150 )
...
Fixes sscan %sn where strlen(data) < n - Indenting removed!
2016-10-15 16:46:18 +00:00
Gregory Nutt
4034a23704
Finish backing out the last PR that corrupted the file coding standard
2016-10-15 10:42:15 -06:00
David Sidrane
7ee82c0168
Fixes sscan %sn where strlen(data) < n
2016-10-15 06:31:35 -10:00
Gregory Nutt
887895bf16
Revert last merge. That merge addes too many coding style violations.
2016-10-15 10:23:42 -06:00