Naming and coding style convention, new linter tool. (#945)

* Makefile, Scripts: new linter
* About: remove ID from IC
* Firmware: remove double define for DIVC/DIVR
* Scripts: check folder names too. Docker: replace syntax check with make lint.
* Reformat Sources and Migrate to new file naming convention
* Docker: symlink clang-format-12 to clang-format
* Add coding style guide
This commit is contained in:
あく
2022-01-05 19:10:18 +03:00
committed by GitHub
parent c98e54da10
commit 389ff92cc1
899 changed files with 379245 additions and 373421 deletions
@@ -1,4 +1,4 @@
#include "sd-notify.h"
#include "sd_notify.h"
static const NotificationSequence sd_sequence_success = {
&message_green_255,
@@ -1,6 +1,6 @@
#pragma once
#include <furi.h>
#include <notification/notification-messages.h>
#include <notification/notification_messages.h>
#ifdef __cplusplus
extern "C" {
@@ -1,9 +1,9 @@
#include "fatfs.h"
#include "../filesystem-api-internal.h"
#include "storage-ext.h"
#include <furi-hal.h>
#include "sd-notify.h"
#include <furi-hal-sd.h>
#include "../filesystem_api_internal.h"
#include "storage_ext.h"
#include <furi_hal.h>
#include "sd_notify.h"
#include <furi_hal_sd.h>
typedef FIL SDFile;
typedef DIR SDDir;
@@ -1,7 +1,7 @@
#pragma once
#include <furi.h>
#include "../storage-glue.h"
#include "../storage-sd-api.h"
#include "../storage_glue.h"
#include "../storage_sd_api.h"
#ifdef __cplusplus
extern "C" {
@@ -1,6 +1,6 @@
#include "storage-int.h"
#include "storage_int.h"
#include <lfs.h>
#include <furi-hal.h>
#include <furi_hal.h>
#define TAG "StorageInt"
#define STORAGE_PATH "/int"
@@ -1,6 +1,6 @@
#pragma once
#include <furi.h>
#include "../storage-glue.h"
#include "../storage_glue.h"
#ifdef __cplusplus
extern "C" {