Skip to content

Commit 89829ae

Browse files
authored
Merge pull request #2564 from dhalbert/clue-rev-c
Update CLUE to Rev C
2 parents ba47aa2 + b635818 commit 89829ae

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

ports/nrf/boards/circuitplayground_bluefruit/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#define MICROPY_HW_LED_STATUS (&pin_P1_14)
3434

35-
// Unusually, board does not have a 32 kHz xtal. Nearly all boards do.
35+
// Board does not have a 32kHz crystal. It does have a 32MHz crystal.
3636
#define BOARD_HAS_32KHZ_XTAL (0)
3737

3838
#if QSPI_FLASH_FILESYSTEM

ports/nrf/boards/clue_nrf52840_express/mpconfigboard.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
#define SPI_FLASH_CS_PIN &pin_P0_20
5151
#endif
5252

53-
#define BOARD_HAS_CRYSTAL 1
53+
// No 32kHz crystal. THere's a 32MHz crystal in the nRF module.
54+
#define BOARD_HAS_32KHZ_XTAL (0)
5455

5556
#define DEFAULT_I2C_BUS_SCL (&pin_P0_25)
5657
#define DEFAULT_I2C_BUS_SDA (&pin_P0_24)

ports/nrf/boards/clue_nrf52840_express/pins.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,15 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
8686
{ MP_ROM_QSTR(MP_QSTR_D20), MP_ROM_PTR(&pin_P0_24) },
8787
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_P0_24) },
8888

89-
{ MP_ROM_QSTR(MP_QSTR_MICROPHONE_CLOCK), MP_ROM_PTR(&pin_P0_11) },
90-
{ MP_ROM_QSTR(MP_QSTR_MICROPHONE_DATA), MP_ROM_PTR(&pin_P1_08) },
89+
{ MP_ROM_QSTR(MP_QSTR_MICROPHONE_CLOCK), MP_ROM_PTR(&pin_P0_01) },
90+
{ MP_ROM_QSTR(MP_QSTR_MICROPHONE_DATA), MP_ROM_PTR(&pin_P0_00) },
91+
92+
{ MP_ROM_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_P1_00) },
93+
94+
{ MP_ROM_QSTR(MP_QSTR_PROXIMITY_LIGHT_INTERRUPT), MP_ROM_PTR(&pin_P0_09) },
95+
{ MP_ROM_QSTR(MP_QSTR_ACCELEROMETER_GYRO_INTERRUPT), MP_ROM_PTR(&pin_P1_06) },
96+
97+
{ MP_ROM_QSTR(MP_QSTR_WHITE_LEDS), MP_ROM_PTR(&pin_P0_10) },
9198

9299
{ MP_ROM_QSTR(MP_QSTR_TFT_RESET), MP_ROM_PTR(&pin_P1_03) },
93100
{ MP_ROM_QSTR(MP_QSTR_TFT_BACKLIGHT), MP_ROM_PTR(&pin_P1_05) },

0 commit comments

Comments
 (0)