mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Add support for accessing printf, sprintf, puts, etc. strings that do not lie in the MCU data space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3738 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1839,5 +1839,13 @@
|
||||
and was, therefore, off by one, and (2) Some devices stall of get Max LUN request
|
||||
if they support only a single LUN. Logic now assumes a single LUN if the get
|
||||
Max LUN request fails.
|
||||
* include/nuttx/arch.h, lib/stdio/lib_libvsprintf.c, lib/stdio/lib_fputs.c: Add
|
||||
a new configuration option to support extracting strings from FLASH or EEPROM
|
||||
or other memories where the string data cannot be accessed by simply de-referencing
|
||||
a string pointer.
|
||||
* arch/sim/src/up_romgetc.c: Used to test the basic logic to access strings
|
||||
without directly de-referencing a string pointer.
|
||||
* arch/avr/src/avr/up_romget.c: Used to access strings that lie in the first
|
||||
64Kb of FLASH.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user