Logo
Explore Help
Sign In
djsundog/circuitpython
1
0
Fork 0
You've already forked circuitpython
Code Issues Pull Requests Packages Projects Releases Wiki Activity
circuitpython/nrf5/sdk/sdk_12.1.0/nrf52_app_error.c
Glenn Ruben Bakke d7dc0b789d nrf5: Updating port with new content. SPI, SDcard (trough sdcard.py), Pin, and machine module. Also adding some basic modules depending on SDK and bluetooth stack from nordic semiconductor. NUS is module copied from original port by tralamazza, and new basic module for 6lowpan over BLE which can be used by modnetwork and modusocket. Basic BLE module to enable bluetooth stack and start a eddystone advertisment is kept, and still works without SDK, even if in the SDK folder (its placed there as it needs bluetooth stack from an SDK).
2016-12-13 20:27:26 +01:00

20 lines
296 B
C
Raw Blame History

#include <stdint.h>
#include "app_error.h"
void
#ifdef DEBUG
app_error_handler(ret_code_t error_code, uint32_t line_num, const uint8_t * p_file_name)
#else
app_error_handler_bare(ret_code_t error_code)
#endif
{
#ifdef DEBUG
for (;;) {
/* FOREVER */
}
#else
NVIC_SystemReset();
#endif
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 144ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API