aboutsummaryrefslogtreecommitdiffstats
path: root/source/faq.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-06-14 00:05:05 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-06-14 00:05:05 -0400
commit9335540d39df30f096f96dcfd15eea962757144f (patch)
tree1ff0aa3b6bd5d367cc43cc0eb77ac69987d49e92 /source/faq.rst
parent74b7520159a5f7fc86f8698a5ac042d96ae4f6ee (diff)
downloadlibrambutan-9335540d39df30f096f96dcfd15eea962757144f.tar.gz
librambutan-9335540d39df30f096f96dcfd15eea962757144f.zip
Adding an FAQ.
Diffstat (limited to 'source/faq.rst')
-rw-r--r--source/faq.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/source/faq.rst b/source/faq.rst
new file mode 100644
index 0000000..13347f8
--- /dev/null
+++ b/source/faq.rst
@@ -0,0 +1,33 @@
+.. _faq:
+
+==================================
+ Frequently Asked Questions (FAQ)
+==================================
+
+.. contents:: Contents
+ :local:
+
+.. _faq-atoi:
+
+How can I use ``atoi()``?
+-------------------------
+
+The :ref:`CodeSourcery GCC compiler <arm-gcc>` used to compile your
+programs is configured to link against the `newlib
+<http://sourceware.org/newlib/>`_ C library, and allows the use of any
+of its headers.
+
+.. _faq-dynamic-memory:
+
+Why don't ``malloc()``/``new`` work?
+------------------------------------
+
+Due to our newlib configuration, dynamic memory allocation is
+currently not available.
+
+.. _faq-flash-tables:
+
+How do I replace ``PROGMEM``/put data into Flash?
+-------------------------------------------------
+
+See :ref:`this note <arm-gcc-attribute-flash>`.