|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
31 #define _CHIBIOS_RT_CONF_
32 #define _CHIBIOS_RT_CONF_VER_6_1_
45 #if !defined(CH_CFG_ST_RESOLUTION)
46 #define CH_CFG_ST_RESOLUTION 32
54 #if !defined(CH_CFG_ST_FREQUENCY)
55 #define CH_CFG_ST_FREQUENCY 10000
62 #if !defined(CH_CFG_INTERVALS_SIZE)
63 #define CH_CFG_INTERVALS_SIZE 32
70 #if !defined(CH_CFG_TIME_TYPES_SIZE)
71 #define CH_CFG_TIME_TYPES_SIZE 32
82 #if !defined(CH_CFG_ST_TIMEDELTA)
83 #define CH_CFG_ST_TIMEDELTA 0
107 #if !defined(CH_CFG_TIME_QUANTUM)
108 #define CH_CFG_TIME_QUANTUM 10
118 #if !defined(CH_CFG_NO_IDLE_THREAD)
119 #define CH_CFG_NO_IDLE_THREAD FALSE
139 #if !defined(CH_CFG_OPTIMIZE_SPEED)
140 #define CH_CFG_OPTIMIZE_SPEED TRUE
159 #if !defined(CH_CFG_USE_TM)
160 #define CH_CFG_USE_TM TRUE
169 #if !defined(CH_CFG_USE_REGISTRY)
170 #define CH_CFG_USE_REGISTRY TRUE
180 #if !defined(CH_CFG_USE_WAITEXIT)
181 #define CH_CFG_USE_WAITEXIT TRUE
190 #if !defined(CH_CFG_USE_SEMAPHORES)
191 #define CH_CFG_USE_SEMAPHORES TRUE
203 #if !defined(CH_CFG_USE_SEMAPHORES_PRIORITY)
204 #define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE
213 #if !defined(CH_CFG_USE_MUTEXES)
214 #define CH_CFG_USE_MUTEXES TRUE
225 #if !defined(CH_CFG_USE_MUTEXES_RECURSIVE)
226 #define CH_CFG_USE_MUTEXES_RECURSIVE FALSE
237 #if !defined(CH_CFG_USE_CONDVARS)
238 #define CH_CFG_USE_CONDVARS TRUE
249 #if !defined(CH_CFG_USE_CONDVARS_TIMEOUT)
250 #define CH_CFG_USE_CONDVARS_TIMEOUT TRUE
259 #if !defined(CH_CFG_USE_EVENTS)
260 #define CH_CFG_USE_EVENTS TRUE
271 #if !defined(CH_CFG_USE_EVENTS_TIMEOUT)
272 #define CH_CFG_USE_EVENTS_TIMEOUT TRUE
282 #if !defined(CH_CFG_USE_MESSAGES)
283 #define CH_CFG_USE_MESSAGES TRUE
295 #if !defined(CH_CFG_USE_MESSAGES_PRIORITY)
296 #define CH_CFG_USE_MESSAGES_PRIORITY FALSE
308 #if !defined(CH_CFG_USE_DYNAMIC)
309 #define CH_CFG_USE_DYNAMIC TRUE
329 #if !defined(CH_CFG_USE_MAILBOXES)
330 #define CH_CFG_USE_MAILBOXES TRUE
340 #if !defined(CH_CFG_USE_MEMCORE)
341 #define CH_CFG_USE_MEMCORE TRUE
355 #if !defined(CH_CFG_MEMCORE_SIZE)
356 #define CH_CFG_MEMCORE_SIZE 0
369 #if !defined(CH_CFG_USE_HEAP)
370 #define CH_CFG_USE_HEAP TRUE
380 #if !defined(CH_CFG_USE_MEMPOOLS)
381 #define CH_CFG_USE_MEMPOOLS TRUE
391 #if !defined(CH_CFG_USE_OBJ_FIFOS)
392 #define CH_CFG_USE_OBJ_FIFOS TRUE
402 #if !defined(CH_CFG_USE_PIPES)
403 #define CH_CFG_USE_PIPES TRUE
413 #if !defined(CH_CFG_USE_OBJ_CACHES)
414 #define CH_CFG_USE_OBJ_CACHES TRUE
424 #if !defined(CH_CFG_USE_DELEGATES)
425 #define CH_CFG_USE_DELEGATES TRUE
435 #if !defined(CH_CFG_USE_JOBS)
436 #define CH_CFG_USE_JOBS TRUE
455 #if !defined(CH_CFG_USE_FACTORY)
456 #define CH_CFG_USE_FACTORY TRUE
464 #if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH)
465 #define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
471 #if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY)
472 #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
478 #if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS)
479 #define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
485 #if !defined(CH_CFG_FACTORY_SEMAPHORES)
486 #define CH_CFG_FACTORY_SEMAPHORES TRUE
492 #if !defined(CH_CFG_FACTORY_MAILBOXES)
493 #define CH_CFG_FACTORY_MAILBOXES TRUE
499 #if !defined(CH_CFG_FACTORY_OBJ_FIFOS)
500 #define CH_CFG_FACTORY_OBJ_FIFOS TRUE
506 #if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__)
507 #define CH_CFG_FACTORY_PIPES TRUE
524 #if !defined(CH_DBG_STATISTICS)
525 #define CH_DBG_STATISTICS FALSE
535 #if !defined(CH_DBG_SYSTEM_STATE_CHECK)
536 #define CH_DBG_SYSTEM_STATE_CHECK FALSE
546 #if !defined(CH_DBG_ENABLE_CHECKS)
547 #define CH_DBG_ENABLE_CHECKS FALSE
558 #if !defined(CH_DBG_ENABLE_ASSERTS)
559 #define CH_DBG_ENABLE_ASSERTS FALSE
568 #if !defined(CH_DBG_TRACE_MASK)
569 #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
577 #if !defined(CH_DBG_TRACE_BUFFER_SIZE)
578 #define CH_DBG_TRACE_BUFFER_SIZE 128
591 #if !defined(CH_DBG_ENABLE_STACK_CHECK)
592 #define CH_DBG_ENABLE_STACK_CHECK FALSE
603 #if !defined(CH_DBG_FILL_THREADS)
604 #define CH_DBG_FILL_THREADS FALSE
616 #if !defined(CH_DBG_THREADS_PROFILING)
617 #define CH_DBG_THREADS_PROFILING FALSE
633 #define CH_CFG_SYSTEM_EXTRA_FIELDS \
641 #define CH_CFG_SYSTEM_INIT_HOOK() { \
649 #define CH_CFG_THREAD_EXTRA_FIELDS \
659 #define CH_CFG_THREAD_INIT_HOOK(tp) { \
667 #define CH_CFG_THREAD_EXIT_HOOK(tp) { \
675 #define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \
682 #define CH_CFG_IRQ_PROLOGUE_HOOK() { \
689 #define CH_CFG_IRQ_EPILOGUE_HOOK() { \
699 #define CH_CFG_IDLE_ENTER_HOOK() { \
709 #define CH_CFG_IDLE_LEAVE_HOOK() { \
717 #define CH_CFG_IDLE_LOOP_HOOK() { \
726 #define CH_CFG_SYSTEM_TICK_HOOK() { \
735 #define CH_CFG_SYSTEM_HALT_HOOK(reason) { \
744 #define CH_CFG_TRACE_HOOK(tep) { \
757 #ifndef CORTEX_VTOR_INIT // try to find the correct init address if not defined
759 #if LUFTBOOT // using LUFTBOOT bootloader
762 #define CORTEX_VTOR_INIT 0x00004000U
763 #elif defined(STM32F7)
764 #define CORTEX_VTOR_INIT 0x08008000U
766 #define CORTEX_VTOR_INIT 0x00002000U
771 #endif // CORTEX_VTOR_INIT
774 #define CHPRINTF_USE_FLOAT 1
VIC slots used for the LPC2148 define name e g gps UART1_VIC_SLOT e g modem SPI1_VIC_SLOT SPI1 in mcu_periph spi_arch c or spi_slave_hs_arch c(and some others not using the SPI peripheral yet..) I2C0_VIC_SLOT 8 mcu_periph/i2c_arch.c I2C1_VIC_SLOT 9 mcu_periph/i2c_arch.c USB_VIC_SLOT 10 usb
static struct nodeState states[UWB_SERIAL_COMM_DIST_NUM_NODES]
static void usage(BaseSequentialStream *lchp, char *p)
VIC slots used for the LPC2148 define name e g gps UART1_VIC_SLOT e g modem SPI1_VIC_SLOT SPI1 in mcu_periph spi_arch c or spi_slave_hs_arch e g telemetry_transparent_usb no explicitly set in imu_b2_v1 MS2100_DRDY_VIC_SLOT ms2100 mag in imu_b2_v1 in modules
uint16_t f
Camera baseline, in meters (i.e. horizontal distance between the two cameras of the stereo setup)
static const ShellCommand commands[]