Skip to content

Commit

Permalink
Merge pull request #11 from DreamPWJ/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
DreamPWJ authored Dec 26, 2023
2 parents 7f644bb + f351ad4 commit 131c02e
Show file tree
Hide file tree
Showing 14 changed files with 89 additions and 2 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
## 2.8.1
`2023-12-25 15:18`<br><br>
#### 其它变更
- chore: 增强嵌入式代码的健壮性和可维护性 ([429a789](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/429a78930bfc58b2a613210851ba5c93696360b0)) @406798106
- chore: 增强嵌入式代码的健壮性和可维护性 ([44a4a55](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/44a4a554fd9a0f36e5f7eb9e3e04af9ef0c8b845)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([4f5521f](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/4f5521f14869a3d78efa7755f868d0b860347001)) @406798106

## 2.8.0
`2023-12-25 09:33`<br><br>
#### 其它变更
- chore: 增强嵌入式代码的健壮性和可维护性 ([44a4a55](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/44a4a554fd9a0f36e5f7eb9e3e04af9ef0c8b845)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([4f5521f](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/4f5521f14869a3d78efa7755f868d0b860347001)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([022fb52](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/022fb5252faa1c1074f80a8c80dd0ffecc6c8594)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([f77a3d6](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/f77a3d69990a2e5b4ee7d6b9e2e9eb93e0349ed2)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([4977108](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/49771087b43ed3ae079ded4d636b855139e275aa)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([9992ac8](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/9992ac8dc082d7caaf9dbe808cb1036d4a8cd0c2)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([6a7fb5a](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/6a7fb5a2bcf6ff22a1463818d852b54c363d5a04)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([7aacc93](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/7aacc93ae2958cd422c34c129dbe79400fcd84d7)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([02ab07d](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/02ab07d56df1817b344ce6de078a46a605ea4fb2)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([e0cb39c](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/e0cb39ccd315cfa7037077ef2dfc35c21e1b69b2)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([6ba52c6](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/6ba52c645d3aa319591fe785285bd14a464b97db)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([2cb4868](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/2cb48688ff09387acc30cb6c20a942f152234326)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([b0f60a7](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/b0f60a71b5c51a6ba2f7b6081c14dbf193bc850b)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([897f211](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/897f2111facffd685a6acd50f3999f5708f8340b)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([45c8aea](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/45c8aea109e1b97ed2d38b59b5acc35b75d235b1)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([7161e54](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/7161e54fa94c749bb4ea54416857800f2c157e53)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([945340f](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/945340faca332318ce395de631c7af3ccb13f557)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([1468a85](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/1468a858934b4a06c60a31017650dcb38a8001ef)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([7630187](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/7630187ef7750aa014b046e4d47814e99448a039)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([bf28cbf](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/bf28cbfc08a35eb34fa616e7fd7054a86856209f)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([e75554e](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/e75554e131d345633c33254389c31f5e4b1892cb)) @406798106
- chore: 增强嵌入式代码的健壮性和可维护性 ([361b8f9](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/361b8f9bf57c76778927f3d7b8be8c2a208949b0)) @406798106
- chore: 增强嵌入式C++代码的健壮性和可维护性 ([f81b4a0](https://git.pengbocloud.com/lanneng_develop/embedded-monorepo/commit/f81b4a0b7b1228a0aff4d0d73f4b0d496edf9882)) @406798106

## 2.7.10
`2023-12-23 09:58`<br><br>
#### 其它变更
Expand Down
2 changes: 2 additions & 0 deletions packages/athena-common/mqtt/at_mqtt/at_mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ void do_at_mqtt_subscribe(DynamicJsonDocument json, String topic) {
if (command == "heartbeat") { // 心跳指令
do_at_mqtt_heart_beat();
}

// 应该抽离出业务指令 单独维护代码 保证代码的通用性和易维护性
if (command == "raise") { // 电机升起指令
set_motor_up();
}
Expand Down
1 change: 1 addition & 0 deletions packages/athena-common/mqtt/mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ void do_mqtt_subscribe(DynamicJsonDocument json, char *topic) {
if (command == "heartbeat") { // 心跳指令
do_mqtt_heart_beat();
}
// 应该抽离出业务指令 单独维护代码 保证代码的通用性和易维护性
if (command == "raise") {
set_motor_up();
}
Expand Down
1 change: 1 addition & 0 deletions projects-demo/esp32-c3-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ https://github.com/platformio/platform-espressif32
获取自定义多环境变量宏定义
#define XSTR(x) #x
#define STR(x) XSTR(x)

const char *env_app_version = STR(ENV_APP_VERSION);
1 change: 1 addition & 0 deletions projects-demo/esp32-c3-demo/lib/LibDemo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### PlatformIO自定义库 用于项目应用示例
1 change: 1 addition & 0 deletions projects-demo/esp32-c3-demo/lib/LibDemo/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### PlatformIO库文档
1 change: 1 addition & 0 deletions projects-demo/esp32-c3-demo/lib/LibDemo/examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### PlatformIO库文示例
10 changes: 10 additions & 0 deletions projects-demo/esp32-c3-demo/lib/LibDemo/library.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "lib_demo",
"version": "1.0.0",
"description": "PlatformIO自定义库 用于项目应用示例",
"authors": {
"name": "潘维吉",
"email": "[email protected]",
"url": "https://github.com/DreamPWJ"
}
}
21 changes: 21 additions & 0 deletions projects-demo/esp32-c3-demo/lib/LibDemo/src/LibDemo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include "LibDemo.h"
#include <Arduino.h>

using namespace std;


/**
* @author 潘维吉
* @date 2023/12/25 15:51
* @description PlatformIO自定义库 用于项目应用示例
*/


/**
* 初始化示例
*/
void init_demo() {

Serial.println("PlatformIO自定义库 用于项目应用示例测试");

}
8 changes: 8 additions & 0 deletions projects-demo/esp32-c3-demo/lib/LibDemo/src/LibDemo.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef ESP32_C3_DEMO_LIBDEMO_H
#define ESP32_C3_DEMO_LIBDEMO_H

#include <Arduino.h>

void init_demo();

#endif
5 changes: 5 additions & 0 deletions projects-demo/esp32-c3-demo/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <wifi_network.h>
#include <mqtt.h>
#include <bluetooth_connect.h>
#include <LibDemo.h>
#include <ota.h>
// #include <log_insight.h>

Expand All @@ -28,6 +29,10 @@ void setup() {
Serial.begin(115200);

Serial.println("ESP32 C3 MCU");

// PlatformIO自定义库 用于项目应用示例
init_demo();

String project_name = STR(PROJECT_NAME);
Serial.println(project_name);
String projectName = "esp32-c3-demo";
Expand Down
2 changes: 1 addition & 1 deletion projects/athena-common-embedded/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
### Embedded嵌入式业务通用包
### Embedded嵌入式业务通用包 与几个项目具体业务相关 不具备所有项目通用的功能模块
1 change: 1 addition & 0 deletions projects/car-lock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ https://github.com/platformio/platform-espressif32
获取自定义多环境变量宏定义
#define XSTR(x) #x
#define STR(x) XSTR(x)

const char *env_app_version = STR(ENV_APP_VERSION);
3 changes: 2 additions & 1 deletion projects/parking-space-gate/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 车位道闸嵌入式控制
### 车位道闸嵌入式控制

### PlatformIO新一代嵌入式平台开发esp32单片机和Arduino框架

Expand Down Expand Up @@ -39,4 +39,5 @@ https://github.com/platformio/platform-espressif32
获取自定义多环境变量宏定义
#define XSTR(x) #x
#define STR(x) XSTR(x)

const char *env_app_version = STR(ENV_APP_VERSION);

0 comments on commit 131c02e

Please sign in to comment.