Moved TEXT_SECTION_ATTR macro to its own header.
This commit is contained in:
parent
8dff84e0a2
commit
cc220d9201
|
@ -39,6 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <c_types.h>
|
#include <c_types.h>
|
||||||
|
#include "sections.h"
|
||||||
|
|
||||||
#ifndef _RTCTIME_INTERNAL_H_
|
#ifndef _RTCTIME_INTERNAL_H_
|
||||||
struct rtc_timeval
|
struct rtc_timeval
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef _SECTIONS_H_
|
||||||
|
#define _SECTIONS_H_
|
||||||
|
|
||||||
|
#define TEXT_SECTION_ATTR __attribute__((section(".text")))
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,4 +1,4 @@
|
||||||
#include "c_types.h"
|
#include "sections.h"
|
||||||
#include "rom.h"
|
#include "rom.h"
|
||||||
#include <xtensa/corebits.h>
|
#include <xtensa/corebits.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue