FL-339: cli diagnostic interface for power subsystem. (#256)
* Core, API: add externs for c++ * Makefile: improve debug speed, flash with openocd, cleanup f2 config * Power: add cli diagnostic. * Local: fix api hal externs * Local: fix externs in main and flipper_hal * F2: power state dump stabs * Bootloader flashing with openocd * F3: move bq drivers to libs * temporary do not build drivers on local * temporary do not build drivers on f2 Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
extern "C" {
|
||||
#include "flipper.h"
|
||||
#include "flipper_v2.h"
|
||||
|
||||
extern "C" {
|
||||
#include "log.h"
|
||||
#include "applications.h"
|
||||
#include "tty_uart.h"
|
||||
|
@@ -1,23 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "api-hal.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "main.h"
|
||||
#include "api-hal.h"
|
||||
#include "cmsis_os.h"
|
||||
#include "furi-deprecated.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "input/input.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void set_exitcode(uint32_t _exitcode);
|
||||
|
||||
#define FURI_LIB (const char*[])
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user