230 Commits

Author SHA1 Message Date
Gary Ott
fe2edadaf4 ESP32: Take advantage of JsVars being smaller. 2022-11-28 18:19:12 +00:00
Gordon Williams
1e0bf95da6 Fixed build issues for bluetooth with no centrals (microbit1) 2022-10-28 11:31:11 +01:00
Gordon Williams
891029bfde ESP32: Bluetooth LE tweaks - central mode connects, scans, reads, writes and notifies
Bluetooth: fix for incorrect Bluetooth task strings shown in some errors
Tried to move common code in jsble_exec_pending into jsble_exec_pending_common
2022-10-27 15:28:28 +01:00
Gordon Williams
950cf2ef91 More ESP32 bluetooth fixes - can now find services/characteristics and read/write. No Notify yet 2022-10-18 16:36:52 +01:00
Gordon Williams
d07dc0c0b9 ESP32 BLE improvements - less warnings, connect works, getPrimaryService works with >16 bit UUIDs 2022-10-18 14:20:25 +01:00
qucchia
c5bb94bf7a Limit documentation comments to 80 characters (#2244) 2022-07-27 15:32:19 +02:00
Gordon Williams
bece571f8e Bangle.js 2: Fix NRF.setAdvertising({},{scannable:false})
Bangle.js 2: Initial long range functionality (via `phy:"coded"` in `NRF.setAdvertising/setScan/requestDevice/findDevices`)
2022-07-20 17:13:18 +01:00
Gordon Williams
5c08b7c334 Initial support for multiple connections on nRF52 2022-06-15 16:54:08 +01:00
Gordon Williams
478b28d080 nRF5x: Allow 'high speed' watches via 'hispeed' argument to setWatch. Higher power consumption but detects fast (<25us) pulses. 2022-05-05 12:01:19 +01:00
Gordon Williams
aaa91394df Bangle.js2: Ensure NRF.setTxPower works for all connections and advertising 2022-03-08 10:29:50 +00:00
Gordon Williams
8861b27954 Util Timer now runs independently of system time. More accurate on nRF52 (fix #2125)
Also remove (mostly) duplicated jshPinPulse
2022-03-03 16:43:00 +00:00
Gordon Williams
4a7d30f4be Bangle.js: Add 'graphicsInternal' to make Graphics independent of JS vars. Terminal is now useful earlier, and can display softdevice errors 2022-01-31 16:35:38 +00:00
Gordon Williams
3c44574ebc Fix emscripten build 2021-10-25 17:01:52 +01:00
Gordon Williams
5082b64091 Working ANCS promise implementation - app info returns empty string 2021-10-18 21:03:41 +01:00
Gordon Williams
147be42006 nRF52: 'BLE task in progress' messages now give a readable name, not a task numbe nRF52: BLE stack errors now reports a line number
nRF52: 'BLE task in progress' messages now give a readable name, not task numberr
2021-08-13 10:16:09 +01:00
Gordon Williams
5ee483ada5 Fix ESP32 bluetooth compile 2021-05-28 13:34:08 +01:00
Carl Saldanha
3fb13b7357
Update RTOS doc to markdown style 2020-12-21 12:20:21 -08:00
Gordon Williams
6b19a0249b
Merge pull request #1965 from espruino/esp32_improvement
Update SPI (fix #1963)
2020-12-07 08:08:05 +00:00
MaBecker
689a48d367 Update SPI (fix #1963)
* fix build error
2020-12-06 08:38:19 +01:00
MaBecker
6c18ec8c71 Update SPI (fix #1963)
* add callback for cout == 1
2020-12-06 08:13:57 +01:00
MaBecker
64c4a0f340 Update SPI (fix #1963)
* restore jshSPISend() version befor 2v0.6
* move g_lastSPIRead to it's propper position
* reduced number of comments
2020-12-05 08:51:51 +01:00
Gordon Williams
3604727be3
Merge pull request #1964 from espruino/esp32_improvement
Update SPI (fix #1963)
2020-12-04 16:06:31 +00:00
MaBecker
1245529123 Update SPI (fix #1963)
* disabling DMA just if rx is specified
2020-12-04 15:04:14 +01:00
MaBecker
a133b57d16 Update SPI (fix #1963)
* each SPI get's its onw dma channel
* disable DMA by setting the bus initialization to 0
2020-12-04 14:10:33 +01:00
Gordon Williams
3c5b78ea75 fix ESP32 build regression 2020-10-29 08:11:07 +00:00
Gordon Williams
542265bdb9 nRF5x: Add callback param to 'NRF.restart', allowing code to be called with softdevice disabled 2020-10-26 13:58:55 +00:00
Gordon Williams
95a97e5f38 Merge branch 'master' of github.com:espruino/Espruino 2020-10-09 15:52:31 +01:00
Gordon Williams
ad34e66d88 Revert "Fix build issues, remove duplication"
This reverts commit 3007686199ec02d3e727ce918a551c0e9e8a3b75.
2020-10-09 15:45:58 +01:00
MaBecker
17ff204c56 fix #1941 2020-10-09 13:21:39 +02:00
Gordon Williams
3007686199 Fix build issues, remove duplication 2020-10-07 17:08:06 +01:00
MaBecker
89426ec7da fix #1930 2020-09-24 11:47:09 +02:00
Gordon Williams
aa8d92cecb
Merge pull request #1905 from MaBecker/esp32_improvements
Update partitions_espruino.csv
2020-08-17 08:13:56 +01:00
MaBecker
a264994e2c Update partitions_espruino.csv
sync with EspruinoBuildTools/esp32/build/app/partitions_espruino.csv
2020-08-10 21:38:24 +02:00
Gordon Williams
829f73adce
Merge pull request #1621 from ExCyb/esp32_neopixel_debug
Esp32 neopixel debug
2020-07-28 08:06:58 +01:00
Gordon Williams
67374948db
Merge pull request #1886 from atc1441/patch-1
add jshSPISendMany
2020-07-17 11:15:09 +01:00
atc1441
59ac47e3a1
Added software callback function 2020-07-16 22:28:57 +02:00
atc1441
2cd535a71c
Added RX and up to 4096 TX 2020-07-16 15:45:47 +02:00
atc1441
371257f61a
add jshSPISendMany
only tx supported for now and no callback, Max 256 byte per request
2020-07-16 07:44:02 +02:00
atc1441
2503f50d61
add jshSPISendMany
only TX support for now, size max 256 bytes at once
2020-07-16 07:42:31 +02:00
Gary Ott
161982b53e Added code to jsuGetFreeStack() for ESP32 and introduced ESP_STACK_SIZE constant. 2020-07-14 11:09:05 +01:00
MaBecker
a38b8054bf esp32_improvement
* keep jsWarn() for not implemented functions
* add Exceptions for issues
2020-07-14 08:57:43 +02:00
MaBecker
bbc372620c esp32_improvements
- add FLASH_BAUD
- fix erase_flash
- switch jsWarn()  to jsDevInfo()
- keep jsWarn()/ jsError() for not implemented functions
- switch jsError() to jsExceptionHere() if helpfull
2020-07-13 17:52:38 +02:00
MaBecker
be30513914 add section storage as flash area 2020-03-18 10:47:55 +01:00
MaBecker
fb5005a3f3 fix addFlashArea() 2020-03-18 10:16:54 +01:00
Gordon Williams
624d6f2c70 Fix ESPxx build issues 2020-01-17 15:15:23 +00:00
Mike Fikes
6e634c596d
Fix I2C driver message
Fix typo: sdl->scl
2019-11-29 16:58:56 -05:00
Gordon Williams
9237f6d0ee fix ESP8266/32 build regressions 2019-11-12 16:34:40 +00:00
Gordon Williams
e230148625 improve docs making 2019-11-07 16:12:27 +00:00
Gordon Williams
8274d48c33 nRF52: Add NRF.getSecurityStatus to allow devices to detect the current state of the connection 2019-04-23 12:24:40 +01:00
Décio Luiz Gazzoni Filho
3f5aa8fc37 Fix ESP32 Serial2 and Serial3 stuck at 9600 bps. 2019-04-21 22:15:50 -03:00