update Chopstx and ADC driver

This commit is contained in:
NIIBE Yutaka
2015-08-04 11:11:20 +09:00
parent 9a11e954d8
commit a6fd40d4fd
4 changed files with 12 additions and 1 deletions

View File

@@ -169,6 +169,8 @@ get_adc_config (uint32_t config[4])
case BOARD_ID_MAPLE_MINI:
case BOARD_ID_STM32_PRIMER2:
case BOARD_ID_STM8S_DISCOVERY:
case BOARD_ID_ST_DONGLE:
case BOARD_ID_ST_NUCLEO_F103:
default:
config[0] = 0;
config[1] = ADC_SMPR2_SMP_AN0(ADC_SAMPLE_1P5)

View File

@@ -7,6 +7,8 @@
#define BOARD_ID_STBEE 0x945c37e8
#define BOARD_ID_STM32_PRIMER2 0x21e5798d
#define BOARD_ID_STM8S_DISCOVERY 0x2f0976bb
#define BOARD_ID_ST_DONGLE 0x2cd4e471
#define BOARD_ID_ST_NUCLEO_F103 0x9b87c16d
extern const uint8_t sys_version[8];
extern const uint32_t sys_board_id;