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
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
Sebastien Lorquet
fb1f424e12
Support Complementary PWM outputs on STM32L4
2016-10-14 18:06:11 +02:00
Gregory Nutt
c77af11b0d
Merged in slorquet/nuttx/stm32l4_timers_fix (pull request #145 )
...
Multiple stm32l4 timer fixes
2016-10-14 14:00:12 +00:00
Sebastien Lorquet
f7e0a36f55
Multiple stm32l4 timer fixes:
...
- too many parentheses when calculating max chan count (???)
- channel 4 does not have a complementary output
2016-10-14 12:50:45 +02:00
neilh10
6dca9a4390
Add UID Unique ID
2016-10-13 19:50:35 -07:00
neilh10
64b020f1a8
Add UID Unique ID
2016-10-13 19:42:39 -07:00
Alan Carvalho de Assis
4195692bb4
Change "Board LED support" to "Board LED Status support"
2016-10-11 14:29:27 -06:00
Alan Carvalho de Assis
91fa8ffaea
STM32F103 Minimum: Add button supprt
2016-10-11 14:14:06 -06:00
Alan Carvalho de Assis
4825a8fc3f
STM32 Minimum: Note in Kconfig that the board supports buttons
2016-10-11 14:13:29 -06:00
Alan Carvalho de Assis
df313581db
Correct typo in comments
2016-10-11 14:13:28 -06:00