-
Notifications
You must be signed in to change notification settings - Fork 0
Debug
M Hightower edited this page Dec 2, 2022
·
5 revisions
Performs run-time assertion checking when NDEBUG
is not defined.
C++ docs on assert
How to use the assert
macro with a message.
Method 1:
bool testbool = false;
assert(("this is the time", testbool));
Method 2:
bool testbool = false;
assert(testbool && "This is a message");
With method 2 newer compilers may give a warning. Alternative:
bool testbool = false;
assert(testbool && (NULL != "This is a message"));
Performs compile-time assertion checking. C++ docs on static_assert
static_assert ( bool-constexpr , message ); // (since C++11)
static_assert ( bool-constexpr ); // (since C++17)
- Keeping the Lights On - how to manage GPIO state across reboots and crashes
- Boot fails when SPI Bus used
- GPIO Drive Strength and Ringing
- LDO Regulators WIP
- ESP8266 Power Considerations This is only a rough outline, needs a lot of development.
- Upgrading Flash Chips, QIO, and DIO
- Dodgy Extra 2K of DRAM or CONT - WIP
- WDTracks - Print last call before WDT
- 5V Tolerant I/O?
Arduino IDE specific
Misc.
- Exception Causes
- ESP8266 will not boot
- Stacks sys and cont
- WIP Boot ROM and SDK Notes
- Multi-segment Boot ROM Loader, notes
- Cache_Read_Enable How to turn off and on instruction cache execution.