boards: Advanced Technology Labs (ATL) Mantis EDU support and airfarme (SYS_AUTOSTART 4061)

Co-authored-by: Julian Oes <julian@oes.ch>
Co-authored-by: Daniel Agar <daniel@agar.ca>
This commit is contained in:
Daniel Agar
2021-08-04 17:15:24 -04:00
co-authored by Julian Oes
parent 8f64f7ce90
commit e900f2ea54
32 changed files with 2476 additions and 20 deletions
@@ -560,9 +560,9 @@ __EXPORT void board_on_reset(int status);
*
****************************************************************************/
#ifdef CONFIG_BOARDCTL_POWEROFF
#if defined(BOARD_HAS_POWER_CONTROL)
int board_power_off(int status);
#endif
#endif // BOARD_HAS_POWER_CONTROL
/****************************************************************************
* Name: board_reset
@@ -97,9 +97,9 @@ __EXPORT int px4_reboot_request(bool to_bootloader = false, uint32_t delay_us =
* @param delay_us optional delay in microseconds
* @return 0 on success, <0 on error
*/
#if defined(CONFIG_BOARDCTL_POWEROFF) || defined(__PX4_POSIX)
#if defined(BOARD_HAS_POWER_CONTROL) || defined(__PX4_POSIX)
__EXPORT int px4_shutdown_request(uint32_t delay_us = 0);
#endif // CONFIG_BOARDCTL_POWEROFF
#endif // BOARD_HAS_POWER_CONTROL
/**