How jpearman/convex works
Main Components
a. Hardware Layer:
• STM32 Processor
• VEX Cortex Microcontroller peripherals (Motors, Sensors, LCD, etc.)
• Board-specific components (OLIMEX_STM32_P103 and VEX_STM32_CORTEX)
b. Software Layers:
• ChibiOS/RT Core (Base RTOS)
• ConVEX Firmware Layer
• Optional Features Layer
• User Applications Layer
Component Organization
[User Applications] (Top Layer)
• ↑
[Optional Features]
• ↑
[ConVEX Firmware]
• ↑
[ChibiOS/RT Core]
• ↑
[Hardware Layer] (Bottom Layer)
Detailed Component Breakdown
• STM32 processor
• Peripheral interfaces (Digital I/O, Analog, Motors, etc.)
• Board-specific interfaces
• Thread Management
• Scheduling
• Memory Management
• I/O Systems
c. ConVEX Firmware (Use rounded rectangles):
• Motor Control Module (vexmotor.c)
• Sensor Interface (vexsensor.c)
• LCD Control (vexlcd.c)
• Digital/Analog I/O (vexdigital.c, vexanalog.c)
• Audio System (vexaudio.c)
• Shell Interface (vexshell.c)
• SmartMotor Library
• Apollo Real-time Display
• VEX Gyro
• PID Library
• ROBOTC Compatibility Layer
• Test Projects
• Custom User Code
Additional Elements
Callouts showing:
• Thread management (128 priority levels)
• Memory management systems
• I/O interfaces
• Communication protocols (SPI, etc.)