Commit 84d8cceb by Siavoosh.Azad

firs version tested

parent b9b737c0
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(hello-world)
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# project subdirectory. # project subdirectory.
# #
PROJECT_NAME := ESP32_Sensor_data_to_Cumulocity PROJECT_NAME := hello-world
include $(IDF_PATH)/make/project.mk include $(IDF_PATH)/make/project.mk
This project includes an http client, ntp setup for system time, and reading the on-chip temperature value. This project includes an http client, ntp setup for system time, and reading the on-chip temperature value.
## how to run:
1. in main.c change the username password to connect to your wifi.
2. make menuconfig --> set XTAL frequency to 26MHz
3. make flash
4. make monitor
set(COMPONENT_SRCS "hello_world_main.c")
set(COMPONENT_ADD_INCLUDEDIRS "")
register_component()
\ No newline at end of file
#
# "main" pseudo-component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, , 0x6000,
phy_init, data, phy, , 0x1000,
factory, app, factory, , 1M,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment