Fix a optimization related problem in the LM3S

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4907 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-07-04 22:11:31 +00:00
parent f9520e4ffa
commit cc30d1b9de
5 changed files with 10 additions and 6 deletions
+4
View File
@@ -2952,4 +2952,8 @@
Xplorer board. This is just to facilitate testing of the LPC43xx
port but will, with any luck, become proper board support for that
board.
* arch/arm/src/lm3s/lm3s_syscontrol.c: Fix an optimization related problem
by adding a volatile qualifier to a timing loop. Oddly, the consequence
of the bug is that when debug was off, the LM3S platform too a long time
to boot. It now boots rapidly whether debug is on or off.