Commit Graph

27014 Commits

Author SHA1 Message Date
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
Gregory Nutt
db8863622b Merged in david_s5/nuttx/upstream_to_greg_scanfwidth (pull request #149)
Fixes sscan %sn where strlen(data) < n
2016-10-15 16:10:08 +00:00
David Sidrane
d538b6b318 Removed debug pragma 2016-10-15 06:00:00 -10:00
David Sidrane
55b798c357 Indented 2016-10-15 05:23:18 -10:00
David Sidrane
0b3c75f6bd Fixes sscan %sn where strlen(data) < n 2016-10-15 05:15:40 -10:00
Gregory Nutt
30598c005f Cosmetic changes from review of last PR 2016-10-15 08:56:11 -06:00
Gregory Nutt
61b6fd0b1a Merged in david_s5/nuttx/upstream_to_greg_stm32_higher_baud (pull request #148)
F4 Support oversampling by 8
2016-10-15 14:48:29 +00:00
David Sidrane
909ea5e8ef F4 Support versampling by 8 2016-10-15 03:56:07 -10:00
Gregory Nutt
5b46ce4889 Cosmetic changes from review of last PR 2016-10-14 17:39:21 -06:00
Gregory Nutt
f2ebb6d2a0 Merged in neilh20/anuttx/pr_K64_uid (pull request #147)
Add Kinetis freedom-k64f uid
2016-10-14 23:29:19 +00:00
Gregory Nutt
ad6856c931 Trivial stylistic changes from review of last PR 2016-10-14 11:12:49 -06:00
Gregory Nutt
e3c553e58d Merged in slorquet/nuttx/32l4_pwm (pull request #146)
32l4 pwm
2016-10-14 16:55:03 +00:00
Sebastien Lorquet
49238489fd Support PWM testing on board nucleo-l476. 2016-10-14 18:06:42 +02:00