Added esp-modem.
continuous-integration/drone/push Build is passing Details

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2024-05-09 19:05:41 +08:00
parent d548aa13ce
commit 5a80153030
Signed by: imi415
GPG Key ID: DB982239424FF8AC
4 changed files with 39 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
/build
/cmake-build-*
/managed_components
/sdkconfig
/sdkconfig.old

15
dependencies.lock Normal file
View File

@ -0,0 +1,15 @@
dependencies:
espressif/esp_modem:
component_hash: e48da33fee082dd9d9a97a354a228057e07a14ac108766b40ad84e018205410a
source:
service_url: https://api.components.espressif.com/
type: service
version: 1.1.0
idf:
component_hash: null
source:
type: idf
version: 5.2.1
manifest_hash: 75306be83a2aece906a5313894df4ecc43b2a0d9a60784289ec6dcd996c53228
target: esp32
version: 1.0.0

17
main/idf_component.yml Normal file
View File

@ -0,0 +1,17 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp_modem: "^1.1.0"
## Required IDF version
idf:
version: ">=4.1.0"
# # Put list of dependencies here
# # For components maintained by Espressif:
# component: "~1.0.0"
# # For 3rd party components:
# username/component: ">=1.0.0,<2.0.0"
# username2/component2:
# version: "~1.0.0"
# # For transient dependencies `public` flag can be set.
# # `public` flag doesn't have an effect dependencies of the `main` component.
# # All dependencies of `main` are public by default.
# public: true

View File

@ -1,3 +1,7 @@
/* FreeRTOS */
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
/* IDF */
#include "esp_log.h"
@ -14,4 +18,6 @@ void app_main(void) {
}
app_pmic_set_lte_power(true);
vTaskDelay(pdMS_TO_TICKS(1000));
}