RTEMS BSP and Driver Guide (6.a3cfaea).¶
The authors have used their best efforts in preparing this material. These efforts include the development, research, and testing of the theories and programs to determine their effectiveness. No warranty of any kind, expressed or implied, with regard to the software or the material contained in this document is provided. No liability arising out of the application or use of any product described in this document is assumed. The authors reserve the right to revise this material and to make changes from time to time in the content hereof without obligation to notify anyone of such revision or changes.
The RTEMS Project is hosted at https://www.rtems.org. Any inquiries concerning RTEMS, its related support components, or its documentation should be directed to the RTEMS Project community.
- 1. Introduction
- 2. Target Dependent Files
- 3. Linker Script
- 4. Miscellaneous Support Files
- 4.1. README Files
- 4.2. Times
- 4.3. Tools Subdirectory
- 4.4. bsp.h Include File
- 4.5. tm27.h Include File
- 4.6. sbrk() Implementation
- 4.7. bsp_fatal_extension() - Cleanup the Hardware
- 4.8. Configuration Macros
- 4.9. set_vector() - Install an Interrupt Vector
- 4.10. Interrupt Delay Profiling
- 4.11. Programmable Interrupt Controller API
- 5. System Initialization
- 6. Console Driver
- 7. Clock Driver
- 8. Target Hash
- 9. Entropy Source
- 10. I2C Driver
- 11. SPI Driver
- 12. Real-Time Clock Driver
- 13. Networking Driver
- 13.1. Introduction
- 13.2. Learn about the network device
- 13.3. Understand the network scheduling conventions
- 13.4. Network Driver Makefile
- 13.5. Write the Driver Attach Function
- 13.6. Write the Driver Start Function.
- 13.7. Write the Driver Initialization Function.
- 13.8. Write the Driver Transmit Task
- 13.9. Write the Driver Receive Task
- 13.10. Write the Driver Interrupt Handler
- 13.11. Write the Driver IOCTL Function
- 13.12. Write the Driver Statistic-Printing Function
- 14. Frame Buffer Driver
- 15. Ada95 Interrupt Support
- 16. Shared Memory Support Driver
- 17. Timer Driver
- 18. ATA Driver
- 19. IDE Controller Driver
- 20. Command and Variable Index
- 21. Doxygen Recommendations for BSPs
- 21.1. BSP Basics
- 21.2. Common Features Found In BSPs
- 21.3. Shared Features
- 21.4. Rationale
- 21.5. The Structure of the bsps/ directory
- 21.6. Doxygen
- 21.7. Doxygen Basics
- 21.8. Doxygen Headers
- 21.9. The @defgroup Command
- 21.10. The @ingroup Command
- 21.11. The @brief Command
- 21.12. The Two Types of Doxygen Headers
- 21.13. Generating Documentation
- 21.14. Doxygen in bsps/
- 21.15. Group Naming Conventions
- 21.16. Where to place @defgroup
- 21.17. @defgroups for CPU Architectures and Shared Directories
- 21.18. @defgroups for BSPs
- 21.19. @defgroups for Everything Else
- 21.20. Look Common Features Implemented
- 21.21. Check out the Makefile
- 21.22. Start with a .h, and look for files that include it
- 21.23. Files with similar names
- 21.24. Where to place @ingroup
- 21.25. @ingroup in the first type of Doxygen Header
- 21.26. @ingroup in the second type of Doxygen Header
- 21.27. @ingroup for shared code