2023-03-06 22:02:49 -04:00
|
|
|
#pragma once
|
|
|
|
|
2023-03-16 06:49:38 -03:00
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
2023-03-06 22:02:49 -04:00
|
|
|
|
|
|
|
#ifndef HAL_GENERATOR_ENABLED
|
2023-05-31 22:21:45 -03:00
|
|
|
#define HAL_GENERATOR_ENABLED 1
|
2023-03-06 22:02:49 -04:00
|
|
|
#endif
|
2023-02-27 01:06:56 -04:00
|
|
|
|
|
|
|
#ifndef AP_GENERATOR_BACKEND_DEFAULT_ENABLED
|
|
|
|
#define AP_GENERATOR_BACKEND_DEFAULT_ENABLED HAL_GENERATOR_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GENERATOR_IE_ENABLED
|
|
|
|
#define AP_GENERATOR_IE_ENABLED AP_GENERATOR_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GENERATOR_IE2400_ENABLED
|
|
|
|
#define AP_GENERATOR_IE2400_ENABLED AP_GENERATOR_IE_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GENERATOR_IE650_800_ENABLED
|
|
|
|
#define AP_GENERATOR_IE650_800_ENABLED AP_GENERATOR_IE_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_GENERATOR_RICHENPOWER_ENABLED
|
2023-03-14 01:00:57 -03:00
|
|
|
#define AP_GENERATOR_RICHENPOWER_ENABLED AP_GENERATOR_BACKEND_DEFAULT_ENABLED && BOARD_FLASH_SIZE > 1024
|
2023-02-27 01:06:56 -04:00
|
|
|
#endif
|