Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix strain2 compilation #343

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions emBODY/eBcode/arch-arm/board/strain2/bsp/embot_hw_bsp_strain2.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright (C) 2023 iCub Tech - Istituto Italiano di Tecnologia
* Author: Marco Accame
* email: [email protected]
*/

// - include guard ----------------------------------------------------------------------------------------------------

#ifndef _EMBOT_HW_BSP_STRAIN2_H_
#define _EMBOT_HW_BSP_STRAIN2_H_

#include "embot_core.h"
#include "embot_hw_types.h"

#include "embot_hw_led.h"
#include "embot_hw_si7051.h"
#include "embot_hw_bno055.h"
#include "embot_hw_pga308.h"

namespace embot { namespace hw { namespace bsp { namespace strain2 {

// adds in here constants or functions specific to the board
const embot::hw::LED ledBLUE = embot::hw::LED::one;
const embot::hw::SI7051 thermometerSGAUGES = embot::hw::SI7051::one;
const embot::hw::si7051::Config thermometerSGAUGESconfig {};
const embot::hw::BNO055 imuBOSCH = embot::hw::BNO055::one;
const embot::hw::bno055::Config imuBOSCHconfig {};

}}}}

#endif // include-guard


// - end-of-file (leave a blank line after)----------------------------------------------------------------------------