mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Fix a optimization related problem in the LM3S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4907 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -268,7 +268,7 @@ Stellaris EKK-LM3S9B96 Evaluation Kit Configuration Options
|
|||||||
|
|
||||||
CONFIG_DRAM_SIZE - Describes the installed DRAM (SRAM in this case):
|
CONFIG_DRAM_SIZE - Describes the installed DRAM (SRAM in this case):
|
||||||
|
|
||||||
CONFIG_DRAM_SIZE=0x00010000 (64Kb)
|
CONFIG_DRAM_SIZE=0x00018000 (96Kb)
|
||||||
|
|
||||||
CONFIG_DRAM_START - The start address of installed DRAM
|
CONFIG_DRAM_START - The start address of installed DRAM
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
void lm3s_boardinitialize(void)
|
void lm3s_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* lm3s_ssiinitialize() has been brought into the link.
|
* lm3s_ssiinitialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -99,13 +99,13 @@
|
|||||||
* Name: lm3s_ssiinitialize
|
* Name: lm3s_ssiinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the LM3S6965 Eval Kit.
|
* Called to configure chip select GPIO pins for the LM3S9B96 Eval board.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm3s_ssiinitialize(void)
|
void weak_function lm3s_ssiinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure the SPI CS GPIO */
|
/* Configure the CS GPIO */
|
||||||
#if 0
|
#if 0
|
||||||
ssi_dumpgpio("lm3s_ssiinitialize() Entry");
|
ssi_dumpgpio("lm3s_ssiinitialize() Entry");
|
||||||
ssi_dumpgpio("lm3s_ssiinitialize() Exit");
|
ssi_dumpgpio("lm3s_ssiinitialize() Exit");
|
||||||
|
|||||||
Reference in New Issue
Block a user