Skip to content

Commit

Permalink
release v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
npmenard committed Jul 25, 2024
1 parent 6b2622d commit 098d3f1
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 19 deletions.
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.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ description = "Viam RDK for microcontroller"
edition = "2021"
license = "AGPL-3.0"
repository = "https://github.com/viamrobotics/micro-rdk"
version = "0.2.2"
version = "0.2.3"
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]
Expand Down
2 changes: 1 addition & 1 deletion etc/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN cd qemu && mkdir build && cd build && ../configure --target-list=xtensa-soft

WORKDIR /esp

RUN git clone --depth 1 -b v4.4.4 --single-branch --recurse-submodules --shallow-submodules https://github.com/viamrobotics/esp-idf
RUN git clone --depth 1 -b v4.4.8 --single-branch --recurse-submodules --shallow-submodules https://github.com/espressif/esp-idf/


FROM debian:bookworm
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.2)
set(LIBMICRORDK_VERSION v0.2.3)
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_DEFAULT_MEM_ALLOC
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
select ESP_TLS_SERVER
select SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
select MBEDTLS_SSL_PROTO_DTLS
Expand Down
4 changes: 2 additions & 2 deletions micro-rdk-ffi/micrordklib-idf-component/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "0.2.2-rc1"
version: "0.2.3"
description: "Micro-RDK lib"
dependencies:
## Required IDF version
idf:
version: ">=4.4.4,<5.0.0"
version: ">=4.4.7,<5.0.0"
2 changes: 1 addition & 1 deletion micro-rdk/src/common/data_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Default for WriteMode {
}
}

static mut DATA_STORE: [MaybeUninit<u8>; 10240] = [MaybeUninit::uninit(); 10240];
static mut DATA_STORE: [MaybeUninit<u8>; 30240] = [MaybeUninit::uninit(); 30240];

#[derive(Clone, Error, Debug)]
pub enum DataStoreError {
Expand Down
2 changes: 1 addition & 1 deletion micro-rdk/src/common/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use thiserror::Error;
#[cfg(feature = "camera")]
static GRPC_BUFFER_SIZE: usize = 1024 * 30; // 30KB
#[cfg(not(feature = "camera"))]
static GRPC_BUFFER_SIZE: usize = 4096;
static GRPC_BUFFER_SIZE: usize = 9216;

#[derive(Clone, Debug)]
pub struct GrpcBody {
Expand Down
2 changes: 1 addition & 1 deletion micro-rdk/src/common/webrtc/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use super::{api::WebRtcError, sctp::Channel};
// sizeof(fake_image) + headers/encodings
static WEBRTC_GRPC_BUFFER_SIZE: usize = 1024 * 11;
#[cfg(not(feature = "camera"))]
static WEBRTC_GRPC_BUFFER_SIZE: usize = 1650;
static WEBRTC_GRPC_BUFFER_SIZE: usize = 9216;

#[derive(Debug, Default)]
pub struct WebRtcGrpcBody {
Expand Down
4 changes: 2 additions & 2 deletions templates/module/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "{{project-name}}"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
authors = ["{{authors}}"]
resolver = "2"
rust-version = "1.75"

[dependencies]
micro-rdk = {git = "https://github.com/viamrobotics/micro-rdk.git", features = ["{{mcu}}"], version = "0.2.2", rev = "a1863c9"}
micro-rdk = {git = "https://github.com/viamrobotics/micro-rdk.git", features = ["{{mcu}}"], version = "0.2.3", rev = "a1863c9"}

[package.metadata.com.viam]
module = true
4 changes: 2 additions & 2 deletions 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.2"
version = "0.2.3"
edition = "2021"
authors = ["{{authors}}"]
resolver = "2"
Expand All @@ -20,7 +20,7 @@ embedded-hal = { version = "0.2.7", features = ["unproven"]}
log = "0.4"
async-channel = "2"
futures-lite = "1"
micro-rdk = {version = "0.2.2", git = "https://github.com/viamrobotics/micro-rdk.git", features = ["esp32", "binstart","provisioning"], rev = "a1863c9" }
micro-rdk = {version = "0.2.3", git = "https://github.com/viamrobotics/micro-rdk.git", features = ["esp32", "binstart","provisioning"], rev = "a1863c9" }

[build-dependencies]
cargo_metadata = "0.18"
Expand Down

0 comments on commit 098d3f1

Please sign in to comment.