mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks
This commit is contained in:
@@ -340,7 +340,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||||||
#
|
#
|
||||||
# Stack and heap information
|
# Stack and heap information
|
||||||
#
|
#
|
||||||
CONFIG_BOOT_RUNFROMFLASH=n
|
CONFIG_BOOT_RUNFROMFLASH=y
|
||||||
CONFIG_BOOT_COPYTORAM=n
|
CONFIG_BOOT_COPYTORAM=n
|
||||||
CONFIG_CUSTOM_STACK=n
|
CONFIG_CUSTOM_STACK=n
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||||||
#
|
#
|
||||||
# Stack and heap information
|
# Stack and heap information
|
||||||
#
|
#
|
||||||
CONFIG_BOOT_RUNFROMFLASH=n
|
CONFIG_BOOT_RUNFROMFLASH=y
|
||||||
CONFIG_BOOT_COPYTORAM=n
|
CONFIG_BOOT_COPYTORAM=n
|
||||||
CONFIG_CUSTOM_STACK=n
|
CONFIG_CUSTOM_STACK=n
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||||||
#
|
#
|
||||||
# Stack and heap information
|
# Stack and heap information
|
||||||
#
|
#
|
||||||
CONFIG_BOOT_RUNFROMFLASH=n
|
CONFIG_BOOT_RUNFROMFLASH=y
|
||||||
CONFIG_BOOT_COPYTORAM=n
|
CONFIG_BOOT_COPYTORAM=n
|
||||||
CONFIG_CUSTOM_STACK=n
|
CONFIG_CUSTOM_STACK=n
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||||
|
|||||||
@@ -406,7 +406,7 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=y
|
|||||||
#
|
#
|
||||||
# Stack and heap information
|
# Stack and heap information
|
||||||
#
|
#
|
||||||
CONFIG_BOOT_RUNFROMFLASH=n
|
CONFIG_BOOT_RUNFROMFLASH=y
|
||||||
CONFIG_BOOT_COPYTORAM=n
|
CONFIG_BOOT_COPYTORAM=n
|
||||||
CONFIG_CUSTOM_STACK=n
|
CONFIG_CUSTOM_STACK=n
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||||||
#
|
#
|
||||||
# Stack and heap information
|
# Stack and heap information
|
||||||
#
|
#
|
||||||
CONFIG_BOOT_RUNFROMFLASH=n
|
CONFIG_BOOT_RUNFROMFLASH=y
|
||||||
CONFIG_BOOT_COPYTORAM=n
|
CONFIG_BOOT_COPYTORAM=n
|
||||||
CONFIG_CUSTOM_STACK=n
|
CONFIG_CUSTOM_STACK=n
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||||
|
|||||||
@@ -516,7 +516,7 @@ LEDs
|
|||||||
- The LED is not illuminated until the LPCXpresso completes initialization.
|
- The LED is not illuminated until the LPCXpresso completes initialization.
|
||||||
|
|
||||||
If the LED is stuck in the OFF state, this means that the LPCXpresso did not
|
If the LED is stuck in the OFF state, this means that the LPCXpresso did not
|
||||||
complete intialization.
|
complete initializeation.
|
||||||
|
|
||||||
- Each time the OS enters an interrupt (or a signal) it will turn the LED OFF and
|
- Each time the OS enters an interrupt (or a signal) it will turn the LED OFF and
|
||||||
restores its previous stated upon return from the interrupt (or signal).
|
restores its previous stated upon return from the interrupt (or signal).
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
* Description:
|
* Description:
|
||||||
* This function is called by MCU-specific logic at power-on reset in
|
* This function is called by MCU-specific logic at power-on reset in
|
||||||
* order to provide one-time initialization the power management subystem.
|
* order to provide one-time initialization the power management subystem.
|
||||||
* This function must be called *very* early in the intialization sequence
|
* This function must be called *very* early in the initializeation sequence
|
||||||
* *before* any other device drivers are initialized (since they may
|
* *before* any other device drivers are initialized (since they may
|
||||||
* attempt to register with the power management subsystem).
|
* attempt to register with the power management subsystem).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -585,7 +585,7 @@ Analog Input
|
|||||||
|
|
||||||
When CONFIG_PIC32MX_ADC=y is defined, the Mirtoo boot up logic will
|
When CONFIG_PIC32MX_ADC=y is defined, the Mirtoo boot up logic will
|
||||||
automatically configure pin 18 (AN0) as an analog input (see configs/mirtoo/src/up_adc.c).
|
automatically configure pin 18 (AN0) as an analog input (see configs/mirtoo/src/up_adc.c).
|
||||||
To intialize and use the PGA117, you to add logic something like the
|
To initializee and use the PGA117, you to add logic something like the
|
||||||
following in your application code:
|
following in your application code:
|
||||||
|
|
||||||
#include <nuttx/spi/spi.h>
|
#include <nuttx/spi/spi.h>
|
||||||
|
|||||||
@@ -2629,7 +2629,7 @@ Configurations
|
|||||||
in the nsh configuration:
|
in the nsh configuration:
|
||||||
|
|
||||||
4. SDRAM is supported. .data and .bss is still retained in ISRAM, but
|
4. SDRAM is supported. .data and .bss is still retained in ISRAM, but
|
||||||
SDRAM is intialized and the SDRAM memory is included in the heap.
|
SDRAM is initializeed and the SDRAM memory is included in the heap.
|
||||||
Relevant configuration settings are provided in the paragraph entitled
|
Relevant configuration settings are provided in the paragraph entitled
|
||||||
"SDRAM Support" above.
|
"SDRAM Support" above.
|
||||||
|
|
||||||
@@ -2762,7 +2762,7 @@ Configurations
|
|||||||
However, no built-in applications are selected in the base configuration.
|
However, no built-in applications are selected in the base configuration.
|
||||||
|
|
||||||
5. This configuration has support for the FAT file system built in. However,
|
5. This configuration has support for the FAT file system built in. However,
|
||||||
by default, there are no block drivers intialized. The FAT file system can
|
by default, there are no block drivers initializeed. The FAT file system can
|
||||||
still be used to create RAM disks.
|
still be used to create RAM disks.
|
||||||
|
|
||||||
6. SDRAM support can be enabled by modifying your NuttX configuration as
|
6. SDRAM support can be enabled by modifying your NuttX configuration as
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ int sam_at24_automount(int minor)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/* Now we are intialized */
|
/* Now we are initializeed */
|
||||||
|
|
||||||
initialized = true;
|
initialized = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ int sam_at25_automount(int minor)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/* Now we are intialized */
|
/* Now we are initializeed */
|
||||||
|
|
||||||
initialized = true;
|
initialized = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ int sam_nand_automount(int minor)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/* Now we are intialized */
|
/* Now we are initializeed */
|
||||||
|
|
||||||
initialized = true;
|
initialized = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1784,7 +1784,7 @@ static inline int stm32_lcdinitialize(FAR struct stm32_dev_s *priv)
|
|||||||
stm32_lcdoutput(priv);
|
stm32_lcdoutput(priv);
|
||||||
up_mdelay(10);
|
up_mdelay(10);
|
||||||
|
|
||||||
/* Intialize the LCD hardware */
|
/* Initialize the LCD hardware */
|
||||||
|
|
||||||
#ifndef CONFIG_STM32_ILI9300_DISABLE
|
#ifndef CONFIG_STM32_ILI9300_DISABLE
|
||||||
if (id == ILI9300_ID)
|
if (id == ILI9300_ID)
|
||||||
|
|||||||
@@ -452,7 +452,7 @@ nx11
|
|||||||
2. You must first up_fbinitialize() before calling up_simtouchscreen()
|
2. You must first up_fbinitialize() before calling up_simtouchscreen()
|
||||||
or you will get a crash.
|
or you will get a crash.
|
||||||
|
|
||||||
3. Call sim_tcuninintialize() when you are finished with the
|
3. Call sim_tcunininitializee() when you are finished with the
|
||||||
simulated touchscreen.
|
simulated touchscreen.
|
||||||
|
|
||||||
4. Enable CONFIG_DEBUG_INPUT=y for touchscreen debug output.
|
4. Enable CONFIG_DEBUG_INPUT=y for touchscreen debug output.
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
* Description:
|
* Description:
|
||||||
* This function is called by MCU-specific logic at power-on reset in
|
* This function is called by MCU-specific logic at power-on reset in
|
||||||
* order to provide one-time initialization the power management subystem.
|
* order to provide one-time initialization the power management subystem.
|
||||||
* This function must be called *very* early in the intialization sequence
|
* This function must be called *very* early in the initializeation sequence
|
||||||
* *before* any other device drivers are initialized (since they may
|
* *before* any other device drivers are initialized (since they may
|
||||||
* attempt to register with the power management subsystem).
|
* attempt to register with the power management subsystem).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
* Description:
|
* Description:
|
||||||
* This function is called by MCU-specific logic at power-on reset in
|
* This function is called by MCU-specific logic at power-on reset in
|
||||||
* order to provide one-time initialization the power management subystem.
|
* order to provide one-time initialization the power management subystem.
|
||||||
* This function must be called *very* early in the intialization sequence
|
* This function must be called *very* early in the initializeation sequence
|
||||||
* *before* any other device drivers are initialized (since they may
|
* *before* any other device drivers are initialized (since they may
|
||||||
* attempt to register with the power management subsystem).
|
* attempt to register with the power management subsystem).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -725,4 +725,4 @@ Where <subdir> is one of the following:
|
|||||||
|
|
||||||
CONFIG_SCHED_WORKQUEUE=y : Enable the NuttX workqueue
|
CONFIG_SCHED_WORKQUEUE=y : Enable the NuttX workqueue
|
||||||
|
|
||||||
CONFIG_NSH_ARCHINIT=y : Provide NSH intialization logic
|
CONFIG_NSH_ARCHINIT=y : Provide NSH initializeation logic
|
||||||
|
|||||||
@@ -316,7 +316,7 @@ LEDs
|
|||||||
- The LED is not illuminated until the ZKit-ARM completes initialization.
|
- The LED is not illuminated until the ZKit-ARM completes initialization.
|
||||||
|
|
||||||
If the LED is stuck in the OFF state, this means that the ZKit-ARM did not
|
If the LED is stuck in the OFF state, this means that the ZKit-ARM did not
|
||||||
complete intialization.
|
complete initializeation.
|
||||||
|
|
||||||
- Each time the OS enters an interrupt (or a signal) it will turn the LED OFF and
|
- Each time the OS enters an interrupt (or a signal) it will turn the LED OFF and
|
||||||
restores its previous stated upon return from the interrupt (or signal).
|
restores its previous stated upon return from the interrupt (or signal).
|
||||||
|
|||||||
Reference in New Issue
Block a user