31 #define SPARKY2_V2_0 0x01
32 #define BRUSHEDSPARKY_V0_1 0x21
33 #define BRUSHEDSPARKY_V0_2 0x22
73 #define BOARD_READABLE true
74 #define BOARD_WRITABLE true
75 #define MAX_DEL_RETRYS 3
81 #define PIOS_LED_HEARTBEAT 0
82 #define PIOS_LED_ALARM 1
83 #define PIOS_LED_LINK 2
88 #define PIOS_WATCHDOG_TIMEOUT 250
89 #define PIOS_WDG_REGISTER RTC_BKP_DR4
110 #define PIOS_COM_GPS (pios_com_gps_id)
111 #define PIOS_COM_TELEM_USB (pios_com_telem_usb_id)
112 #define PIOS_COM_BRIDGE (pios_com_bridge_id)
113 #define PIOS_COM_VCP (pios_com_vcp_id)
114 #define PIOS_COM_MAVLINK (pios_com_mavlink_id)
115 #define PIOS_COM_HOTT (pios_com_hott_id)
116 #define PIOS_COM_FRSKY_SENSOR_HUB (pios_com_frsky_sensor_hub_id)
117 #define PIOS_COM_LIGHTTELEMETRY (pios_com_lighttelemetry_id)
118 #define PIOS_COM_DEBUG (pios_com_debug_id)
119 #define PIOS_COM_FRSKY_SPORT (pios_com_frsky_sport_id)
120 #define PIOS_COM_OPENLOG (pios_com_openlog_logging_id)
121 #define PIOS_COM_STORM32BGC (pios_com_storm32bgc_id)
123 #define DEBUG_LEVEL 0
124 #define DEBUG_PRINTF(level, ...) {if(level <= DEBUG_LEVEL && pios_com_debug_id > 0) { PIOS_COM_SendFormattedStringNonBlocking(pios_com_debug_id, __VA_ARGS__); }}
129 #define RS_ECC_NPARITY 4
131 #define PIOS_SYSCLK 168000000
142 #define PIOS_PERIPHERAL_APB1_CLOCK (PIOS_SYSCLK / 4)
152 #define PIOS_PERIPHERAL_APB2_CLOCK (PIOS_SYSCLK / 2)
158 #define PIOS_IRQ_PRIO_LOW 12 // lower than RTOS
159 #define PIOS_IRQ_PRIO_MID 8 // higher than RTOS
160 #define PIOS_IRQ_PRIO_HIGH 5 // for SPI, ADC, I2C etc...
161 #define PIOS_IRQ_PRIO_HIGHEST 4 // for USART etc...
167 #define PIOS_RCVR_MAX_CHANNELS 12
172 #define PIOS_PPM_NUM_INPUTS 12
177 #define PIOS_PWM_NUM_INPUTS 8
182 #define PIOS_SPEKTRUM_NUM_INPUTS 12
187 #define PIOS_SBUS_NUM_INPUTS (16+2)
192 #define PIOS_DSM_NUM_INPUTS 12
197 #define PIOS_HSUM_MAX_DEVS 2
198 #define PIOS_HSUM_NUM_INPUTS 32
203 #define PIOS_SERVO_UPDATE_HZ 50
204 #define PIOS_SERVOS_INITIAL_POSITION 0
209 #define PIOS_TIM_MAX_DEVS 6
214 #define PIOS_ADC_MAX_OVERSAMPLING 2
215 #define VREF_PLUS 3.3
220 #define PIOS_USB_ENABLED 1
225 #define PIOS_ADC_SUB_DRIVER_MAX_INSTANCES 3
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_storm32bgc_id
uintptr_t pios_com_gps_id
uintptr_t pios_com_vcp_id