forked from Archive/PX4-Autopilot
upstram NuttX CONFIG_EXAMPLES_NSH_CXXINITIALIZE->CONFIG_SYSTEM_NSH_CXXINITIALIZE
This commit is contained in:
parent
5c23099eed
commit
8f308efa88
|
@ -128,7 +128,6 @@ stm32_boardinitialize(void)
|
|||
|
||||
__EXPORT int board_app_initialize(uintptr_t arg)
|
||||
{
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* set up the serial DMA polling */
|
||||
|
|
|
@ -154,7 +154,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||
/* the interruption subsystem is not initialized when stm32_boardinitialize() is called */
|
||||
stm32_gpiosetevent(GPIO_FORCE_BOOTLOADER, true, false, false, _bootloader_force_pin_callback, NULL);
|
||||
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* set up the serial DMA polling */
|
||||
|
|
|
@ -258,7 +258,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||
|
||||
VDD_ETH_EN(true);
|
||||
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* configure the DMA allocator */
|
||||
|
|
|
@ -237,8 +237,6 @@ static struct spi_dev_s *spi3;
|
|||
|
||||
__EXPORT int board_app_initialize(uintptr_t arg)
|
||||
{
|
||||
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* configure the DMA allocator */
|
||||
|
|
|
@ -159,7 +159,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||
{
|
||||
int result = OK;
|
||||
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* set up the serial DMA polling */
|
||||
|
|
|
@ -154,7 +154,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||
|
||||
int result = OK;
|
||||
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* set up the serial DMA polling */
|
||||
|
|
|
@ -273,8 +273,6 @@ static struct sdio_dev_s *sdio;
|
|||
|
||||
__EXPORT int board_app_initialize(uintptr_t arg)
|
||||
{
|
||||
|
||||
|
||||
/* Bring up the Sensor power */
|
||||
|
||||
stm32_gpiowrite(GPIO_VDD_3V3_SENSORS_EN, 1);
|
||||
|
|
|
@ -213,8 +213,6 @@ stm32_boardinitialize(void)
|
|||
|
||||
__EXPORT int board_app_initialize(uintptr_t arg)
|
||||
{
|
||||
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* configure the DMA allocator */
|
||||
|
|
|
@ -146,7 +146,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||
{
|
||||
int result = OK;
|
||||
|
||||
|
||||
px4_platform_init();
|
||||
|
||||
/* set up the serial DMA polling */
|
||||
|
|
|
@ -48,8 +48,8 @@ int px4_platform_init(void)
|
|||
/* run C++ ctors before we go any further */
|
||||
up_cxxinitialize();
|
||||
|
||||
# if defined(CONFIG_EXAMPLES_NSH_CXXINITIALIZE)
|
||||
# error CONFIG_EXAMPLES_NSH_CXXINITIALIZE Must not be defined! Use CONFIG_HAVE_CXX and CONFIG_HAVE_CXXINITIALIZE.
|
||||
# if defined(CONFIG_SYSTEM_NSH_CXXINITIALIZE)
|
||||
# error CONFIG_SYSTEM_NSH_CXXINITIALIZE Must not be defined! Use CONFIG_HAVE_CXX and CONFIG_HAVE_CXXINITIALIZE.
|
||||
# endif
|
||||
|
||||
#else
|
||||
|
|
|
@ -266,8 +266,8 @@ user_start(int argc, char *argv[])
|
|||
|
||||
up_cxxinitialize();
|
||||
|
||||
# if defined(CONFIG_EXAMPLES_NSH_CXXINITIALIZE)
|
||||
# error CONFIG_EXAMPLES_NSH_CXXINITIALIZE Must not be defined! Use CONFIG_HAVE_CXX and CONFIG_HAVE_CXXINITIALIZE.
|
||||
# if defined(CONFIG_SYSTEM_NSH_CXXINITIALIZE)
|
||||
# error CONFIG_SYSTEM_NSH_CXXINITIALIZE Must not be defined! Use CONFIG_HAVE_CXX and CONFIG_HAVE_CXXINITIALIZE.
|
||||
# endif
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue