Skip to content

Commit

Permalink
Fixing ci for android ndk (#701)
Browse files Browse the repository at this point in the history
* fix android ci pipelines

Signed-off-by: Andrey Parfenov <[email protected]>

* fix android ci pipelines

Signed-off-by: Andrey Parfenov <[email protected]>

* fix android ci pipelines

Signed-off-by: Andrey Parfenov <[email protected]>

* fix android ci pipelines

Signed-off-by: Andrey Parfenov <[email protected]>

* fix android ci pipelines

Signed-off-by: Andrey Parfenov <[email protected]>

* fix android ci pipelines

Signed-off-by: Andrey Parfenov <[email protected]>

---------

Signed-off-by: Andrey Parfenov <[email protected]>
  • Loading branch information
Andrey1994 authored Jan 21, 2024
1 parent 491ef1f commit 371981e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
cmake-version: '3.16.x'
- name: Install NDK
run: |
echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;${ANDROID_NDK_VERSION}" --sdk_root=${ANDROID_SDK_ROOT} > /dev/null
echo "y" | sudo -H ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${ANDROID_NDK_VERSION}" --sdk_root=${ANDROID_SDK_ROOT}
env:
DEBIAN_FRONTEND: noninteractive
# build for all ABIs
- name: Compile libusb
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public enum BoardIds
FREEEEG128_BOARD = 52,
AAVAA_V3_BOARD = 53,
EXPLORE_PLUS_8_CHAN_BOARD = 54,
EXPLORE_PLUS_32_CHAN_BOARD = 55,
EXPLORE_PLUS_32_CHAN_BOARD = 55
};


Expand Down
2 changes: 2 additions & 0 deletions nodejs_package/brainflow/brainflow.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export enum BoardIds {
GALEA_SERIAL_BOARD_V4 = 49,
NTL_WIFI_BOARD = 50,
ANT_NEURO_EE_511_BOARD = 51,
EXPLORE_PLUS_8_CHAN_BOARD = 54,
EXPLORE_PLUS_32_CHAN_BOARD = 55
}

export enum IpProtocolTypes {
Expand Down
4 changes: 3 additions & 1 deletion rust_package/brainflow/src/ffi/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl BoardIds {
pub const FIRST: BoardIds = BoardIds::PlaybackFileBoard;
}
impl BoardIds {
pub const LAST: BoardIds = BoardIds::AavaaV3Board;
pub const LAST: BoardIds = BoardIds::ExplorePlus32ChanBoard;
}
#[repr(i32)]
#[derive(FromPrimitive, ToPrimitive, Debug, Copy, Clone, Hash, PartialEq, Eq)]
Expand Down Expand Up @@ -92,6 +92,8 @@ pub enum BoardIds {
AntNeuroEe511Board = 51,
Freeeeg128Board = 52,
AavaaV3Board = 53,
ExplorePlus8ChanBoard = 54,
ExplorePlus32ChanBoard = 55,
}
#[repr(i32)]
#[derive(FromPrimitive, ToPrimitive, Debug, Copy, Clone, Hash, PartialEq, Eq)]
Expand Down

0 comments on commit 371981e

Please sign in to comment.