rtos/nuttx: move stacking info to the new nuttx stackings file
Other OSes have separate files to keep stack register offsets. Adding them for NuttX as well will provide a clearer way to expand. Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com> Change-Id: I1428fefefa199a95431f2073c0279dd7028ad8da Reviewed-on: https://review.openocd.org/c/openocd/+/7250 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
41231db3f0
commit
463df95215
11
src/rtos/rtos_nuttx_stackings.h
Normal file
11
src/rtos/rtos_nuttx_stackings.h
Normal file
@@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#ifndef INCLUDED_RTOS_NUTTX_STACKINGS_H
|
||||
#define INCLUDED_RTOS_NUTTX_STACKINGS_H
|
||||
|
||||
#include "rtos.h"
|
||||
|
||||
extern const struct rtos_register_stacking nuttx_stacking_cortex_m;
|
||||
extern const struct rtos_register_stacking nuttx_stacking_cortex_m_fpu;
|
||||
|
||||
#endif /* INCLUDED_RTOS_NUTTX_STACKINGS_H */
|
||||
Reference in New Issue
Block a user