Gordon Williams
|
a75f2a77a7
|
add ESPR_FS_PREPEND_PATH, other compile fixes
|
2025-09-12 11:48:23 +01:00 |
|
Gordon Williams
|
c39547da36
|
Fix SD card wait that was using 0xFFFFFFFF and so could pretty much lock up forever
Also allow us to include this from elsewhere with SD_OVERRIDE and to force it to use polling
|
2025-06-25 14:28:43 +01:00 |
|
Gordon Williams
|
9bc16c4d24
|
update docs to keep version number the same format
|
2025-06-25 11:52:08 +01:00 |
|
Gordon Williams
|
9a0bff67b7
|
Fat FS: If can't allocate file, attempt defragmentation and try again
|
2025-06-02 13:38:06 +01:00 |
|
Gordon Williams
|
4589fbc0e7
|
Fat FS: Added r+ file open mode (and allow w+ to read)
|
2025-06-02 13:31:19 +01:00 |
|
Gordon Williams
|
2bdf05f910
|
ESP32: Remove FlashFS, adjust partitions to increase available Storage from 256kB to 896kB
|
2025-04-02 10:39:00 +01:00 |
|
Gordon Williams
|
7c3a5d6850
|
Make the new fs.getFree/mkfs dependent on build flags (not enough space in most normal Espruino builds)
|
2025-01-30 11:23:41 +00:00 |
|
Gordon Williams
|
60b1f4b723
|
fix for different FAT versions
|
2025-01-30 11:14:29 +00:00 |
|
Gordon Williams
|
333f45c58d
|
Merge recent Pipboy changes
|
2025-01-30 10:41:28 +00:00 |
|
Gordon Williams
|
31ae87ce15
|
Misc updates from PIPBOY branch
|
2024-12-06 09:16:40 +00:00 |
|
Gordon Williams
|
adef722e14
|
Merge branch 'STM32F4LCD' into STM32F4LCD_oldfatfs
|
2024-12-06 09:08:12 +00:00 |
|
Gordon Williams
|
66288f40b4
|
fix Linux build
|
2024-12-02 16:41:46 +00:00 |
|
Gordon Williams
|
5406948c6f
|
Ensure mkfs/others correctly return fails if jsfsInit fails
|
2024-12-02 14:08:07 +00:00 |
|
Gordon Williams
|
8259b0617d
|
Fix .mkfs on SDIO SD cards - previously it hard-coded 67mb for some reason!
|
2024-11-29 15:21:10 +00:00 |
|
Gordon Williams
|
f8910b10fc
|
Add fs.mkfs function to allow reformatting of media
|
2024-11-25 14:24:02 +00:00 |
|
Gordon Williams
|
0a63c069f5
|
Merge branch 'STM32F4LCD' into STM32F4LCD_oldfatfs
|
2024-11-21 11:37:20 +00:00 |
|
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
|
c1f8d3fd4a
|
FAT tweaks after recent changes
|
2024-11-21 10:59:45 +00:00 |
|
Gordon Williams
|
01594b5a29
|
STM32F4: Add SDIO support
|
2024-11-21 10:34:19 +00:00 |
|
Gordon Williams
|
2bdea5c15e
|
Merge branch 'STM32F4LCD' into STM32F4LCD_oldfatfs
|
2024-10-18 16:32:29 +01:00 |
|
Gordon Williams
|
f5b98813e9
|
small tidying up - remove PipBoy stuff from STM32F4LCD build so it'll build again
|
2024-10-18 16:29:21 +01:00 |
|
Gordon Williams
|
6864224f9a
|
Merge branch 'STM32F4LCD' into STM32F4LCD_oldfatfs
|
2024-09-30 14:21:43 +01:00 |
|
Richard Blakesley
|
d9d0e1c0a7
|
Don't throw an error in jsfsInit() if it fails (e.g. due to no SD card) - just return false
|
2024-09-28 21:50:14 +02:00 |
|
Gordon Williams
|
87b1871a37
|
Fix call of SD_WriteMultiBlocks, and reduce write block size to 512b
as we were seeing DISK_ERR write errors (unsure of why)
|
2024-09-20 15:38:44 +01:00 |
|
Gordon Williams
|
d6b3933540
|
After revert of fatfs, we need a minor tweak to keep compiling
|
2024-09-19 16:01:43 +01:00 |
|
Gordon Williams
|
b9222ed3a2
|
Revert "Upgrade FatFs library from R0.10c to R0.15"
This reverts commit 9f2eb167ce7ae10ed3a7c25c5e71e95b21e0d997.
|
2024-09-19 15:57:03 +01:00 |
|
Gordon Williams
|
6495ec0758
|
Add ESPR_FS_LARGE_WRITE_BUFFER to allow faster SD card writes
|
2024-09-18 12:09:09 +01:00 |
|
Richard Blakesley
|
b79b0b8506
|
Added jswrap_fs_getfree()
|
2024-09-05 23:31:29 +01:00 |
|
Gordon Williams
|
281f01b45c
|
Fix SD card read of multiple blocks on non-HC SD cards
|
2024-08-27 16:33:12 +01:00 |
|
Richard Blakesley
|
9f2eb167ce
|
Upgrade FatFs library from R0.10c to R0.15
|
2024-08-05 00:21:17 +02:00 |
|
Richard Blakesley
|
d131dd29fc
|
jsfsInit(): wait a bit after enabling SD card power (if it was turned off)
|
2024-08-04 23:41:12 +02:00 |
|
Gordon Williams
|
f3ccf1fee5
|
add ESPR_SDIO_FAST_UNALIGNED
- a bit of a nasty hack, but it drastically increases read speed for us, without having to mess around trying to always align the buffer reads
|
2024-07-26 20:49:25 +01:00 |
|
Richard Blakesley
|
f03dd96a47
|
Add optional power supply enable pin for SD card
|
2024-07-23 14:41:57 +02:00 |
|
Gordon Williams
|
a45ce38bfe
|
Add a 'safe' disk_read function for when data buffer is unaligned
Slightly speed up RLE decode by only doing the 'end of stream' check right before we run out of data
|
2024-07-03 11:23:17 +01:00 |
|
Gordon Williams
|
8f08e77403
|
starting AVI decode
|
2024-07-02 12:45:52 +01:00 |
|
Gordon Williams
|
90c369060c
|
SDIO SD card reads now working, also A9 USART TX not overwritten!
|
2024-07-01 17:01:39 +01:00 |
|
Gordon Williams
|
7ca7f36132
|
working, albeit with slow software SDIO
|
2024-06-28 16:33:31 +01:00 |
|
Gordon Williams
|
d82f826756
|
attempt to fix all the broken jsDebug messages
|
2024-05-15 13:36:08 +01:00 |
|
Gordon Williams
|
1341bceb21
|
Move commonly used sequences of function calls into functions (eg jsvRemoveChild,jsvUnLock -> jsvRemoveChildAndUnLock) - saves ~200b
|
2024-02-02 14:16:14 +00:00 |
|
Deirdre O Byrne
|
a24ef40dd2
|
Speling fix
|
2024-01-28 17:14:38 +00:00 |
|
Gordon Williams
|
f6894cd54c
|
Remove createChild argument from jsvFindChildFromString, add jsvFindOrAddChildFromString instead
|
2023-10-06 17:03:59 +01:00 |
|
Gordon Williams
|
4327ebd34e
|
Tidying up error messages (no trailing '.' or '\n'), making almost-similar error messages the same
Used the following to try and find issues:
find . -name "*.c" | xargs -I{} grep -h jsExceptionHere {} | sed -e "s/^[^\"]*\"/\"/" | sort | uniq -c
|
2023-10-06 10:47:58 +01:00 |
|
Gordon Williams
|
9b30f17227
|
Added jsvObjectGetChildIfExists to avoid the jsvObjectGetChild(... ,0) case - saves ~300b of flash space
|
2023-04-25 10:59:34 +01:00 |
|
Rob Pilling
|
9d13de0122
|
Add PipeOptions to pipe() typescript definitions
|
2023-04-19 08:21:08 +01:00 |
|
Rob Pilling
|
953f33d683
|
Update docs with [optional] (for typescript)
|
2023-02-08 22:48:30 +00:00 |
|
qucchia
|
c5bb94bf7a
|
Limit documentation comments to 80 characters (#2244)
|
2022-07-27 15:32:19 +02:00 |
|
qucchia
|
ff3fc6dcdf
|
Fix minor typos
|
2022-07-22 11:48:00 +02:00 |
|
deirdreobyrne
|
333cb9b304
|
Fixes arising from code review
|
2022-07-05 15:03:45 +01:00 |
|
Gordon Williams
|
872ba947ce
|
handle case where 'undefined' is passed as an argument to FS.write
|
2021-09-23 11:58:47 +01: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 |
|