9511 Commits

Author SHA1 Message Date
Gordon Williams
dfca6a2023 Merge branch 'master' into STM32F4LCD
# Conflicts:
#	README_BuildProcess.md
#	boards/PIPBOY.py
#	boards/STM32F4LCD.py
#	libs/filesystem/fat_sd/sdio_diskio.c
#	libs/graphics/lcd_fsmc.c
#	make/family/STM32F1.make
#	make/family/STM32F4.make
#	src/jsinteractive.c
#	targets/stm32/jshardware.c
2024-11-21 11:36:04 +00:00
Gordon Williams
ce54b7949f Fix non-F4 STM32 builds 2024-11-21 11:28:22 +00:00
Gordon Williams
88d280e5dd Adding The Wand Company's PipBoy to master 2024-11-21 11:18:19 +00:00
Gordon Williams
d803dfc108 Don't automatically set ESPR_GRAPHICS_SELF_INIT 2024-11-21 11:10:27 +00:00
Gordon Williams
ccc441683f Tidy up nag screen ifdef 2024-11-21 11:09:42 +00:00
Gordon Williams
0f2bc4cc8a misc documentation 2024-11-21 11:00:40 +00:00
Gordon Williams
c1f8d3fd4a FAT tweaks after recent changes 2024-11-21 10:59:45 +00:00
Gordon Williams
ab8a8c7aba Adding STM32F4LCD board 2024-11-21 10:58:42 +00:00
Gordon Williams
da8cc72f3c Misc STM32 compile options to improve efficiency 2024-11-21 10:38:37 +00:00
Gordon Williams
01594b5a29 STM32F4: Add SDIO support 2024-11-21 10:34:19 +00:00
Gordon Williams
52b9739683 Merge branch 'master' into STM32F4LCD 2024-11-21 09:30:12 +00:00
Gordon Williams
399f7ff99a comment 2024-11-18 14:29:44 +00:00
Gordon Williams
4279f06e2f shorter strings in timer debug fn 2024-11-18 11:49:17 +00:00
Gordon Williams
9d2f496eb0 Tidy up util timer code - utilTimerInsertTask shouldn't be called from the IRQ so flag isn't needed (and wsn't volatile so probably wouldn't work anyway) 2024-11-18 11:30:10 +00:00
Gordon Williams
0300f65426 oops - fix build on non-nRF52 devices 2024-11-18 09:53:17 +00:00
Gordon Williams
4a02875504 Add EV_CUSTOM event handler and tidy up E.setComparator 2024-11-18 09:31:48 +00:00
Gordon Williams
4c508935c6 Enable nostartfiles optimisation for Pixl,MDBT42 and nRF52DK 2024-11-18 08:59:00 +00:00
Gordon Williams
9cbae6362d Pixl.js: Remove Wiznet W5100 support from default build (there's now a espruino_#v##_pixljs_wiznet.zip without JIT enabled) to ensure we have enough flash to continue builds 2024-11-15 16:40:24 +00:00
Gordon Williams
957e3f99f4 Use built-in gfx draw function - save a few bytes on Pixl.js 2024-11-15 16:07:27 +00:00
Gordon Williams
aec1e1e87c Add Serial.isConnected to check if Bluetooth/USB/etc actually connected 2024-11-15 15:46:43 +00:00
Gordon Williams
9ea61f0597 Add docs for comparator event 2024-11-15 14:58:47 +00:00
Gordon Williams
ad278757cc nRF52: Add E.setComparator to enable interrupts from LPCOMP 2024-11-15 14:47:43 +00:00
Gordon Williams
ab3dc5e1ed Add Pip.streamPlaying() to get the current stream that's playing. 2024-11-12 09:30:19 +00:00
Richard Blakesley
4f17e5330a Added g.setFontMonofonto36() 2024-11-12 00:58:39 +01:00
Gordon Williams
9573bb3526 Ensure we can continue to build for microbit/mdbt42/esp8266 after recent code size increases 2024-11-08 14:37:05 +00:00
Gordon Williams
5f7996b4c3 Graphics: Fix issue where drawLine for 2px horizontal lines only drew a 1px dot 2024-11-08 11:32:42 +00:00
Gordon Williams
f6493d5d41 Graphics: Fix issue where drawLine for 2px horizontal lines only drew a 1px dot 2024-11-08 11:32:13 +00:00
Gordon Williams
6b565f82a6 Revert "fix issue with utilTimerOffset drift"
This reverts commit dc474d8cbd896e7af3d78dea7bcc3639b3252520.
2024-11-08 09:40:10 +00:00
Gordon Williams
eed9d4a6b9 Revert "fix issue with utilTimerOffset drift"
This reverts commit dc474d8cbd896e7af3d78dea7bcc3639b3252520.
2024-11-08 09:38:38 +00:00
Gordon Williams
781ef81655 fix issue with utilTimerOffset drift 2024-11-07 16:49:08 +00:00
Gordon Williams
a0f53ea893 Fix UtilTimer timings when new task added infront of existing tasks (fix #2575) 2024-11-07 16:48:56 +00:00
Gordon Williams
dc474d8cbd fix issue with utilTimerOffset drift 2024-11-07 16:46:05 +00:00
Richard Blakesley
0168157e65 Slow down the LCD FSMC output pin speed from "Very high speed" to "Low speed" 2024-11-07 15:08:22 +00:00
Gordon Williams
c6e57f9011 Remove __WFI tweak - not needed now #2575 is fixed
Also remove SPIFLASH_BASE define since this causes a bunch of stuff to be added to jsvariterator that we don't need
2024-11-07 15:02:26 +00:00
Gordon Williams
f2f971d103 Fix UtilTimer timings when new task added infront of existing tasks (fix #2575) 2024-11-07 15:01:27 +00:00
Gordon Williams
752b607d9c Add ESPR_MIN_WFI_TIME_MS - STM32: default 0.1ms, but if set, Espruino won't enter __WFI sleep unless the next setInterval is more than this number of milliseconds away
Ensure that when we sleep we update our timer as SysTick will stop
2024-11-07 14:02:56 +00:00
Gordon Williams
7386f49f1c Bangle.js: .setUI now only clears back widget if it hasn't been hidden by widget_utils 2024-11-07 10:11:00 +00:00
Gordon Williams
dd663040b3
Merge pull request #2574 from bobrippling/feat/typescript-menu-scroller
typescript: add menu scroller
2024-11-07 09:28:51 +00:00
Richard Blakesley
01aa8f0d5e jswrap_pipboy.c - set state of FM radio I2C lines and LCD tearing pin when going to sleep 2024-11-06 21:30:26 +00:00
Gordon Williams
138e069602 curio: fix flipping motor direction from + to -/etc 2024-11-06 13:02:16 +00:00
Rob Pilling
4f852e7db0 typescript: add menu scroller 2024-11-06 07:43:51 +00:00
Gordon Williams
5ac4b591a3 formatting 2024-11-04 11:41:40 +00:00
Gordon Williams
2665232cd7 Merge branch 'master' into thyttan-setui-q3-changes
# Conflicts:
#	ChangeLog
#	libs/js/banglejs/Bangle_setUI_F18.min.js
#	libs/js/banglejs/Bangle_setUI_Q3.min.js
2024-11-04 11:40:42 +00:00
Gordon Williams
91c5e53681 X.on now allocates a new array for each new handler added, stops new handlers being called for the event that's currently being handled (#2559) 2024-11-04 11:37:21 +00:00
Gordon Williams
fc8542b803 Updated factor firmware with improved bootupdate 2024-11-04 11:37:21 +00:00
Gordon Williams
3604428ea6 remove unused jspExecuteJSFunction, fix warnings 2024-11-04 11:37:21 +00:00
Gordon Williams
b62e206ee9 fix warnings 2024-11-04 11:37:21 +00:00
Gordon Williams
ba4a186021 Fix for regression after #2547 fix (left hand operand of maths with a valueOf method) 2024-11-04 11:37:21 +00:00
Gordon Williams
e549e6c644 Update Bangle.js 'factory' firmwares to latest from repo 2024-11-04 11:37:21 +00:00
Gordon Williams
4954da67d4 Bangle.js2: Including Layout module in internal flash 2024-11-04 11:37:21 +00:00