Started on the implmentation of the i2c Base adresses and the channel initiation

i2c
key 3 years ago
parent 731dae3381
commit b3ffb7974a

@ -242,6 +242,14 @@ static const uint32_t spiBase_Addr_List[MAX_SPI_CHANNEL_COUNT] = {
};
typedef enum{
I2C_CH_1
}i2cCh_t;
static const uint32_t i2cBase_Addr_List[MAX_I2C_CHANNEL_COUNT] = {
I2C1_BASE
};
#ifdef __cplusplus
}
#endif

@ -3,9 +3,7 @@
dir=$(pwd)
echo $dir
tmux new -s 'git' -d 'fish'
tmux new -s 'compile' -d 'fish'
tmux new -s 'main' -d 'fish'
cd $dir/ked/csl/stm32f042/Src/
@ -17,7 +15,4 @@ tmux new -s 'device' -d 'fish'
cd $dir/ked/csl/interfaces/
tmux new -s 'interface' -d 'fish'
cd $dir/ked/
tmux new -s 'KED submodule' -d 'fish'
tmux a
tmux a -t compile

Loading…
Cancel
Save