forked from robotology/icub-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix strain2 compilation (robotology#343)
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
emBODY/eBcode/arch-arm/board/strain2/bsp/embot_hw_bsp_strain2.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)---------------------------------------------------------------------------- | ||
|
||
|
||
|