Skip to content

0.0.5 Beta

Compare
Choose a tag to compare
@Gadgetoid Gadgetoid released this 27 Feb 13:42
25f570c

We're on the cusp of introducing Mass Storage support, thanks to another gargantuan effort from @AndrewCapon and support from @Daft-Freak.

As such there aren't a lot of new features. This release serves to roundup all of the changes and fixes to date and introduces the Voxel demo.

Asset Pipeline

The asset pipeline, including the ability to convert and pack raw/binary, map and image files has been moved to a new toolset which you can find here: https://github.com/pimoroni/32blit-tools/

We're a little thin on the ground with documentation, but @Gadgetoid's Rocks And Diamonds clone shows the use of the new blit_assets_yaml function in CMakeLists.txt.

In short, assets are now configured via a .yml file which can define any number/permutation of images, sprites, maps and more to be packed into a C++-compatible header file for your project.

The old method of asset building using blit_assets or blit_asset is now deprecated along with asset-builder, sprite-builder, map-builder and asset-packer which have been replaced by the new toolset.

USB CDC & Mass Storage

@AndrewCapon has been working tirelessly on USB Mass Storage support that's now waiting to be merged upstream. As a result of this effort several elusive bugs in the USB Serial and SD card implementations have been fixed. Hooray!

JPEG Decoding Support

As part of his marathon of making music and video play on the 32Blit @Daft-Freak has brought the STM32's built-in JPEG decoder online and added some userland functions for JPEG decoding.

It's one of those "we don't know who might have a use for this" additions, but on the off chance it makes a port easier, or enables some other cool project it's now upstream for your cat-picture-viewing pleasure.

TLDRBATITL

  • Neat Class wrapper for the file API (thanks @Daft-Freak)
  • Bugfix to file API to resolve symlinks correctly
  • Tweaks to CDC Command Stream FIFO to fix uploads stalling at 99%
  • Font now constexpr so unused fonts are discarded
  • Int/Ext Linker script is now unified into one so it's much easier to hack on (thanks @ali1234)
  • Support for decoding jpeg files (SDLimage now required for SDL builds)
  • New demo: Voxel

As part of his work on USB Mass Storage @AndrewCapon (with assists from @Daft-Freak) gave the SD-card implementation a good thrashing, finding and fixing a multitude of small bugs:

  • Patch SD_RxDataBlock() in fatfs_sd.c to avoid reading one byte too many
  • Revert all @Gadgetoid's garbage changes to fatfs_sd.c (they caused issues with Mass Storage implementation)
  • Patch fatfs_sd.c to correctly report larger card sizes

Thanks to @Daft-Freak this will be the first release using the much smaller Visual Studio based Windows builds!