aboutsummaryrefslogtreecommitdiffstats
path: root/source
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
parent74b7520159a5f7fc86f8698a5ac042d96ae4f6ee (diff)
downloadlibrambutan-9335540d39df30f096f96dcfd15eea962757144f.tar.gz
librambutan-9335540d39df30f096f96dcfd15eea962757144f.zip
Adding an FAQ.
Diffstat (limited to 'source')
-rw-r--r--source/faq.rst33
-rw-r--r--source/index.rst1
2 files changed, 34 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>`.
diff --git a/source/index.rst b/source/index.rst
index d17c4db..1df81f5 100644
--- a/source/index.rst
+++ b/source/index.rst
@@ -36,6 +36,7 @@ Have fun!
libmaple <libmaple>
Bootloader <bootloader>
Troubleshooting <troubleshooting>
+ FAQ <faq>
Notes on GCC's ARM target <arm-gcc>
Complete Language Index <language-index>