[core] Refactor realtek-ambz, cleanup, reformat, add missing copyrights
This commit is contained in:
2
platform/realtek-ambz/fixups/.clang-format
Normal file
2
platform/realtek-ambz/fixups/.clang-format
Normal file
@@ -0,0 +1,2 @@
|
||||
DisableFormat: true
|
||||
SortIncludes: Never
|
||||
@@ -1,3 +1,5 @@
|
||||
/* Copyright (c) Kuba Szczodrzyński 2022-04-23. */
|
||||
|
||||
/* WCharacter.h uses deprecated isascii() and toascii(),
|
||||
which are available in gnu++11 but not c++11 */
|
||||
#include <cstddef>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* Copyright (c) Kuba Szczodrzyński 2022-04-22. */
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// for some reason, cmsis_os.c does not link properly when this method is inlined in core_cmFunc.h
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#include "ameba_soc.h"
|
||||
#include "osdep_service.h"
|
||||
/* Copyright (c) Kuba Szczodrzyński 2022-04-22. */
|
||||
|
||||
#include <ameba_soc.h>
|
||||
#include <osdep_service.h>
|
||||
|
||||
// usage:
|
||||
// extern int LOGUART_SetBaud(uint32_t BaudRate);
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* Copyright (c) Kuba Szczodrzyński 2022-04-22. */
|
||||
|
||||
#include <wifi_conf.h>
|
||||
|
||||
// wifi_mode is declared in atcmd_wifi.c, which is a part of the built-in trash console
|
||||
|
||||
Reference in New Issue
Block a user