Skip to content

Commit

Permalink
boards/same54-xpro: add configuration for AT24MAC402
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Feb 13, 2020
1 parent 59ca6a9 commit 02e1c0a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions boards/same54-xpro/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@
extern "C" {
#endif

/**
* @name AT24MAC402 configuration
* @{
*/
#define AT24MAC_PARAM_I2C_DEV I2C_DEV(0)
#define AT24MAC_PARAM_I2C_ADDR (0x5E)
#define AT24MAC_PARAM_TYPE AT24MAC4XX
/** @} */

/**
* @name LED pin definitions and handlers
* @{
Expand Down

0 comments on commit 02e1c0a

Please sign in to comment.