Skip to content

Instantly share code, notes, and snippets.

@tomtor
tomtor / ULP-stack.S
Last active January 11, 2023 13:05
ESP32 ULP subroutine and stack macros and multiply routine
/*
* Demo of Stack and subroutine macros for ESP32 ULP
*
* R3 is the SP
*/
#include "soc/rtc_cntl_reg.h"
#include "soc/rtc_io_reg.h"
#include "soc/soc_ulp.h"