Browse Source

boards cleanup old nsh_archinitialize

sbg
Daniel Agar 5 years ago
parent
commit
40850f58ee
  1. 18
      boards/av/x-v1/src/board_config.h
  2. 2
      boards/av/x-v1/src/init.c
  3. 20
      boards/holybro/kakutef7/src/board_config.h
  4. 2
      boards/holybro/kakutef7/src/init.c
  5. 20
      boards/modalai/fc-v1/src/board_config.h
  6. 2
      boards/modalai/fc-v1/src/init.c
  7. 20
      boards/mro/ctrl-zero-f7/src/board_config.h
  8. 2
      boards/mro/ctrl-zero-f7/src/init.c
  9. 20
      boards/px4/fmu-v4pro/src/board_config.h
  10. 2
      boards/px4/fmu-v4pro/src/init.c
  11. 20
      boards/px4/fmu-v5/src/board_config.h
  12. 2
      boards/px4/fmu-v5/src/init.c
  13. 20
      boards/px4/fmu-v5x/src/board_config.h
  14. 2
      boards/px4/fmu-v5x/src/init.c

18
boards/av/x-v1/src/board_config.h

@ -369,24 +369,6 @@ extern void stm32_spiinitialize(void); @@ -369,24 +369,6 @@ extern void stm32_spiinitialize(void);
void board_spi_reset(int ms);
#define board_peripheral_reset(ms)
/****************************************************************************
* Name: nsh_archinitialize
*
* Description:
* Perform architecture specific initialization for NSH.
*
* CONFIG_NSH_ARCHINIT=y :
* Called from the NSH library
*
* CONFIG_BOARD_INITIALIZE=y, CONFIG_NSH_LIBRARY=y, &&
* CONFIG_NSH_ARCHINIT=n :
* Called from board_initialize().
*
****************************************************************************/
#ifdef CONFIG_NSH_LIBRARY
int nsh_archinitialize(void);
#endif
#include <px4_platform_common/board_common.h>

2
boards/av/x-v1/src/init.c

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
* @file init.c
*
* PX4FMU-specific early startup code. This file implements the
* nsh_archinitialize() function that is called early by nsh during startup.
* board_app_initialize() function that is called early by nsh during startup.
*
* Code here is run before the rcS script is invoked; it should start required
* subsystems and perform board-specific initialisation.

20
boards/holybro/kakutef7/src/board_config.h

@ -250,26 +250,6 @@ extern void stm32_usbinitialize(void); @@ -250,26 +250,6 @@ extern void stm32_usbinitialize(void);
extern void board_peripheral_reset(int ms);
/****************************************************************************
* Name: nsh_archinitialize
*
* Description:
* Perform architecture specific initialization for NSH.
*
* CONFIG_NSH_ARCHINIT=y :
* Called from the NSH library
*
* CONFIG_BOARD_INITIALIZE=y, CONFIG_NSH_LIBRARY=y, &&
* CONFIG_NSH_ARCHINIT=n :
* Called from board_initialize().
*
****************************************************************************/
#ifdef CONFIG_NSH_LIBRARY
int nsh_archinitialize(void);
#endif
#include <px4_platform_common/board_common.h>
#endif /* __ASSEMBLY__ */

2
boards/holybro/kakutef7/src/init.c

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
* @file init.c
*
* Board-specific early startup code. This file implements the
* nsh_archinitialize() function that is called early by nsh during startup.
* board_app_initialize() function that is called early by nsh during startup.
*
* Code here is run before the rcS script is invoked; it should start required
* subsystems and perform board-specific initialisation.

20
boards/modalai/fc-v1/src/board_config.h

@ -524,26 +524,6 @@ extern void stm32_usbinitialize(void); @@ -524,26 +524,6 @@ extern void stm32_usbinitialize(void);
extern void board_peripheral_reset(int ms);
/****************************************************************************
* Name: nsh_archinitialize
*
* Description:
* Perform architecture specific initialization for NSH.
*
* CONFIG_NSH_ARCHINIT=y :
* Called from the NSH library
*
* CONFIG_BOARD_INITIALIZE=y, CONFIG_NSH_LIBRARY=y, &&
* CONFIG_NSH_ARCHINIT=n :
* Called from board_initialize().
*
****************************************************************************/
#ifdef CONFIG_NSH_LIBRARY
int nsh_archinitialize(void);
#endif
#include <px4_platform_common/board_common.h>
#endif /* __ASSEMBLY__ */

2
boards/modalai/fc-v1/src/init.c

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
* @file init.c
*
* PX4FMU-specific early startup code. This file implements the
* nsh_archinitialize() function that is called early by nsh during startup.
* board_app_initializ() function that is called early by nsh during startup.
*
* Code here is run before the rcS script is invoked; it should start required
* subsystems and perform board-specific initialization.

20
boards/mro/ctrl-zero-f7/src/board_config.h

@ -372,26 +372,6 @@ extern void stm32_usbinitialize(void); @@ -372,26 +372,6 @@ extern void stm32_usbinitialize(void);
extern void board_peripheral_reset(int ms);
/****************************************************************************
* Name: nsh_archinitialize
*
* Description:
* Perform architecture specific initialization for NSH.
*
* CONFIG_NSH_ARCHINIT=y :
* Called from the NSH library
*
* CONFIG_BOARD_INITIALIZE=y, CONFIG_NSH_LIBRARY=y, &&
* CONFIG_NSH_ARCHINIT=n :
* Called from board_initialize().
*
****************************************************************************/
#ifdef CONFIG_NSH_LIBRARY
int nsh_archinitialize(void);
#endif
#include <px4_platform_common/board_common.h>
#endif /* __ASSEMBLY__ */

2
boards/mro/ctrl-zero-f7/src/init.c

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
* @file init.c
*
* Board-specific early startup code. This file implements the
* nsh_archinitialize() function that is called early by nsh during startup.
* board_app_initializ() function that is called early by nsh during startup.
*
* Code here is run before the rcS script is invoked; it should start required
* subsystems and perform board-specific initialisation.

20
boards/px4/fmu-v4pro/src/board_config.h

@ -370,26 +370,6 @@ extern void stm32_usbinitialize(void); @@ -370,26 +370,6 @@ extern void stm32_usbinitialize(void);
extern void board_peripheral_reset(int ms);
/****************************************************************************
* Name: nsh_archinitialize
*
* Description:
* Perform architecture specific initialization for NSH.
*
* CONFIG_NSH_ARCHINIT=y :
* Called from the NSH library
*
* CONFIG_BOARD_INITIALIZE=y, CONFIG_NSH_LIBRARY=y, &&
* CONFIG_NSH_ARCHINIT=n :
* Called from board_initialize().
*
****************************************************************************/
#ifdef CONFIG_NSH_LIBRARY
int nsh_archinitialize(void);
#endif
#include <px4_platform_common/board_common.h>
#endif /* __ASSEMBLY__ */

2
boards/px4/fmu-v4pro/src/init.c

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
* @file px4fmu_init.c
*
* PX4FMU-specific early startup code. This file implements the
* nsh_archinitialize() function that is called early by nsh during startup.
* board_app_initializ() function that is called early by nsh during startup.
*
* Code here is run before the rcS script is invoked; it should start required
* subsystems and perform board-specific initialisation.

20
boards/px4/fmu-v5/src/board_config.h

@ -717,26 +717,6 @@ extern void stm32_usbinitialize(void); @@ -717,26 +717,6 @@ extern void stm32_usbinitialize(void);
extern void board_peripheral_reset(int ms);
/****************************************************************************
* Name: nsh_archinitialize
*
* Description:
* Perform architecture specific initialization for NSH.
*
* CONFIG_NSH_ARCHINIT=y :
* Called from the NSH library
*
* CONFIG_BOARD_INITIALIZE=y, CONFIG_NSH_LIBRARY=y, &&
* CONFIG_NSH_ARCHINIT=n :
* Called from board_initialize().
*
****************************************************************************/
#ifdef CONFIG_NSH_LIBRARY
int nsh_archinitialize(void);
#endif
#include <px4_platform_common/board_common.h>
#endif /* __ASSEMBLY__ */

2
boards/px4/fmu-v5/src/init.c

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
* @file init.c
*
* PX4FMU-specific early startup code. This file implements the
* nsh_archinitialize() function that is called early by nsh during startup.
* board_app_initializ() function that is called early by nsh during startup.
*
* Code here is run before the rcS script is invoked; it should start required
* subsystems and perform board-specific initialisation.

20
boards/px4/fmu-v5x/src/board_config.h

@ -716,26 +716,6 @@ extern void stm32_usbinitialize(void); @@ -716,26 +716,6 @@ extern void stm32_usbinitialize(void);
extern void board_peripheral_reset(int ms);
/****************************************************************************
* Name: nsh_archinitialize
*
* Description:
* Perform architecture specific initialization for NSH.
*
* CONFIG_NSH_ARCHINIT=y :
* Called from the NSH library
*
* CONFIG_BOARD_INITIALIZE=y, CONFIG_NSH_LIBRARY=y, &&
* CONFIG_NSH_ARCHINIT=n :
* Called from board_initialize().
*
****************************************************************************/
#ifdef CONFIG_NSH_LIBRARY
int nsh_archinitialize(void);
#endif
#include <px4_platform_common/board_common.h>
#endif /* __ASSEMBLY__ */

2
boards/px4/fmu-v5x/src/init.c

@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
* @file init.c
*
* PX4FMU-specific early startup code. This file implements the
* nsh_archinitialize() function that is called early by nsh during startup.
* board_app_initializ() function that is called early by nsh during startup.
*
* Code here is run before the rcS script is invoked; it should start required
* subsystems and perform board-specific initialization.

Loading…
Cancel
Save