Hardware Abstraction Layer for FreeRTOS
driver.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Author: Andreas Werner <kernel@andy89.org>
4  * Date: 2021
5  */
6 #ifndef DRIVER_H_
7 #ifdef LINKER_SCRIPT
8 
16 #include <linker.h>
21 #define DEV_DEFAULT(location) \
22  SECTION_START(.rodata.devs) \
23  SYMBOL(_devs); \
24  KEEP(*(.rodata.devs)) \
25  SYMBOL(_devs_end); \
26  SECTION_STOP(location)
27 #endif
28 
29 #endif
linker.h