[core] Refactor realtek-ambz, cleanup, reformat, add missing copyrights

This commit is contained in:
Kuba Szczodrzyński
2022-05-06 20:27:06 +02:00
parent 5aba2eb4a1
commit 589d3ef4d8
103 changed files with 1222 additions and 9930 deletions

View File

@@ -0,0 +1,2 @@
DisableFormat: true
SortIncludes: Never

View File

@@ -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>

View File

@@ -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

View File

@@ -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);

View File

@@ -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