69 #define BOARD_READABLE true
70 #define BOARD_WRITABLE true
71 #define MAX_DEL_RETRYS 3
77 #define PIOS_LED_HEARTBEAT 0
78 #define PIOS_LED_ALARM 1
83 #define PIOS_WATCHDOG_TIMEOUT 250
84 #define PIOS_WDG_REGISTER RTC_BKP_DR4
104 #define PIOS_COM_GPS (pios_com_gps_id)
105 #define PIOS_COM_TELEM_USB (pios_com_telem_usb_id)
106 #define PIOS_COM_BRIDGE (pios_com_bridge_id)
107 #define PIOS_COM_VCP (pios_com_vcp_id)
108 #define PIOS_COM_MAVLINK (pios_com_mavlink_id)
109 #define PIOS_COM_HOTT (pios_com_hott_id)
110 #define PIOS_COM_FRSKY_SENSOR_HUB (pios_com_frsky_sensor_hub_id)
111 #define PIOS_COM_LIGHTTELEMETRY (pios_com_lighttelemetry_id)
112 #define PIOS_COM_DEBUG (pios_com_debug_id)
114 #define DEBUG_LEVEL 0
115 #define DEBUG_PRINTF(level, ...) {if(level <= DEBUG_LEVEL && pios_com_debug_id > 0) { PIOS_COM_SendFormattedStringNonBlocking(pios_com_debug_id, __VA_ARGS__); }}
117 #define PIOS_SYSCLK 168000000
128 #define PIOS_PERIPHERAL_APB1_CLOCK (PIOS_SYSCLK / 4)
138 #define PIOS_PERIPHERAL_APB2_CLOCK (PIOS_SYSCLK / 2)
144 #define PIOS_IRQ_PRIO_LOW 12 // lower than RTOS
145 #define PIOS_IRQ_PRIO_MID 8 // higher than RTOS
146 #define PIOS_IRQ_PRIO_HIGH 5 // for SPI, ADC, I2C etc...
147 #define PIOS_IRQ_PRIO_HIGHEST 4 // for USART etc...
152 #define PIOS_TIM_MAX_DEVS 6
157 #define PIOS_USB_ENABLED 1
uintptr_t pios_com_frsky_sport_id
uintptr_t pios_com_frsky_sensor_hub_id
uintptr_t pios_com_telem_serial_id
uintptr_t pios_com_debug_id
uintptr_t pios_com_hott_id
uintptr_t pios_com_mavlink_id
uintptr_t pios_com_lighttelemetry_id
uintptr_t pios_com_openlog_logging_id
uintptr_t pios_com_telem_usb_id
uintptr_t pios_com_bridge_id
uintptr_t pios_com_gps_id
uintptr_t pios_com_vcp_id