Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
npmenard committed Aug 13, 2024
1 parent 3bca23a commit 60ab246
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ jobs:
fetch-depth: 2
- name: Build esp32 binary
run: |
bash -c '. /home/testbot/.bash_profile ; git config --global --add safe.directory "$ESP_ROOT"/esp-idf && make build-esp32-bin && cargo +esp build -p micro-rdk-ffi --target=xtensa-esp32-espidf -Zbuild-std=std,panic_abort --locked --release'
bash -c '. /home/testbot/.bash_profile ; git config --global --add safe.directory "$ESP_ROOT"/esp-idf && make build-esp32-bin && cargo +esp build -p micro-rdk-ffi --target=xtensa-esp32-espidf -Zbuild-std=std,panic_abort --locked --profile release-ffi'
cp target/xtensa-esp32-espidf/micro-rdk-server-esp32.bin micro-rdk-server-esp32.bin
cp target/xtensa-esp32-espidf/release/libmicrordk.a libmicrordk.a
cp target/xtensa-esp32-espidf/release-ffi/libmicrordk.a libmicrordk.a
cp micro-rdk-ffi/include/micrordk.h micrordk.h
- name: Upload release Lib
uses: actions/upload-artifact@v4
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,21 @@ description = "Viam RDK for microcontroller"
edition = "2021"
license = "AGPL-3.0"
repository = "https://github.com/viamrobotics/micro-rdk"
version = "0.2.3"
version = "0.2.4"
rust-version = "1.75"

[profile.release]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "s"

[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"

[profile.release-ffi]
inherits = "release"
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "s"

[workspace.dependencies]
anyhow = "1.0.71"
async-channel = "2"
Expand Down
2 changes: 1 addition & 1 deletion micro-rdk-ffi/include/micrordk.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ enum viam_code get_readings_add_string(struct get_readings_context *ctx,
const char *value);

/*
This function adds raw attributes to a sensor reading request
This function can be use by a sensor during the call to `get_readings_callback` to add a `raw_attributes` struct
*/
enum viam_code get_readings_add_raw_attributes(struct get_readings_context *ctx,
const struct raw_attributes *raw_attrs);
Expand Down
2 changes: 1 addition & 1 deletion micro-rdk-ffi/micrordklib-idf-component/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
idf_component_register(INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}")
idf_build_set_property(INCLUDE_DIRECTORIES "${CMAKE_CURRENT_BINARY_DIR}/assets" APPEND)

set(LIBMICRORDK_VERSION v0.2.3)
set(LIBMICRORDK_VERSION v0.2.4)
set(LIBMICRORDK_URL https://github.com/viamrobotics/micro-rdk/releases/download/${LIBMICRORDK_VERSION}/micro-rdk-lib.zip)
set(LIBMICRORDK_PATH ${CMAKE_BINARY_DIR}/import/micro-rdk-lib.zip)

Expand Down
2 changes: 1 addition & 1 deletion micro-rdk-ffi/micrordklib-idf-component/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ menu "Micro RDK configuration"
config MICRO_RDK_ENABLE_BUILD_LIBRARY
bool "Enable Micro-RDK library"
default n
depends on (ESP_SYSTEM_EVENT_TASK_STACK_SIZE >= 4096) && (PTHREAD_TASK_STACK_SIZE_DEFAULT>=8192) && ESP32_SPIRAM_SUPPORT && (SPIRAM_MALLOC_ALWAYSINTERNAL >= 4090) && MBEDTLS_EXTERNAL_MEM_ALLOC
depends on (ESP_SYSTEM_EVENT_TASK_STACK_SIZE >= 4096) && (PTHREAD_TASK_STACK_SIZE_DEFAULT>=8192) && ESP32_SPIRAM_SUPPORT && (SPIRAM_MALLOC_ALWAYSINTERNAL <= 2048) && MBEDTLS_EXTERNAL_MEM_ALLOC
select ESP_TLS_SERVER
select SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
select MBEDTLS_SSL_PROTO_DTLS
Expand Down
2 changes: 1 addition & 1 deletion micro-rdk-ffi/micrordklib-idf-component/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.2.3"
version: "0.2.4"
description: "Micro-RDK lib"
dependencies:
## Required IDF version
Expand Down
2 changes: 1 addition & 1 deletion templates/module/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "{{project-name}}"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
authors = ["{{authors}}"]
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion templates/project/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "{{project-name}}"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
authors = ["{{authors}}"]
resolver = "2"
Expand Down

0 comments on commit 60ab246

Please sign in to comment.