Commit graph

41 commits

Author SHA1 Message Date
Keir Fraser
3e459c9d54 Remove double underscore prefix from __packed and __aligned() definitions.
It is polluting the GCC namespace and breaks the build with GCC v9.
2019-12-27 07:53:51 +00:00
Keir Fraser
6f51cb70d5 Call traces in crash handler 2019-06-03 14:28:28 +01:00
Keir Fraser
892d5e0669 FF.CFG: New option sort-priority=folders|files|none
Default sort priority is folders first, then files.

Also fix bug with folders >1000 items.
2019-05-23 16:56:52 +01:00
Keir Fraser
756333a04d Replace the Reloader mess with an all-in-one Bootloader update file.
Also allow the update file to be supplied on SD Card (Enhanced Gotek only).

Fixes #229
2019-05-23 14:26:33 +01:00
Keir Fraser
bf36c6c027 FF.CFG: New option 'motor-delay = ignore | 0-1000'
Allows to enable processing of MOTOR input signal, and modify
READY and INDEX output behaviours accordingly.

RDATA does not respect MOTOR: Probably noone cares.
2019-05-17 21:02:42 +01:00
Keir Fraser
b210e8cdc0 Sort folder entries in direct navigation mode.
New FF.CFG option folder-sort=always,never,small

Allows new behaviour to be disabled always, or only for large folders
(which by default get truncated).
2019-04-23 17:36:46 +01:00
Keir Fraser
18ce89d083 scripts: mk_hfe.py: Make a blank HFE image with specified geometry and rates 2019-04-20 12:17:04 +01:00
Keir Fraser
bf7b644b35 edsk.py: Interpret non-extended DSK images correctly. 2019-03-26 11:26:44 +00:00
Keir Fraser
339921a2f3 FF.CFG: New twobutton-action= and rotary= sub-options 'reverse'.
Reverse sense of direction of original two buttons and rotary
encode knob, respectively.
2018-10-29 14:35:59 +00:00
Keir Fraser
8e03ea6fda edsk_fix_gaps.py: De-interleave sectorsd which include IDAM GAPS 2018-07-24 09:21:20 +01:00
Keir Fraser
215bce3086 dsk: Do not include CRC+GAP3 at end of irregular-sized data. The data
already includes the CRC+GAP3.
Also introduce a script which detects pre-sync 00 bytes at the end
of irregular data, and strips them.
2018-07-24 08:21:48 +01:00
Keir Fraser
942bf7703b edsk.py: Detect possibly bogus pre-sync bytes in GAPS 2018-07-23 10:31:09 +01:00
Keir Fraser
43cd0df2a6 edsk.py: Better determination of type of 'weird sized' sector.
GAPS vs Weak vs Incomplete. Also clamp N field value correctly.
2018-07-18 22:50:23 +01:00
Keir Fraser
75c28a85fe dsk: Handle status-register values 00:01 (same as 01:01)
SAMdisk produces these values for some CPC protections.
2018-07-18 21:03:32 +01:00
Keir Fraser
8cb1880d71 FF.CFG: New options pin02= and pin34= allow precise configuration.
Refs #137
2018-07-18 08:08:27 +01:00
Keir Fraser
1eb6b95cd9 scripts: Make Python scripts compatible with Python 2.7 and Python 3.x 2018-07-13 23:47:50 +01:00
Keir Fraser
146888aa42 scripts: Remove signature check from Speedlock fixer.
Not all Speedlock-protected images have the SPEEDLOCK signature.
Refs #140
2018-07-11 22:03:25 +01:00
Keir Fraser
ed7b1af136 scripts: Whitespace 2018-07-10 10:42:43 +01:00
Keir Fraser
86066ef8dc New script for fixing up Speedlock EDSK images 2018-07-10 10:41:12 +01:00
Keir Fraser
cf86a6fcf8 Add a helpful script for dumping useful info about EDSK files. 2018-06-26 14:03:06 +01:00
Keir Fraser
71d53ea483 lcd: Allow LCD width to be specified: 16 <= N <= 40 2018-06-26 10:28:16 +01:00
Keir Fraser
710d75e387 oled: Align fonts and target buffer, can make memcpy() faster 2018-06-14 13:18:29 +01:00
Keir Fraser
9b4ac45c7a oled_font_6x13: Auto-generate C file from BDF as part of build process 2018-06-13 19:44:47 +01:00
Keir Fraser
ee8beff1d8 FF.CFG: New option "twobutton-action = rotary-fast"
Fixes #127
2018-06-11 12:27:12 +01:00
Keir Fraser
5467d9b514 mk_font: Support character bounding box smaller than overall bounding box. 2018-06-11 09:05:56 +01:00
Keir Fraser
a6016581bf usb-dfu: Automatically create dfuse *.dfu target 2018-05-09 11:04:24 +01:00
Keir Fraser
cdf2a26246 ibmpc: New interface=ibmpc-hdout asserts pin 2 if HD image mounted 2018-03-09 12:55:38 +00:00
Keir Fraser
d3ec20b924 oled: Replace 7x16 font with classic 6x13 font. Make it default, but
keep the 8x16 font around (for now).
Fixes #55
2018-02-21 14:53:24 +00:00
Keir Fraser
73438b8847 ff.cfg: New option "rotary = none | simple | gray"
Allows use of higher quality mechanical and optical rotary encoders
with proper Gray code output.

Fixes #50
2018-02-08 23:40:34 +00:00
Keir Fraser
3f1a52c6de ff.cfg: New option display-type=.
Allows to specify a 180-degrees rotated OLED display.
2018-01-29 14:32:52 +00:00
Keir Fraser
2f6d490947 ff.cfg: Replaced synced-track-changes with track-change=instant|realtime 2018-01-29 11:07:14 +00:00
Keir Fraser
4142feaaae ff.cfg: New parameter "host = unspecific | akai".
Allows host type to be specified to improve format detection.
2018-01-28 10:17:56 +00:00
Keir Fraser
7afac732a6 FF.CFG: New config option nav-mode = native | indexed | default 2017-12-01 18:57:12 +00:00
Keir Fraser
beeb1a4a84 ff.cfg: New option twobutton-action = zero | eject 2017-11-30 20:21:15 +00:00
Keir Fraser
ed212c77f5 ff.cfg: New option image-on-startup.
Rename LASTDISK.IDX to IMAGE_A.CFG
2017-10-13 15:21:35 +01:00
Keir Fraser
5dce23bdbc main: Generate config defaults from examples/FF.CFG.
Use macro magic to generate FF.CFG-related enums and structs
2017-10-12 14:40:13 +01:00
Keir Fraser
502fa183e3 scripts: Update for python3 compatibility.
Thanks to Manuel Teira!
2017-09-24 18:28:45 +01:00
Keir Fraser
623344caf9 linker: Do not include stacks in BSS range, so we do not zero them.
Firstly it's unnecessary. Secondly it's dangerous in case memset() uses the stack.
2017-09-07 18:45:45 +01:00
Keir Fraser
08ec1c5f97 scripts: Pull generic part of linker script out into scripts folder 2017-07-28 07:46:04 +01:00
Keir Fraser
f5c326e9e2 bootloader: Introduce an update bootloader to allow easy update
of the main firmware.
2017-07-06 19:42:27 +01:00
Keir Fraser
9ef49cad0e scripts: Check that an STM32 device has at least 128k flash. Seems
that all STM32F103C8 devices have that much flash, but it may not be
guaranteed to work. However I have checked 12 devices and all of them
had 128k of 100%-working flash.
2015-06-20 17:58:12 +01:00