-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements: - Cleaned up include headers Bugfixes: - Removed inappropriate mutexes in mpu6886 driver
- Loading branch information
Showing
41 changed files
with
283 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 AVSystem <[email protected]> | ||
# Copyright 2021-2024 AVSystem <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 AVSystem <[email protected]> | ||
# Copyright 2021-2024 AVSystem <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
Submodule anjay-esp-idf
updated
4 files
+5 −0 | CHANGELOG.md | |
+11 −0 | config/anjay/anjay_config.h | |
+10 −0 | config/avsystem/commons/avs_commons_config.h | |
+1 −1 | deps/anjay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 AVSystem <[email protected]> | ||
# Copyright 2021-2024 AVSystem <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 AVSystem <[email protected]> | ||
# Copyright 2021-2024 AVSystem <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -19,7 +19,7 @@ | |
* | ||
* Copyright (c) 2020 nopnop2002 | ||
* - https://github.com/nopnop2002/esp-idf-m5stickC-Plus | ||
* Copyright (c) 2021-2023 AVSystem | ||
* Copyright (c) 2021-2024 AVSystem | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
|
@@ -44,13 +44,13 @@ | |
* AXP192 Datasheet: | ||
* http://www.x-powers.com/en.php/Info/down/id/50 | ||
*/ | ||
#include <stdint.h> | ||
|
||
#include <driver/i2c.h> | ||
|
||
#include "axp192.h" | ||
#include "driver/i2c.h" | ||
#include "esp_log.h" | ||
#include "i2c_wrapper.h" | ||
#include "sdkconfig.h" | ||
#include <stdint.h> | ||
#include <string.h> | ||
|
||
#if CONFIG_ANJAY_CLIENT_BOARD_M5STICKC_PLUS | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -19,7 +19,7 @@ | |
* | ||
* Copyright (c) 2020 nopnop2002 | ||
* - https://github.com/nopnop2002/esp-idf-m5stickC-Plus | ||
* Copyright (c) 2021-2023 AVSystem | ||
* Copyright (c) 2021-2024 AVSystem | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
|
@@ -46,9 +46,10 @@ | |
* AXP192 Datasheet: | ||
* http://www.x-powers.com/en.php/Info/down/id/50 | ||
*/ | ||
#include "sdkconfig.h" | ||
#include <stdint.h> | ||
|
||
#include "sdkconfig.h" | ||
|
||
#if CONFIG_ANJAY_CLIENT_BOARD_M5STICKC_PLUS | ||
|
||
int AXP192_PowerOn(void); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -19,7 +19,7 @@ | |
* | ||
* Copyright (c) 2020 nopnop2002 | ||
* - https://github.com/nopnop2002/esp-idf-m5stickC-Plus | ||
* Copyright (c) 2021-2023 AVSystem | ||
* Copyright (c) 2021-2024 AVSystem | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
|
@@ -42,10 +42,11 @@ | |
#ifndef _BMPFILE_H_ | ||
#define _BMPFILE_H_ | ||
|
||
#include "sdkconfig.h" | ||
#include <stdint.h> | ||
|
||
#if CONFIG_ANJAY_CLIENT_LCD | ||
#include "sdkconfig.h" | ||
|
||
#ifdef CONFIG_ANJAY_CLIENT_LCD | ||
|
||
# pragma pack(push, 1) | ||
typedef struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -14,11 +14,20 @@ | |
* limitations under the License. | ||
*/ | ||
|
||
#include "cellular_event_loop.h" | ||
#include "cellular_anjay_impl/net_impl.h" | ||
#include <avsystem/commons/avs_log.h> | ||
#include <stdatomic.h> | ||
|
||
#include <freertos/FreeRTOS.h> | ||
#include <freertos/task.h> | ||
|
||
#include <avsystem/commons/avs_list.h> | ||
#include <avsystem/commons/avs_log.h> | ||
#include <avsystem/commons/avs_socket.h> | ||
|
||
#include <anjay/anjay.h> | ||
|
||
#include "cellular_event_loop.h" | ||
#include "net_impl.h" | ||
|
||
#define CELLULAR_EVENT_LOOP_MAX_WAIT_TIME 100 | ||
|
||
static volatile atomic_bool event_loop_status; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -13,18 +13,30 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#include <inttypes.h> | ||
#include <netdb.h> | ||
#include <unistd.h> | ||
#include <stdbool.h> | ||
#include <stddef.h> | ||
#include <stdint.h> | ||
#include <string.h> | ||
|
||
#include <sys/socket.h> | ||
#include <sys/types.h> | ||
|
||
#include "cellular_setup.h" | ||
#include "main.h" | ||
#include <freertos/FreeRTOS.h> | ||
#include <freertos/event_groups.h> | ||
|
||
#include <avsystem/commons/avs_errno.h> | ||
#include <avsystem/commons/avs_log.h> | ||
#include <avsystem/commons/avs_socket_v_table.h> | ||
#include <avsystem/commons/avs_time.h> | ||
#include <avsystem/commons/avs_utils.h> | ||
|
||
#include <cellular_common.h> | ||
#include <cellular_setup.h> | ||
#include <sockets_wrapper.h> | ||
|
||
#include "net_impl.h" | ||
|
||
#define QIRD_COMMA_COUNT 2U | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -16,11 +16,13 @@ | |
#ifndef NET_IMPL_H | ||
#define NET_IMPL_H | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
|
||
#include <avsystem/commons/avs_errno.h> | ||
#include <avsystem/commons/avs_socket.h> | ||
|
||
#include "cellular_common.h" | ||
#include "sockets_wrapper.h" | ||
#include <cellular_common.h> | ||
|
||
extern CellularHandle_t CellularHandle; | ||
extern uint8_t CellularSocketPdnContextId; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 AVSystem <[email protected]> | ||
# Copyright 2021-2024 AVSystem <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -23,19 +23,25 @@ | |
CONDITIONS OF ANY KIND, either express or implied. | ||
*/ | ||
|
||
#include "driver/gpio.h" | ||
#include "esp_event.h" | ||
#include "esp_netif.h" | ||
#include "esp_wifi_default.h" | ||
#include "freertos/FreeRTOS.h" | ||
#include "freertos/event_groups.h" | ||
#include "freertos/task.h" | ||
#include "lwip/err.h" | ||
#include "lwip/sys.h" | ||
#include "sdkconfig.h" | ||
#include <stdbool.h> | ||
#include <stdint.h> | ||
#include <string.h> | ||
|
||
#include <freertos/FreeRTOS.h> | ||
#include <freertos/semphr.h> | ||
|
||
#include <esp_err.h> | ||
#include <esp_event.h> | ||
#include <esp_log.h> | ||
#include <esp_netif.h> | ||
#include <esp_netif_ip_addr.h> | ||
#include <esp_netif_types.h> | ||
#include <esp_wifi.h> | ||
#include <esp_wifi_default.h> | ||
#include <esp_wifi_types.h> | ||
|
||
#include "connect.h" | ||
#include "sdkconfig.h" | ||
|
||
static wifi_config_t wifi_config; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -17,8 +17,8 @@ | |
#ifndef _CONNECT_H_ | ||
#define _CONNECT_H_ | ||
|
||
#include "esp_log.h" | ||
#include "esp_wifi.h" | ||
#include <esp_err.h> | ||
#include <esp_wifi.h> | ||
|
||
void wifi_initialize(void); | ||
esp_err_t wifi_connect(wifi_config_t *conf); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2021-2023 AVSystem <[email protected]> | ||
* Copyright 2021-2024 AVSystem <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
Oops, something went wrong.