core in set_volume on Simu (ARM)
This commit is contained in:
@@ -41,6 +41,7 @@ FILE *fp = NULL;
|
|||||||
|
|
||||||
#if defined(PCBARM)
|
#if defined(PCBARM)
|
||||||
Pio Pioa, Piob, Pioc;
|
Pio Pioa, Piob, Pioc;
|
||||||
|
Twi Twio;
|
||||||
Usart Usart0;
|
Usart Usart0;
|
||||||
uint32_t eeprom_pointer;
|
uint32_t eeprom_pointer;
|
||||||
char* eeprom_buffer_data;
|
char* eeprom_buffer_data;
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ typedef const int8_t pm_int8_t;
|
|||||||
extern sem_t eeprom_write_sem;
|
extern sem_t eeprom_write_sem;
|
||||||
#if defined(PCBARM)
|
#if defined(PCBARM)
|
||||||
extern Pio Pioa, Piob, Pioc;
|
extern Pio Pioa, Piob, Pioc;
|
||||||
|
extern Twi Twio;
|
||||||
extern Usart Usart0;
|
extern Usart Usart0;
|
||||||
#undef USART0
|
#undef USART0
|
||||||
#define USART0 (&Usart0)
|
#define USART0 (&Usart0)
|
||||||
@@ -106,6 +107,8 @@ extern Usart Usart0;
|
|||||||
#define PIOB (&Piob)
|
#define PIOB (&Piob)
|
||||||
#undef PIOC
|
#undef PIOC
|
||||||
#define PIOC (&Pioc)
|
#define PIOC (&Pioc)
|
||||||
|
#undef TWI0
|
||||||
|
#define TWI0 (&Twio)
|
||||||
extern uint32_t eeprom_pointer;
|
extern uint32_t eeprom_pointer;
|
||||||
extern char* eeprom_buffer_data;
|
extern char* eeprom_buffer_data;
|
||||||
extern volatile int32_t eeprom_buffer_size;
|
extern volatile int32_t eeprom_buffer_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user