36 #include <uavobjectsinit.h>
40 #include "baroaltitude.h"
41 #include "gpsposition.h"
43 #include "gyrosbias.h"
45 #include "hwsimulation.h"
46 #include "magnetometer.h"
47 #include "manualcontrolsettings.h"
61 #define PIOS_COM_TELEM_TCP_RX_BUF_LEN 384
62 #define PIOS_COM_TELEM_TCP_TX_BUF_LEN 384
63 #define PIOS_COM_GPS_RX_BUF_LEN 96
68 #include "../../../tests/logfs/unittest_init.c"
94 fprintf(stderr,
"Unable to initialize posix flash driver: %d\n",
103 fprintf(stderr,
"Unable to open the settings partition\n");
106 UAVObjectsInitializeAll();
111 HwSimulationInitialize();
114 uintptr_t pios_tcp_telem_id;
116 if (
PIOS_TCP_Init(&pios_tcp_telem_id, &pios_tcp_telem_cfg)) {
128 printf(
"Completed PIOS_Board_Init\n");
const struct pios_tcp_cfg pios_tcp_telem_cfg
Main PiOS header to include all the compiled in PiOS options.
uintptr_t pios_com_debug_id
uintptr_t pios_uavo_settings_fs_id
#define PIOS_COM_TELEM_USB
int32_t PIOS_DELAY_Init(void)
int32_t PIOS_FLASHFS_Logfs_Init(uintptr_t *fs_id, const struct flashfs_logfs_cfg *cfg, enum pios_flash_partition_labels partition_label)
Initialize the flash object setting FS.
struct pios_flash_posix_cfg flash_config
uintptr_t pios_posix_flash_id
struct flashfs_logfs_cfg flashfs_config_settings
#define PIOS_COM_TELEM_TCP_TX_BUF_LEN
uintptr_t pios_com_telem_usb_id
int32_t PIOS_TCP_Init(uintptr_t *tcp_id, const struct pios_tcp_cfg *cfg)
int32_t PIOS_COM_Init(uintptr_t *com_id, const struct pios_com_driver *driver, uintptr_t lower_id, uint16_t rx_buffer_len, uint16_t tx_buffer_len)
void PIOS_FLASH_register_partition_table(const struct pios_flash_partition partition_table[], uint8_t num_partitions)
#define PIOS_COM_TELEM_TCP_RX_BUF_LEN
Includes PiOS and core architecture components.
const struct pios_flash_partition pios_flash_partition_table[]
uintptr_t pios_com_openlog_id
int printf(const char *format,...)
const struct pios_com_driver pios_tcp_com_driver
int32_t AlarmsInitialize(void)
#define PIOS_Assert(test)
USART private definitions.
int32_t PIOS_Flash_Posix_Init(uintptr_t *chip_id, const struct pios_flash_posix_cfg *cfg, bool force_recreate)