1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/esp: Use CPU_ESP8266 define instead of the removed MCU_ESP8266

Follow-up-for: https://github.com/RIOT-OS/RIOT/pull/20397
Closes: https://github.com/RIOT-OS/RIOT/pull/20409
Closes: https://github.com/RIOT-OS/RIOT/pull/20415
This commit is contained in:
chrysn 2024-02-22 14:26:43 +01:00
parent 609ad44f39
commit c3020ce3b7
2 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ static void user_init_entry(void *param)
phy_get_bb_evm();
#ifdef MCU_ESP8266
#ifdef CPU_ESP8266
/* initialize newlib system calls */
extern void syscalls_init (void);
syscalls_init ();

View File

@ -493,7 +493,7 @@ User Exception (including Level 1 Interrupt from user mode).
_UserExceptionVector:
#ifdef MCU_ESP8266
#ifdef CPU_ESP8266
wsr a0, EXCSAVE_1 /* preserve a0 */
j _UserExceptionTrampoline /* jump to handler trampoline */
#else
@ -504,7 +504,7 @@ _UserExceptionVector:
.end literal_prefix
#ifdef MCU_ESP8266
#ifdef CPU_ESP8266
/*************************** LoadStoreError Handler BEGIN ********************/
/*
* PLEASE NOTE: The code between "LoadStoreError Handler BEGIN" and
@ -549,7 +549,7 @@ _LoadStoreErrorHandlerStack:
_UserExceptionTrampoline:
wsr a1, EXCSAVE_2 /* preserve a1 */
#ifdef MCU_ESP8266
#ifdef CPU_ESP8266
rsr a1, exccause
beqi a1, CAUSE_LOADSTORE, _LoadStoreErrorHandler
#endif
@ -2010,7 +2010,7 @@ _xt_nmi:
/* USER_EDIT:
ADD HIGH PRIORITY NON-MASKABLE INTERRUPT (NMI) HANDLER CODE HERE.
*/
#if defined(RIOT_VERSION) && defined(MCU_ESP8266)
#if defined(RIOT_VERSION) && defined(CPU_ESP8266)
rsr a0, EXCSAVE + XCHAL_NMILEVEL /* restore a0 as saved in _NMIExceptionHandler */
@ -2116,7 +2116,7 @@ _xt_nmi:
/*************************** NMI Handler END ****************************/
#endif /* defined(RIOT_VERSION) && defined(MCU_ESP8266) */
#endif /* defined(RIOT_VERSION) && defined(CPU_ESP8266) */
.align 4
.L_xt_nmi_exit: