aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>