Scenario 1: Working with an existing project
If you’re working with an existing firmware project, Seb can help you understand, enhance, and maintain it through interactive chat. Seb automatically understands your hardware context by analyzing your project’s board configuration, MCU specifications, peripheral setup, and sensor drivers. Simply navigate to your project directory and start a conversation with Seb.Start Interactive Chat
Navigate to your project directory and start an interactive chat session:seb chat, you’ll enter an interactive chat interface where you can have a back-and-forth conversation with Seb. You don’t need to run seb chat again for each question—just type your questions directly in the chat interface.
Hardware Context Awareness
Seb automatically reads and understands your hardware context from your project, including:- MCU and Board Configuration - Your target microcontroller, clock speeds, memory layout, and board-specific settings
- Peripheral Configuration - I2C, SPI, UART, ADC, GPIO, and other peripherals configured in your project
- Sensor Drivers - All sensor drivers in your project and their communication interfaces
- Hardware Constraints - Pin assignments, timing requirements, and electrical characteristics
Example Questions to Ask
Here are some example questions you can ask Seb once you’re in the interactive chat:- “What is my project doing?” - Seb will analyze your project structure, hardware configuration, and explain its functionality
- “Can you list out my current drivers?” - Get a comprehensive list of all drivers in your project with their hardware interfaces
- “If there are issues you think should be fixed, just list them” - Seb will identify potential problems considering your specific hardware setup and suggest improvements
Scenario 2: Starting a new project
Starting a new firmware project from scratch? Seb can help you set up a complete, production-ready project structure in minutes.Initialize Your Project
Begin by exploring available board configurations and initializing your project:- Board-specific configuration
- ARM GCC toolchain setup
- Initial source files
- Build system configuration
Upload Design Documents
Add your design documents to the project’sdocuments/ folder. You can upload:
- Bill of Materials (BOMs)
- Schematics
- Datasheets
- Other supporting design documents
Process Documents
Once you’ve uploaded your design documents, process them to extract structured information:Generate Sensor Drivers
Use Seb chat to generate drivers for your sensors. Start an interactive chat session and ask Seb to generate the drivers:- “Generate a driver for BMP280” - Seb will create a complete driver based on the processed datasheet metadata
- “Generate drivers for all my sensors” - Seb will generate drivers for all sensors with processed metadata
- “Validate the BMP280 driver” - Seb will check the driver for correctness, proper error handling, and hardware compatibility
- “Show me how to integrate the BMP280 driver into my main application” - Seb will provide integration code and explain how to initialize and use the driver in your main application loop
- “Check if my driver integration is correct” - Seb will review your code and identify any integration issues or improvements needed
Write Application Code
Use Seb chat to help you write your main application code. Seb understands your hardware configuration, drivers, and project structure, enabling it to generate application code that integrates seamlessly with your setup:- “Write a main application loop that reads from BMP280 every second” - Seb will generate application code that initializes and uses your sensors
- “Create an interrupt handler for button presses” - Seb will write interrupt service routines tailored to your hardware
- “Implement a state machine for my application” - Seb can help structure your application logic
- “Show me how to use multiple sensors together” - Seb will provide code that coordinates multiple drivers
- Properly initializes your hardware and drivers
- Follows best practices for embedded systems
- Is compatible with your MCU and board configuration
- Integrates with your existing project structure
Build and Test
Build your project and start debugging:Get Development Assistance
Throughout development, use Seb’s interactive chat to get help. Start a chat session and ask questions:- “How should I structure my main application loop?” - Get implementation guidance
- “What’s the best way to configure SPI for my display?” - Get help with peripheral configuration
- “What are the recommended interrupt priorities for my use case?” - Understand best practices for your hardware

