nrf: add SoftDevice support for the Circuit Playground Bluefruit
This also fixes a bug: the Bluefruit doesn't have a low frequency crystal. Somehow non-SoftDevice code still worked. However, the SoftDevice won't initialize when this flag is set incorrectly.
Этот коммит содержится в:
родитель
83252448b0
коммит
47a975a44f
3 изменённых файлов: 5 добавлений и 2 удалений
|
@ -2,7 +2,7 @@
|
|||
|
||||
package machine
|
||||
|
||||
const HasLowFrequencyCrystal = true
|
||||
const HasLowFrequencyCrystal = false
|
||||
|
||||
// GPIO Pins
|
||||
const (
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"inherits": ["nrf52840"],
|
||||
"build-tags": ["circuitplay_bluefruit","nrf52840_reset_uf2"],
|
||||
"build-tags": ["circuitplay_bluefruit","nrf52840_reset_uf2", "softdevice", "s140v6"],
|
||||
"flash-1200-bps-reset": "true",
|
||||
"flash-method": "msd",
|
||||
"msd-volume-name": "CPLAYBTBOOT",
|
||||
|
|
|
@ -7,4 +7,7 @@ MEMORY
|
|||
|
||||
_stack_size = 2K;
|
||||
|
||||
/* This value is needed by the Nordic SoftDevice. */
|
||||
__app_ram_base = ORIGIN(RAM);
|
||||
|
||||
INCLUDE "targets/arm.ld"
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче