upstram NuttX CONFIG_EXAMPLES_NSH_CXXINITIALIZE->CONFIG_SYSTEM_NSH_CXXINITIALIZE

This commit is contained in:
David Sidrane 2018-12-11 16:28:00 -08:00
parent 5c23099eed
commit 8f308efa88
12 changed files with 5 additions and 17 deletions

View File

@ -128,7 +128,6 @@ stm32_boardinitialize(void)
__EXPORT int board_app_initialize(uintptr_t arg)
{
px4_platform_init();
/* set up the serial DMA polling */

View File

@ -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 */

View File

@ -258,7 +258,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
VDD_ETH_EN(true);
px4_platform_init();
/* configure the DMA allocator */

View File

@ -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 */

View File

@ -159,7 +159,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
{
int result = OK;
px4_platform_init();
/* set up the serial DMA polling */

View File

@ -154,7 +154,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
int result = OK;
px4_platform_init();
/* set up the serial DMA polling */

View File

@ -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);

View File

@ -213,8 +213,6 @@ stm32_boardinitialize(void)
__EXPORT int board_app_initialize(uintptr_t arg)
{
px4_platform_init();
/* configure the DMA allocator */

View File

@ -146,7 +146,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
{
int result = OK;
px4_platform_init();
/* set up the serial DMA polling */

View File

@ -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

View File

@ -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