Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Michal Moskal 90f5af9355 store micro:bit jacdac xchg address in known location 2022-05-23 10:13:35 -07:00
James Devine bedce9c144
WIP: BLE integration (#39)
* WIP: BLE integration

* add test.ts

* pxt.json updates [pr feedback]

* don't import radio by default for microbit tests

* wip: revisions to app tx/rx

* extern jd_ble_init

* ifdef guard jdble compilation, fixup api mappings

* force pxt build to use local files

* show dummy screen on test.ts

* ifdef guard mbbridge

* use correct packet size on read

* make BLE rx/tx more robust

* Remove debug

* rename jacdac-ble -> ble-transport

* remove micro:bit from pxt.json

* remove radio from test dependencies?

* rename json property [ble-transport]

* remove radio in test dependencies [mkc.json]

* add bluetooth as a test dependency

* add ifdef guards and missing include

* fixup build

* move BLE code into root, bluetooth-transport now only sets macro

* add correct BLE defines...

* rename ble-transport->bluetooth transport

Who cares about accuracy!? :)

* rename package

Co-authored-by: peli <pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <jhalleux@microsoft.com>
2021-05-07 08:37:03 -07:00
Michal Moskal 25979af6a0 Add comment 2021-03-23 11:20:04 -07:00
Michal Moskal ec0d57b9c0 Fix mem corruption 2020-11-03 14:46:13 +01:00
Michał Moskal 2fffba47d0
micro:bit support (#8)
* The C++ builds on microbit

* Add m:b compat code

* Try to fix build

* Add SPI JD interface

* Fix announce counter

* Add ctrl:description handling

* Start on name settings in  the shield

* Make the C++ compile for m:b v2

* Revert mb1 changes not needed here

* Remove stuff now in m:b

* More fixup

* Don't use deprecated API

* Hook up m:b packet logging

* Re-structure bridge

* Start on in-memory data exchange

* exchange code complete

* Don't panic on double complete; seems to happen every now and then

* Make it build

* Add initial mbbridge lock

* Default m:b JD pin to P12
2020-10-29 06:29:52 -07:00