author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
510,667
02.03.2020 21:13:35
-3,600
cec92b2acdd99fb7f5da732398ae1447313085d5
No wrap aound
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -318,18 +318,15 @@ void FlashLoader::RenderFlashFile(uint32_t time)\nif(button_up)\n{\n- if(m_uCurrentFile) {\n+ if(m_uCurrentFile > 0) {\nm_uCurrentFile...
C
MIT License
pimoroni/32blit-beta
No wrap aound
510,667
02.03.2020 21:14:15
-3,600
09bcf4b175a2bcd45b690d69882cc13df06d3713
Filesize propely aligned ; X sorts by filename ; Y sorts by filesize
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -63,6 +63,7 @@ void FlashLoader::FSInit(void)\nvolatile FRESULT fr; /* Return value */\nDIR dj; /* Directory search object */\nFILINFO fno; /* File infor...
C
MIT License
pimoroni/32blit-beta
Filesize propely aligned ; X sorts by filename ; Y sorts by filesize (#256)
510,667
03.03.2020 20:19:49
-3,600
8f839e2ec76d9eb258ef644f72568b01b8fa3ef5
Wrap around is back !
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -320,6 +320,8 @@ void FlashLoader::RenderFlashFile(uint32_t time)\n{\nif(m_uCurrentFile > 0) {\nm_uCurrentFile--;\n+ } else {\n+ m_uCurrentFile = m_uFile...
C
MIT License
pimoroni/32blit-beta
Wrap around is back !
510,640
25.02.2020 14:46:19
0
dc9ffe3a9d3c101bac32d541632e10e4154bf0b3
Initial API wrangling Hide the API struct from the user by referencing everything back to where it was
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/32blit.h", "new_path": "32blit-stm32/Inc/32blit.h", "diff": "#include \"fatfs.h\"\n#include \"persistence.h\"\n-\n// Functions defined by user code files\nextern void init();\nextern void update(uint32_t time);\n" }, { "change_type": "...
C
MIT License
pimoroni/32blit-beta
Initial API wrangling Hide the API struct from the user by referencing everything back to where it was
510,640
25.02.2020 16:54:30
0
3548479b7eb359600eae890609fff8ed9170b5ff
Fix linker whoopsie
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/STM32H750VBTx.ld", "new_path": "32blit-stm32/STM32H750VBTx.ld", "diff": "@@ -185,20 +185,20 @@ SECTIONS\n__ltdc_end = .;\n} >LTDC\n- .persist (NOLOAD):\n+ .api (NOLOAD):\n{\n. = ALIGN(4);\n- __persist_start = .;\n- KEEP(*(.persist)) /* Persistent ...
C
MIT License
pimoroni/32blit-beta
Fix linker whoopsie
510,640
02.03.2020 21:55:15
0
4d3532721973794e6c524c5ed2ac680fe5d7e95e
Code cleanup, double promo fixes
[ { "change_type": "MODIFY", "old_path": "examples/palette-swap/palette-swap.cpp", "new_path": "examples/palette-swap/palette-swap.cpp", "diff": "@@ -73,8 +73,8 @@ void all_ships_at_once_demo(uint32_t time) {\nPoint pos = position[p];\n- pos.x += sin(time / 5000.0 + p) * 20;\n- pos.y += sin(time / 500...
C
MIT License
pimoroni/32blit-beta
Code cleanup, double promo fixes
510,640
03.03.2020 10:01:18
0
1973b5037664338ca439ef7e5ee5c07ab7b1c4f6
Promote double promo to error, fix errors
[ { "change_type": "MODIFY", "old_path": "32blit.toolchain", "new_path": "32blit.toolchain", "diff": "@@ -33,7 +33,7 @@ set(EXTERNAL_LOAD_ADDRESS_EXT 0x08000000)\nset(INITIALISE_QSPI_EXT 0)\nset(CDC_FIFO_BUFFERS_EXT 4)\n-set(COMMON_FLAGS \"${MCU_FLAGS} -Wall -fdata-sections -ffunction-sections -Wattri...
C
MIT License
pimoroni/32blit-beta
Promote double promo to error, fix errors
510,640
03.03.2020 22:17:34
0
d53cc5e79b8405ca144f14420918be2aea4aecd7
Remove battery info from 32Blit API
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/i2c-bq24295.h", "new_path": "32blit-stm32/Inc/i2c-bq24295.h", "diff": "#define BQ24295_SYS_FAULT_REGISTER 0x09\n#define BQ24295_ID_REGISTER 0x0A\n+#define BQ24295_BFAULT_WATCHDOG 0b10000000\n+#define BQ24295_BFAULT_OTG 0b01000000\n+#define BQ2...
C
MIT License
pimoroni/32blit-beta
Remove battery info from 32Blit API
510,641
04.03.2020 14:19:03
0
a33dcd61580d588f5ff03083e2eafd0f41f024a0
Fix Raycaster weirdness
[ { "change_type": "MODIFY", "old_path": "examples/raycaster/raycaster.cpp", "new_path": "examples/raycaster/raycaster.cpp", "diff": "@@ -123,7 +123,7 @@ void init() {\ntan_half_fov = tan(HALF_FOV);\nfor (int x = 0; x < SCREEN_WIDTH; x++) {\n- lut_camera_displacement[x] = (float)(2 * x) / SCREEN_WIDTH...
C
MIT License
pimoroni/32blit-beta
Fix Raycaster weirdness (#263)
510,640
03.03.2020 22:19:58
0
93b6087b1103c183aa08b1d0ed1f2c7ae80731fd
Use TIM2 for sys button debounce, long press
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/stm32h7xx_it.h", "new_path": "32blit-stm32/Inc/stm32h7xx_it.h", "diff": "@@ -63,6 +63,7 @@ void DMA1_Stream1_IRQHandler(void);\n//void DMA1_Stream2_IRQHandler(void);\nvoid ADC_IRQHandler(void);\nvoid ADC3_IRQHandler(void);\n+void TIM2_IRQHandl...
C
MIT License
pimoroni/32blit-beta
Use TIM2 for sys button debounce, long press
510,640
03.03.2020 22:18:15
0
8bf4cdda6a04ac36bb77a5c2b85dadacb2103a4a
400KHz i2c with slight rise/fall slew
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/i2c.c", "new_path": "32blit-stm32/Src/i2c.c", "diff": "@@ -31,7 +31,7 @@ void MX_I2C4_Init(void)\n{\nhi2c4.Instance = I2C4;\n- hi2c4.Init.Timing = 0x307075B1;\n+ hi2c4.Init.Timing = 0x20401943;\nhi2c4.Init.OwnAddress1 = 0;\nhi2c4.Init.Addressi...
C
MIT License
pimoroni/32blit-beta
400KHz i2c with slight rise/fall slew
510,640
04.03.2020 16:20:38
0
4abcaf410d12c7c750a092d72a40e94b7434f578
Do not restart timer on bounce
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -630,6 +630,7 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {\nWe disable interrupts and clear this early interrupt flag before re-enabling them so that the *real*\ninterrupt ...
C
MIT License
pimoroni/32blit-beta
Do not restart timer on bounce
510,640
04.03.2020 16:47:51
0
07bbb859a93fb88666c1d0f140cc2a86c064911d
Reset button state before launching app
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -783,6 +783,10 @@ void blit_switch_execution(void)\n#else\npersist.reset_target = prtFirmware;\n#endif\n+\n+ // Reset button state, this prevents the user app immediately seeing t...
C
MIT License
pimoroni/32blit-beta
Reset button state before launching app
510,640
04.03.2020 17:02:48
0
8c2e538308b936066ca28fc0d5f78870ccd9d700
Clear FizzleFade screen properly on init
[ { "change_type": "MODIFY", "old_path": "examples/fizzlefade/fizzlefade.cpp", "new_path": "examples/fizzlefade/fizzlefade.cpp", "diff": "@@ -43,7 +43,9 @@ void init() {\nscreen.alpha = 255;\nscreen.mask = nullptr;\n- screen.pen = fade_to[FADE_STEPS - 1];\n+ Pen p = fade_to[FADE_STEPS - 1];\n+ p.a = 2...
C
MIT License
pimoroni/32blit-beta
Clear FizzleFade screen properly on init
510,667
06.03.2020 23:34:27
-3,600
cb075d7c37a9d1632cb2abccfc24cf852b8f0bb1
A packed image loaded in a Surface was not displayed properly.
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/surface.cpp", "new_path": "32blit/graphics/surface.cpp", "diff": "@@ -415,7 +415,7 @@ namespace blit {\npalette_entries[pidx * 4 + 3]);\n}\n- for (uint8_t b = *bytes; bytes < ((uint8_t *)image) + image->byte_count; b = *++bytes) {\n+ for (uint8...
C
MIT License
pimoroni/32blit-beta
A packed image loaded in a Surface was not displayed properly.
510,667
07.03.2020 00:19:29
-3,600
c7ebdbbb9aacf0319e9cdb9439c38ac4faa01f6b
Avoid a global buffer overflow
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/surface.cpp", "new_path": "32blit/graphics/surface.cpp", "diff": "@@ -415,7 +415,8 @@ namespace blit {\npalette_entries[pidx * 4 + 3]);\n}\n- for (uint8_t b = *bytes; bytes < ((uint8_t *)image) + sizeof(packed_image) + (image->palette_entry_cou...
C
MIT License
pimoroni/32blit-beta
Avoid a global buffer overflow
510,670
10.03.2020 09:48:44
0
302c81d25addc430fa2c56f516bd6b8f920119bf
More pitch in voxel demo, vs project files
[ { "change_type": "MODIFY", "old_path": "examples/voxel/voxel.cpp", "new_path": "examples/voxel/voxel.cpp", "diff": "@@ -17,7 +17,9 @@ Pen colour_map_palette[256];\nuint16_t *tiles[32][32];\nstd::vector<uint16_t *> free_tiles;\n-uint16_t tile_cache[32 * 32 * 130];\n+\n+constexpr uint16_t tile_cache_s...
C
MIT License
pimoroni/32blit-beta
More pitch in voxel demo, vs project files
510,650
17.03.2020 13:39:33
0
a425a12b880407877ab6147a47a16ee4554ace0d
Updated the post-build copy command for SDL's DLL to support spaces in the filename
[ { "change_type": "MODIFY", "old_path": "vs/32blit-sdl/32blit-sdl.vcxproj", "new_path": "vs/32blit-sdl/32blit-sdl.vcxproj", "diff": "<AdditionalLibraryDirectories>..\\sdl\\lib\\$(PlatformTarget)</AdditionalLibraryDirectories>\n</Lib>\n<PostBuildEvent>\n- <Command>xcopy /y /d $(ProjectDir)..\\sdl\\lib...
C
MIT License
pimoroni/32blit-beta
Updated the post-build copy command for SDL's DLL to support spaces in the filename
510,650
17.03.2020 15:18:31
0
d6869643d7e0519ff2503ccdcd3ad834582fb5c9
Supress with static_cast<> conversion between int32_t and float
[ { "change_type": "MODIFY", "old_path": "32blit/types/point.hpp", "new_path": "32blit/types/point.hpp", "diff": "@@ -15,14 +15,14 @@ namespace blit {\ninline Point& operator-= (const Point &a) { x -= a.x; y -= a.y; return *this; }\ninline Point& operator+= (const Point &a) { x += a.x; y += a.y; retur...
C
MIT License
pimoroni/32blit-beta
Supress with static_cast<> conversion between int32_t and float
510,650
17.03.2020 15:50:00
0
03345a62ab3480c3653e8db5f960e091a2c586a3
Updated to include SDL_Image.dll + dependencies
[ { "change_type": "MODIFY", "old_path": "vs/32blit-sdl/32blit-sdl.vcxproj", "new_path": "vs/32blit-sdl/32blit-sdl.vcxproj", "diff": "<AdditionalLibraryDirectories>..\\sdl\\lib\\$(PlatformTarget)</AdditionalLibraryDirectories>\n</Lib>\n<PostBuildEvent>\n- <Command>xcopy /y /d \"$(ProjectDir)..\\sdl\\l...
C
MIT License
pimoroni/32blit-beta
Updated to include SDL_Image.dll + dependencies
510,650
01.04.2020 15:03:58
-3,600
73a489f497b9b1b30bd5dd73249a5751fa9d75e5
Second possible cause plugged
[ { "change_type": "MODIFY", "old_path": "tools/src/32Blit.cpp", "new_path": "tools/src/32Blit.cpp", "diff": "@@ -92,7 +92,9 @@ bool OpenComPort(const char *pszComPort, bool bTestConnection = false)\nuint32_t WriteCom(char *pBuffer, uint32_t uLen)\n{\nDWORD dwWritten = 0;\n- if (!WriteFile(hComm, pBuf...
C
MIT License
pimoroni/32blit-beta
Second possible cause plugged
510,650
01.04.2020 15:05:37
-3,600
f681dd24f4928d971e8c0e3a38f8a2d5a2d014db
Tidied a bit
[ { "change_type": "MODIFY", "old_path": "tools/src/32Blit.cpp", "new_path": "tools/src/32Blit.cpp", "diff": "@@ -70,6 +70,7 @@ void CloseCom()\nCloseHandle(osRX.hEvent);\nCloseHandle(osTX.hEvent);\nCloseHandle(hComm);\n+ hComm = INVALID_HANDLE_VALUE;\n}\nbool OpenComPort(const char *pszComPort, bool ...
C
MIT License
pimoroni/32blit-beta
Tidied a bit
510,643
03.06.2020 19:57:12
-10,800
d05ccf81ea06438395aff7877c028b06b0a452d4
Fixed: Game template did not compile with VS2019
[ { "change_type": "MODIFY", "old_path": "template/game.vcxproj", "new_path": "template/game.vcxproj", "diff": "<PreprocessorDefinitions>_DEBUG;_CONSOLE;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\n<ConformanceMode>true</ConformanceMode>\n<AdditionalIncludeDirectories>..\\32blit;%(Addit...
C
MIT License
pimoroni/32blit-beta
Fixed: Game template did not compile with VS2019
510,643
03.06.2020 20:17:07
-10,800
caaacd4d56f3d3b07ab1d981e44a5ffb2840c95c
Fixed: Voxel project was not updated for VS2019 / C++17 and would not compile
[ { "change_type": "MODIFY", "old_path": "vs/examples/voxel/voxel.vcxproj", "new_path": "vs/examples/voxel/voxel.vcxproj", "diff": "<PreprocessorDefinitions>_DEBUG;_CONSOLE;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\n<ConformanceMode>true</ConformanceMode>\n<AdditionalIncludeDirectorie...
C
MIT License
pimoroni/32blit-beta
Fixed: Voxel project was not updated for VS2019 / C++17 and would not compile
510,665
19.08.2020 10:05:06
-3,600
b3cabb43207aab0293edd39737c379eb1b3a0625
Corrected variable name, and clarified that the documentation does apply to the new tool
[ { "change_type": "MODIFY", "old_path": "docs/Tools.md", "new_path": "docs/Tools.md", "diff": "The individual asset tools have been deprecated in favour of https://github.com/pimoroni/32blit-tools which installs `32blit` or `32blit.exe` command on Linux/Mac or Windows respectively.\n-Head on over to ...
C
MIT License
pimoroni/32blit-beta
Corrected variable name, and clarified that the documentation does apply to the new tool
510,665
21.08.2020 14:48:58
-3,600
2e0909b924227d4c1d2a6a72c24a7430cec054aa
Added note to include 32BLIT_PATH in cmake
[ { "change_type": "MODIFY", "old_path": "docs/Emscripten.md", "new_path": "docs/Emscripten.md", "diff": "@@ -23,4 +23,7 @@ emcmake cmake .. -G \"Unix Makefiles\"\nmake\npython3 -m http.server\n```\n+\n+If your project is based on the template, make sure to include the `-D32BLIT_PATH=\"/path/to/32blit...
C
MIT License
pimoroni/32blit-beta
Added note to include 32BLIT_PATH in cmake
510,670
11.03.2020 19:56:08
0
49887308e7bac9072ca50b61f09037792bd4dcf7
Faster blend functions
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/blend.cpp", "new_path": "32blit/graphics/blend.cpp", "diff": "@@ -26,15 +26,126 @@ namespace blit {\nreturn d + ((a * (s - d) + 127) >> 8);\n}\n+ __attribute__((always_inline)) inline void blend_rgba_rgb(const Pen *s, uint8_t *d, const uint8_t ...
C
MIT License
pimoroni/32blit-beta
Faster blend functions
510,670
27.07.2020 21:42:20
-3,600
bd4b2195c3db5551caf47f5b8c679a85b18d98d8
Avoid erasing entire flash and add progress bar
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "#include <stdlib.h>\nusing namespace blit;\n+constexpr uint32_t qspi_flash_sector_size = 64 * 1024;\n+\nextern QSPI_HandleTypeDef hqspi;\nextern CDCCommandS...
C
MIT License
pimoroni/32blit-beta
Avoid erasing entire flash and add progress bar
510,663
14.09.2020 09:00:26
-3,600
184782e102e0ffc2998f5373df8ca477a3cde4fd
Update ChromeOS.md Add instructions for allowing USB access to Linux on Chromebook.
[ { "change_type": "MODIFY", "old_path": "docs/ChromeOS.md", "new_path": "docs/ChromeOS.md", "diff": "@@ -19,4 +19,24 @@ Any shared folders will be avaliable under `/mnt/chromeos/`.\nAlternatively you could install a browser within the virtual machine itself.\n+# Flashing the firmware (DFU mode) and U...
C
MIT License
pimoroni/32blit-beta
Update ChromeOS.md Add instructions for allowing USB access to Linux on Chromebook.
510,663
14.09.2020 17:33:42
-3,600
317ab96c6b01863d0acf338c3a5984ac62ad2324
Update ChromeOS.md Fixed difference between what I thought I typed and what I actually typed.
[ { "change_type": "MODIFY", "old_path": "docs/ChromeOS.md", "new_path": "docs/ChromeOS.md", "diff": "@@ -29,9 +29,9 @@ On your Chromebook in chrome visit `chrome://flags/#crostini-usb-allow-unsupport\nYou will need to restart Linux for this to take effect. The easiest way to do this is to restart the...
C
MIT License
pimoroni/32blit-beta
Update ChromeOS.md Fixed difference between what I thought I typed and what I actually typed.
510,663
17.09.2020 13:06:00
-3,600
51f6ba4b4b3c2712c58b771cc6e79d57f1bf319f
Removed extra backslash from VS asset pre build step.
[ { "change_type": "MODIFY", "old_path": "docs/Tools.md", "new_path": "docs/Tools.md", "diff": "@@ -67,7 +67,7 @@ level = new TileMap((uint8_t *)local_level_data, nullptr, Size(level_width, leve\n# Visual Studio\nTo use `assets.yml` with a Visual Studio project, you need to run the packer as a pre-bui...
C
MIT License
pimoroni/32blit-beta
Removed extra backslash from VS asset pre build step.
510,663
17.09.2020 13:48:02
-3,600
b0a9d218f6abda3bafd5a4ef23872e6812ad2ceb
Expand Asset doc for Visual Studio
[ { "change_type": "MODIFY", "old_path": "docs/Tools.md", "new_path": "docs/Tools.md", "diff": "@@ -74,6 +74,7 @@ To add the build step right click the project and click properties. From there g\nIf the step is failing to complete then make sure that both python and the 32blit pip package is installed...
C
MIT License
pimoroni/32blit-beta
Expand Asset doc for Visual Studio
510,640
21.09.2020 12:53:16
-3,600
02f89a25a658cbae4a5a24ea452e675dccb56579
Support SDL2_image in WSL/MinGw + docs
[ { "change_type": "MODIFY", "old_path": "docs/Windows-WSL.md", "new_path": "docs/Windows-WSL.md", "diff": "-# Building & Running on Win32 (WSL and MinGW)\n+# Building & Running on Win32 (WSL and MinGW) <!-- omit in toc -->\nThese instructions cover setting up Windows Subsystem for Linux so that you c...
C
MIT License
pimoroni/32blit-beta
Support SDL2_image in WSL/MinGw + docs
510,640
21.09.2020 13:27:16
-3,600
adcff07dba0fb74a2df20ad1d996eba802b5491e
Refine instructions, use only precompiled binaries
[ { "change_type": "MODIFY", "old_path": "docs/Windows-WSL.md", "new_path": "docs/Windows-WSL.md", "diff": "@@ -11,8 +11,9 @@ If you're more familiar with Visual Studio then you should [follow the instructi\n- [Installing requirements inside WSL](#installing-requirements-inside-wsl)\n- [Building & Run...
C
MIT License
pimoroni/32blit-beta
Refine instructions, use only precompiled binaries
510,640
21.09.2020 13:39:07
-3,600
0ee1d2eab83dd4e64a608093b4cc1d950d0c6d66
Prefer /opt/local
[ { "change_type": "MODIFY", "old_path": "docs/Windows-WSL.md", "new_path": "docs/Windows-WSL.md", "diff": "@@ -52,14 +52,14 @@ You will need to cross-compile SDL2 for MinGW and install both it, and SDL2-imag\n### Installing SDL2 & SDL2_image\n-This will install the SDL2 development headers and librar...
C
MIT License
pimoroni/32blit-beta
Prefer /opt/local
510,640
25.02.2020 13:21:25
0
fa365f42da3d8b72cc5d7970be492383b727a657
Fix multi-line comment stupidity
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/startup_stm32h750xx.s", "new_path": "32blit-stm32/startup_stm32h750xx.s", "diff": "-/**\n+/*\n******************************************************************************\n* @file startup_stm32h750xx.s\n* @author MCD Application Team\n**********...
C
MIT License
pimoroni/32blit-beta
Fix multi-line comment stupidity
510,640
04.03.2020 15:42:49
0
2d36e8ede169a00d245a2a7de83c29288e6cbeea
Seperate memory for user/firmware
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/STM32H750VBTx.ld", "new_path": "32blit-stm32/STM32H750VBTx.ld", "diff": "@@ -42,14 +42,17 @@ _Min_Stack_Size = 0x400; /* required amount of stack */\nMEMORY\n{\nDTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K\n-RAM_D1 (xrw) : ORIGIN = 0x2400000...
C
MIT License
pimoroni/32blit-beta
Seperate memory for user/firmware
510,640
21.09.2020 17:12:58
-3,600
b054e52dd999abb251ee36bf689fb3c8da9bea79
Add sprites to sprite-test This changeset brings up the asset pipeline for sprite-test and walks through some of the methods for drawing sprites to the screen.
[ { "change_type": "MODIFY", "old_path": "examples/sprite-test/CMakeLists.txt", "new_path": "examples/sprite-test/CMakeLists.txt", "diff": "@@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.8)\nproject (sprite-test)\ninclude (../../32blit.cmake)\nblit_executable (sprite-test sprite-test.cpp)\n+blit_ass...
C
MIT License
pimoroni/32blit-beta
Add sprites to sprite-test This changeset brings up the asset pipeline for sprite-test and walks through some of the methods for drawing sprites to the screen.
510,640
23.09.2020 15:09:37
-3,600
38fa729dd584c7dbc72f82089de003d05e520194
Update vs project for sprite-test
[ { "change_type": "MODIFY", "old_path": "vs/examples/sprite-test/sprite-test.vcxproj", "new_path": "vs/examples/sprite-test/sprite-test.vcxproj", "diff": "<PropertyGroup Label=\"UserMacros\" />\n<PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='Debug|Win32'\">\n<LinkIncremental>true</LinkIn...
C
MIT License
pimoroni/32blit-beta
Update vs project for sprite-test
510,640
23.09.2020 16:28:43
-3,600
4dbb12566ab584ddc3b6658668108314bbdb9b45
Mention MinGW binary size
[ { "change_type": "MODIFY", "old_path": "docs/Windows-WSL.md", "new_path": "docs/Windows-WSL.md", "diff": "# Building & Running on Win32 (WSL and MinGW) <!-- omit in toc -->\n-These instructions cover setting up Windows Subsystem for Linux so that you can cross-compile Windows-compatible binaries wit...
C
MIT License
pimoroni/32blit-beta
Mention MinGW binary size
510,640
23.09.2020 16:29:02
-3,600
fe8861efb0c3027b8f0a4ab4977652e12b89ad02
Slight doc tweak + table of contents
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Firmware.md", "new_path": "docs/32Blit-Firmware.md", "diff": "-# 32Blit Firmware\n+# 32Blit Firmware <!-- omit in toc -->\nThis repository includes firmware for the 32Blit that lets you manage games on SD card, and copy or flash games via USB seria...
C
MIT License
pimoroni/32blit-beta
Slight doc tweak + table of contents
510,640
23.09.2020 18:48:09
-3,600
9ecdcc3bd305961f32656bcbff247220e8a2a2ed
Fix zero division error in tilemap-test betamax
[ { "change_type": "MODIFY", "old_path": "examples/tilemap-test/tilemap-test.cpp", "new_path": "examples/tilemap-test/tilemap-test.cpp", "diff": "@@ -140,9 +140,12 @@ using namespace blit;\nstd::function<Mat3(uint8_t)> betamax = [](uint8_t y) -> Mat3 {\nfloat step = (current_time / 250.0f) + (y / 25.0...
C
MIT License
pimoroni/32blit-beta
Fix zero division error in tilemap-test betamax
510,640
24.09.2020 16:40:04
-3,600
44739ebf39fe33c0dfffd56fff9368901ac25f05
Add joystick history and range to hardware-test Adds a circle to indicate the expected joystick range. Adds history, allowing joystick motion to be visualised.
[ { "change_type": "MODIFY", "old_path": "examples/hardware-test/hardware-test.cpp", "new_path": "examples/hardware-test/hardware-test.cpp", "diff": "@@ -7,6 +7,8 @@ using namespace blit;\n#define SCREEN_WIDTH 160\n#define SCREEN_HEIGHT 120\n+std::vector<Point> joystick_history;\n+\nvoid init() {\nset...
C
MIT License
pimoroni/32blit-beta
Add joystick history and range to hardware-test Adds a circle to indicate the expected joystick range. Adds history, allowing joystick motion to be visualised.
510,640
25.09.2020 11:43:16
-3,600
2a4b996b8c7544e231928cbf4ff63615d3edda5a
Correct noise waveform for
[ { "change_type": "MODIFY", "old_path": "32blit/audio/audio.cpp", "new_path": "32blit/audio/audio.cpp", "diff": "@@ -67,7 +67,7 @@ namespace blit {\nif(channel.waveform_offset & 0b10000) {\n// if the waveform offset overflows then generate a new\n// random noise sample\n- channel.noise = (rand() & 0x...
C
MIT License
pimoroni/32blit-beta
Correct noise waveform for #351
510,640
23.09.2020 22:13:37
-3,600
383f4098799e6650e4bb4a60e3cadedfcc35eb5c
Add support for LIS3DH accelerometer This changeset adds basic XYZ support for the LIS3DH on the latest board spin. A new CMake option has been added - BETA_32BLIT - to build the project for beta users. Beta users must run cmake with -DBETA_32BLIT=on to compile with MSA301 accelerometer support.
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/CMakeLists.txt", "new_path": "32blit-stm32/CMakeLists.txt", "diff": "@@ -73,6 +73,7 @@ list(APPEND SOURCES\nSrc/hrtim.c\nSrc/i2c.c\nSrc/i2c-msa301.c\n+ Src/i2c-lis3dh.c\nSrc/i2c-bq24295.c\nSrc/quadspi.c\nSrc/spi.c\n@@ -137,6 +138,15 @@ target_incl...
C
MIT License
pimoroni/32blit-beta
Add support for LIS3DH accelerometer This changeset adds basic XYZ support for the LIS3DH on the latest board spin. A new CMake option has been added - BETA_32BLIT - to build the project for beta users. Beta users must run cmake with -DBETA_32BLIT=on to compile with MSA301 accelerometer support.
510,640
28.09.2020 22:54:43
-3,600
ea80580c6a53d9147a04e73003f47b41d884fdc2
Add directory browsing to game list This is a little rough around the edges but should expand the firmware to enable switching between game lists in top level directories. Flash content is currently appended as a fake directory called FLASH... don't make a directory with this name, it might explode!
[ { "change_type": "MODIFY", "old_path": "firmware/firmware.cpp", "new_path": "firmware/firmware.cpp", "diff": "@@ -34,7 +34,12 @@ struct GameInfo {\nuint32_t offset; // in in flash\n};\n+std::string current_directory = \"/\";\nstd::vector<GameInfo> flash_games, sd_games;\n+std::vector<std::string> di...
C
MIT License
pimoroni/32blit-beta
Add directory browsing to game list This is a little rough around the edges but should expand the firmware to enable switching between game lists in top level directories. Flash content is currently appended as a fake directory called FLASH... don't make a directory with this name, it might explode!
510,640
30.09.2020 12:17:29
-3,600
09c53436241087d4f605fda72952651ef6a26b42
Auto-detect blit version
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/CMakeLists.txt", "new_path": "32blit-stm32/CMakeLists.txt", "diff": "@@ -138,15 +138,6 @@ target_include_directories(BlitHalSTM32\n${INCLUDE_DIRS}\n)\n-OPTION(BETA_32BLIT \"Build for 32blit beta unit compatibility (MSA301 accelerometer)\" OFF)\n-\...
C
MIT License
pimoroni/32blit-beta
Auto-detect blit version
510,640
30.09.2020 12:34:43
-3,600
f168304bc5366f06b1e09e22582babdb04e70e53
Only init appropriate accelerometer
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.cpp", "new_path": "32blit-stm32/Src/32blit.cpp", "diff": "@@ -361,8 +361,11 @@ void blit_init() {\nDWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk;\nf_mount(&filesystem, \"\", 1); // this shouldn't be necessary here right?\n+ if(is_beta_unit){\nmsa...
C
MIT License
pimoroni/32blit-beta
Only init appropriate accelerometer
510,640
30.09.2020 14:03:35
-3,600
1e09c291d54e2f64d7fce94bb41031069c88597c
Tidy up device detection
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.cpp", "new_path": "32blit-stm32/Src/32blit.cpp", "diff": "@@ -57,6 +57,7 @@ RunningAverage<float> battery_average(8);\nfloat battery = 0.0f;\nuint8_t battery_status = 0;\nuint8_t battery_fault = 0;\n+uint16_t accel_address = LIS3DH_DEVI...
C
MIT License
pimoroni/32blit-beta
Tidy up device detection
510,640
30.09.2020 14:18:08
-3,600
92ac20c711aa4fb58c2c92ff2b32c0254785e849
Correct tilt polarity
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.cpp", "new_path": "32blit-stm32/Src/32blit.cpp", "diff": "@@ -268,11 +268,19 @@ void blit_i2c_tick() {\naccel_y.add(((int8_t)i2c_buffer[3] << 6) | (i2c_buffer[2] >> 2));\naccel_z.add(((int8_t)i2c_buffer[5] << 6) | (i2c_buffer[4] >> 2));...
C
MIT License
pimoroni/32blit-beta
Correct tilt polarity
510,640
01.10.2020 22:45:09
-3,600
57c5dabc0a4f61fce552db805f861c123d0356f4
Add tween demo to Visual Studio
[ { "change_type": "MODIFY", "old_path": "vs/32blit.sln", "new_path": "vs/32blit.sln", "diff": "@@ -155,6 +155,8 @@ Project(\"{2150E333-8FDC-42A3-9474-1A3956D46DE8}\") = \"tools\", \"tools\", \"{FA5CCE8B\nEndProject\nProject(\"{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\") = \"voxel\", \"examples\\voxel\\v...
C
MIT License
pimoroni/32blit-beta
Add tween demo to Visual Studio
510,640
02.10.2020 19:53:48
-3,600
c550eb7628eb6d7e548b915b517d7ad3a3b9e8ef
Change audio random noise generator to LFSR This sets up a crude custom linear feedback shift register to produce psuedo random numbers of the noise waveform. Should be consistent across platforms, fast and - most importantly - wont trample blit::random() in an interrupt and cause games using it to freeze.
[ { "change_type": "MODIFY", "old_path": "32blit/audio/audio.cpp", "new_path": "32blit/audio/audio.cpp", "diff": "namespace blit {\n+ uint32_t prng_lfsr = 0x32B71700;\n+ constexpr uint16_t prng_tap = 0x74b8;\n+\n+ uint32_t prng_lfsr_next() {\n+ uint8_t lsb = prng_lfsr & 1;\n+ prng_lfsr >>= 1;\n+\n+ if...
C
MIT License
pimoroni/32blit-beta
Change audio random noise generator to LFSR This sets up a crude custom linear feedback shift register to produce psuedo random numbers of the noise waveform. Should be consistent across platforms, fast and - most importantly - wont trample blit::random() in an interrupt and cause games using it to freeze.
510,640
02.10.2020 16:40:44
-3,600
4f440f21b9e9c41e24a92575f46fd9dc97297fcf
Add hardware-test metadata
[ { "change_type": "MODIFY", "old_path": "examples/hardware-test/CMakeLists.txt", "new_path": "examples/hardware-test/CMakeLists.txt", "diff": "@@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.8)\nproject (hardware-test)\ninclude (../../32blit.cmake)\nblit_executable (hardware-test hardware-test.cpp)\...
C
MIT License
pimoroni/32blit-beta
Add hardware-test metadata
510,640
02.10.2020 16:51:37
-3,600
8d6ffb5234bc513768430bff771e352f3422b470
Forgot metadata.yml again...
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/hardware-test/metadata.yml", "diff": "+title: Hardware Test\n+description: A test of 32Blit's inputs and outputs.\n+author: pimoroni\n+splash:\n+ file: hardware-test.png\n+icon:\n+ file: hardware-test-icon.png\n+version: v1.0.0\n\\ No n...
C
MIT License
pimoroni/32blit-beta
Forgot metadata.yml again...
510,640
02.10.2020 17:23:42
-3,600
b604495f6bd77ccd157f1164582c6626eec5deef
Add rainbow ascent metadata
[ { "change_type": "MODIFY", "old_path": "examples/scrolly-tile/CMakeLists.txt", "new_path": "examples/scrolly-tile/CMakeLists.txt", "diff": "@@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.8)\nproject (scrolly-tile)\ninclude (../../32blit.cmake)\nblit_executable (scrolly-tile scrolly-tile.cpp)\n+bli...
C
MIT License
pimoroni/32blit-beta
Add rainbow ascent metadata
510,640
06.10.2020 17:00:30
-3,600
fd884f384ed941b76aab38b15f3dd98016f5d819
Anotheher World metadata
[ { "change_type": "MODIFY", "old_path": "examples/another-world/CMakeLists.txt", "new_path": "examples/another-world/CMakeLists.txt", "diff": "@@ -2,3 +2,5 @@ cmake_minimum_required(VERSION 3.8)\nproject (another-world)\ninclude (../../32blit.cmake)\nblit_executable (another-world another-world.cpp v...
C
MIT License
pimoroni/32blit-beta
Anotheher World metadata
510,640
06.10.2020 17:30:18
-3,600
1aec66a616ed7c885914f4fe547e164e89237ba9
Serial debug metadata
[ { "change_type": "MODIFY", "old_path": "examples/serial-debug/CMakeLists.txt", "new_path": "examples/serial-debug/CMakeLists.txt", "diff": "@@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.8)\nproject (serial-debug)\ninclude (../../32blit.cmake)\nblit_executable (serial-debug serial-debug.cpp)\n+bli...
C
MIT License
pimoroni/32blit-beta
Serial debug metadata
510,640
06.10.2020 17:59:17
-3,600
d6a3f67e19a5e4bed50301bbaa64ab49fde5be8e
SHMUP mmetadata
[ { "change_type": "MODIFY", "old_path": "examples/shmup/CMakeLists.txt", "new_path": "examples/shmup/CMakeLists.txt", "diff": "@@ -3,3 +3,4 @@ project (shmup)\ninclude (../../32blit.cmake)\nblit_executable (shmup shmup.cpp)\nblit_assets_yaml(shmup assets.yml)\n+blit_metadata(shmup metadata.yml)\n" ...
C
MIT License
pimoroni/32blit-beta
SHMUP mmetadata
510,640
01.11.2020 12:24:56
0
c59734c25c313eae1409d87db4439558dfb87f9b
Add tilt and tunnel metadata
[ { "change_type": "MODIFY", "old_path": "examples/tilt/CMakeLists.txt", "new_path": "examples/tilt/CMakeLists.txt", "diff": "@@ -2,3 +2,4 @@ cmake_minimum_required(VERSION 3.8)\nproject (tilt)\ninclude (../../32blit.cmake)\nblit_executable (tilt tilt.cpp)\n+blit_metadata (tilt metadata.yml)\n" }, ...
C
MIT License
pimoroni/32blit-beta
Add tilt and tunnel metadata
510,640
04.11.2020 23:04:15
0
bfa9257bb2aa48f018479e5c9430e1dc3e20ae2f
Add tween demo metadata.yml
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/tween-demo/metadata.yml", "diff": "+title: Tween Demo\n+description: A simple demo of tween functions.\n+author: pimoroni\n+splash:\n+ file: ../no-image.png\n+icon:\n+ file: ../no-icon.png\n+version: v1.0.0\n\\ No newline at end of file...
C
MIT License
pimoroni/32blit-beta
Add tween demo metadata.yml
510,640
09.11.2020 20:17:56
0
3a6bc4a6cd7c336521c69d0dfffeb4652c7c52ba
Fix author as mentioned in pimoroni/32blit-tools#33
[ { "change_type": "MODIFY", "old_path": "examples/jpeg/metadata.yml", "new_path": "examples/jpeg/metadata.yml", "diff": "title: JPEG\ndescription: A JPEG decoder demo.\n-author: pimoroni\n+author: daft-freak\nsplash:\nfile: ../no-image.png\nicon:\n" }, { "change_type": "MODIFY", "old_path...
C
MIT License
pimoroni/32blit-beta
Fix author as mentioned in pimoroni/32blit-tools#33
510,665
15.11.2020 15:47:22
0
30050b9d1b74e4895f800a7731c48bc6fc260fb6
Make SDL window title settable Added 32BLIT_SDL_TITLE value, to allow projects to override the default "CMake!" window title.
[ { "change_type": "MODIFY", "old_path": "32blit-sdl/CMakeLists.txt", "new_path": "32blit-sdl/CMakeLists.txt", "diff": "@@ -85,9 +85,13 @@ if(SDL2_IMAGE_DLL)\ninstall(FILES ${SDL2_IMAGE_DLL} DESTINATION bin)\nendif()\n+if(NOT 32BLIT_SDL_TITLE)\n+ set(32BLIT_SDL_TITLE CMake!)\n+endif()\n+\ntarget_compi...
C
MIT License
pimoroni/32blit-beta
Make SDL window title settable Added 32BLIT_SDL_TITLE value, to allow projects to override the default "CMake!" window title.
510,665
16.11.2020 11:12:31
0
3a5cc2888546ade3ab569d1a30b4aedd2b23ded7
Moved defaults from .cpp to .hpp so they're visible!
[ { "change_type": "MODIFY", "old_path": "32blit/engine/tweening.cpp", "new_path": "32blit/engine/tweening.cpp", "diff": "@@ -19,7 +19,7 @@ namespace blit {\n* @param duration Duration of the tween in milliseconds.\n* @param loops Number of times the tween should repeat, -1 = forever.\n*/\n- void Twee...
C
MIT License
pimoroni/32blit-beta
Moved defaults from .cpp to .hpp so they're visible!
510,665
16.11.2020 13:47:20
0
8f52ec4a83bb833838aab1e8f7411dbb9efbda17
Found some more defaults in timer.cpp
[ { "change_type": "MODIFY", "old_path": "32blit/engine/timer.cpp", "new_path": "32blit/engine/timer.cpp", "diff": "@@ -15,7 +15,7 @@ namespace blit {\n* @param duration Duration of the timer in milliseconds.\n* @param loops Number of times the timer should repeat, -1 = forever.\n*/\n- void Timer::ini...
C
MIT License
pimoroni/32blit-beta
Found some more defaults in timer.cpp
510,665
16.11.2020 14:01:31
0
83aa94b800fa55f714d7ace987d75627281337a5
Found some more defaults in map.cpp
[ { "change_type": "MODIFY", "old_path": "32blit/types/map.cpp", "new_path": "32blit/types/map.cpp", "diff": "@@ -47,7 +47,7 @@ namespace blit {\n}\n}\n- void MapLayer::texture_span(Surface *dest, Point s, uint16_t c, Surface *sprites, Vec2 swc, Vec2 ewc, uint8_t mipmap_index = 0) {\n+ void MapLayer::...
C
MIT License
pimoroni/32blit-beta
Found some more defaults in map.cpp
510,665
16.11.2020 15:59:30
0
093b70534a00eec09991affa758f70bdc4809b8c
Center narrow letters when being rendered in fixed width
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/text.cpp", "new_path": "32blit/graphics/text.cpp", "diff": "@@ -62,6 +62,7 @@ namespace blit {\nconst int char_size = font.char_w * height_bytes;\nsize_t char_off = 0;\n+ uint8_t fixwidth = 0;\nfor (char chr : message) {\n// draw character\n@@ ...
C
MIT License
pimoroni/32blit-beta
Center narrow letters when being rendered in fixed width
510,640
09.11.2020 18:21:07
0
db66c6fc17f4e37e2e3e1e40c6c01dc28792fecb
Load spritesheet from file
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/sprite.cpp", "new_path": "32blit/graphics/sprite.cpp", "diff": "#include \"surface.hpp\"\n#include \"sprite.hpp\"\n+#include \"../engine/file.hpp\"\n+\nusing namespace blit;\nnamespace blit {\n@@ -40,6 +42,26 @@ namespace blit {\nreturn new Spr...
C
MIT License
pimoroni/32blit-beta
Load spritesheet from file
510,640
09.11.2020 18:21:55
0
28c2ff359cb74fa2f160d656c28c3b678684ce8e
Load surface from file
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/surface.cpp", "new_path": "32blit/graphics/surface.cpp", "diff": "@@ -42,7 +42,7 @@ namespace blit {\n*\n* \\param image\n*\n- * \\return `Surface` containng loaded data or `nullptr` if the image was invalid\n+ * \\return `Surface` containing l...
C
MIT License
pimoroni/32blit-beta
Load surface from file
510,640
10.11.2020 12:22:43
0
a6a1c7770731fabd6005bc6db6cadd0bbf09cb00
Arbitrary buffer support to file
[ { "change_type": "MODIFY", "old_path": "32blit/engine/file.cpp", "new_path": "32blit/engine/file.cpp", "diff": "@@ -102,6 +102,14 @@ namespace blit {\nreturn api.remove_file(path);\n}\n+ bool File::open(const uint8_t *buf, uint32_t buf_len) {\n+ close();\n+\n+ this->buf = buf;\n+ this->buf_len = buf...
C
MIT License
pimoroni/32blit-beta
Arbitrary buffer support to file
510,640
12.11.2020 23:26:28
0
09d51dbf6644b3121c1366faeadc33df832c1d5f
Fix and simplify loading packed surface from file Thanks for the File::open overload that lets us simplify load_from_packed. TODO: Figure out why "delete[] bytes;" causes bad times
[ { "change_type": "MODIFY", "old_path": "32blit/engine/file.hpp", "new_path": "32blit/engine/file.hpp", "diff": "@@ -66,7 +66,7 @@ namespace blit {\n}\nbool open(const std::string &file, int mode = OpenMode::read);\n- bool File::open(const uint8_t *buf, uint32_t buf_len);\n+ bool open(const uint8_t *...
C
MIT License
pimoroni/32blit-beta
Fix and simplify loading packed surface from file Thanks @daft-freak for the File::open overload that lets us simplify load_from_packed. TODO: Figure out why "delete[] bytes;" causes bad times
510,640
12.11.2020 23:41:33
0
065c8b25f1184a62fb03462adc24549adc020709
Fixed bytes delete
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/surface.cpp", "new_path": "32blit/graphics/surface.cpp", "diff": "@@ -649,8 +649,9 @@ namespace blit {\npalette = nullptr;\n}\n- //if(!file.get_ptr())\n- // delete[] bytes;\n+ if (!file.get_ptr()) {\n+ delete[] (uint8_t*)(bytes - image.byte_cou...
C
MIT License
pimoroni/32blit-beta
Fixed bytes delete
510,640
16.11.2020 21:02:30
0
7d46e3ce6060971c80554e9fa2b6da1228921a68
Tidy up bytes and var deletion
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/surface.cpp", "new_path": "32blit/graphics/surface.cpp", "diff": "@@ -597,22 +597,22 @@ namespace blit {\n}\n// avoid allocating if in flash\n- const uint8_t *bytes, *end;\n+ const uint8_t *image_data, *end;\nif(file.get_ptr())\n- bytes = file....
C
MIT License
pimoroni/32blit-beta
Tidy up bytes and var deletion
510,665
17.11.2020 12:47:42
0
d85bde827793886100282cc12a22f2b798a0dd54
Consolidated things as per suggestion :)
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/text.cpp", "new_path": "32blit/graphics/text.cpp", "diff": "@@ -62,7 +62,7 @@ namespace blit {\nconst int char_size = font.char_w * height_bytes;\nsize_t char_off = 0;\n- uint8_t fixwidth = 0;\n+\nfor (char chr : message) {\n// draw character\n...
C
MIT License
pimoroni/32blit-beta
Consolidated things as per suggestion :)
510,640
10.09.2020 20:53:00
-3,600
9d764e6f96fa4fe2b07b8834b126c275dad3598f
Bring up system status/power LED
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/gpio_defs.h", "new_path": "32blit-stm32/Inc/gpio_defs.h", "diff": "#define VIBE_EN_GPIO_Port GPIOB\n#define VERSION_Pin GPIO_PIN_3\n#define VERSION_GPIO_Port GPIOE\n+#define LED_CHG_RED_Pin GPIO_PIN_12\n+#define LED_CHG_RED_Port GPIOC\n+#defin...
C
MIT License
pimoroni/32blit-beta
Bring up system status/power LED
510,640
02.12.2020 22:45:38
0
9f360fc71520720b09d6be66c304eef04899db38
Make sdl2-config.cmake auto-fetch libraries
[ { "change_type": "MODIFY", "old_path": "vs/sdl/sdl2-config.cmake", "new_path": "vs/sdl/sdl2-config.cmake", "diff": "+function(fetch_sdl2_library directory url filename hash)\n+ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/${filename})\n+ message(STATUS \"Downloading ${url}\")\n+ file(DOWNLOAD ${url}${fil...
C
MIT License
pimoroni/32blit-beta
Make sdl2-config.cmake auto-fetch libraries
510,640
02.12.2020 23:12:41
0
3f3ad8c86f62f9e2e1e8a083e5b8130b40d3b8e0
Add images and accompany detail to docs
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Firmware.md", "new_path": "docs/32Blit-Firmware.md", "diff": "@@ -53,6 +53,8 @@ make firmware\nTo enter DFU mode either hold the X & Y buttons and press the reset button or select `dfu mode` from the on device menu. The screen will go dark, this is...
C
MIT License
pimoroni/32blit-beta
Add images and accompany detail to docs
510,640
04.12.2020 22:19:10
0
c9ee8e8937fb74c225ff37944d2a9b76daf17bdb
Fix file hash and show download filename
[ { "change_type": "MODIFY", "old_path": "vs/sdl/sdl2-config.cmake", "new_path": "vs/sdl/sdl2-config.cmake", "diff": "function(fetch_sdl2_library directory url filename hash)\nif(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/${filename})\n- message(STATUS \"Downloading ${url}\")\n+ message(STATUS \"Downloading...
C
MIT License
pimoroni/32blit-beta
Fix file hash and show download filename
510,640
08.12.2020 15:43:46
0
476052b93c3bef84ed1ffc971f2c114c3a8efe9b
Fix silly broken hack to get sprite size
[ { "change_type": "MODIFY", "old_path": "examples/palette-swap/palette-swap.cpp", "new_path": "examples/palette-swap/palette-swap.cpp", "diff": "using namespace blit;\n-Size boar_ship_size(boar_ship[10], boar_ship[12]);\n-\n-/*uint8_t __ss[64 * 64];\n-surface ss((uint8_t *)__ss, boar_ship_size, pixel...
C
MIT License
pimoroni/32blit-beta
Fix silly broken hack to get sprite size
510,640
08.12.2020 18:46:53
0
6da0544da1bb927b0b1ca6fdd1f127cd64f4c7e1
Fix the compare to find .blit
[ { "change_type": "MODIFY", "old_path": "firmware/firmware.cpp", "new_path": "firmware/firmware.cpp", "diff": "@@ -155,13 +155,13 @@ void load_file_list(std::string directory) {\nif(file.flags & blit::FileFlags::directory)\ncontinue;\n- if(file.name.length() < 4)\n+ if(file.name.length() < 6) // mini...
C
MIT License
pimoroni/32blit-beta
Fix the compare to find .blit
510,640
08.12.2020 22:32:43
0
4aef08d07bacc152e2ea0bed5bb053d3b7374ba1
Validate version of 32blit tools
[ { "change_type": "MODIFY", "old_path": "32blit.cmake", "new_path": "32blit.cmake", "diff": "@@ -7,10 +7,17 @@ if (NOT DEFINED BLIT_ONCE)\nfind_package(PythonInterp 3.6 REQUIRED)\n# make sure that the tools are installed\n- execute_process(COMMAND ${PYTHON_EXECUTABLE} -c \"import ttblit\" RESULT_VARI...
C
MIT License
pimoroni/32blit-beta
Validate version of 32blit tools
510,640
08.12.2020 22:34:33
0
9e68c096e5e1a8c478554f6ce69b030a023b3c81
Make min tools version a var
[ { "change_type": "MODIFY", "old_path": "32blit.cmake", "new_path": "32blit.cmake", "diff": "@@ -3,6 +3,7 @@ if (NOT DEFINED BLIT_ONCE)\nset(CMAKE_CXX_STANDARD 17)\nset(CMAKE_CXX_EXTENSIONS OFF)\n+ set(BLIT_MINIMUM_TOOLS_VERSION \"0.2.0\")\nfind_package(PythonInterp 3.6 REQUIRED)\n@@ -16,8 +17,8 @@ i...
C
MIT License
pimoroni/32blit-beta
Make min tools version a var
510,640
08.12.2020 23:16:14
0
2125ec8d7af4db0e0387ff226d1a389886cfa1e2
Add mp3 example demo file and metadata
[ { "change_type": "MODIFY", "old_path": "examples/mp3/CMakeLists.txt", "new_path": "examples/mp3/CMakeLists.txt", "diff": "@@ -3,3 +3,4 @@ project (mp3)\ninclude (../../32blit.cmake)\nblit_executable (mp3 mp3.cpp)\nblit_assets_yaml (mp3 assets.yml)\n+blit_metadata (mp3 metadata.yml)\n" }, { "...
C
MIT License
pimoroni/32blit-beta
Add mp3 example demo file and metadata
510,651
09.12.2020 20:04:24
0
d79e356da8762f6db1a9d2d41fd347143886e398
Joystick support in loader Add joystick control for scrolling the game list
[ { "change_type": "MODIFY", "old_path": "firmware/firmware.cpp", "new_path": "firmware/firmware.cpp", "diff": "@@ -441,8 +441,8 @@ void update(uint32_t time) {\nbool button_down = buttons.pressed & Button::DPAD_DOWN;\nif(time - lastRepeat > 150 || button_up || button_down) {\n- button_up = buttons & ...
C
MIT License
pimoroni/32blit-beta
Joystick support in loader Add joystick control for scrolling the game list
510,651
09.12.2020 20:15:02
0
38ceca02226ec405d2de6883fc75376242a61778
Display version info Show version info from metadata, instead of number of blocks.
[ { "change_type": "MODIFY", "old_path": "firmware/firmware.cpp", "new_path": "firmware/firmware.cpp", "diff": "@@ -393,12 +393,7 @@ void render(uint32_t time) {\nscreen.text(wrapped_desc, minimal_font, desc_rect);\nscreen.text(selected_game_metadata.author, minimal_font, Point(172, 208));\n-\n- int n...
C
MIT License
pimoroni/32blit-beta
Display version info Show version info from metadata, instead of number of blocks.
510,660
10.12.2020 10:49:52
-28,800
8dcf3d0c5b35ce3d236d468c7b3d92501bbe3f95
fixed the reg mask bug current version's bit mask on DMA2D->CR and FGPFCCR etc. al are 16bit and not correct. Now fixed with correct one
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/display.cpp", "new_path": "32blit-stm32/Src/display.cpp", "diff": "@@ -96,15 +96,15 @@ namespace display {\nSCB_CleanInvalidateDCache_by_Addr((uint32_t *)(source.data), 320 * 240 * 3);\n// set the transform type (clear bits 17..16 of control r...
C
MIT License
pimoroni/32blit-beta
fixed the reg mask bug current version's bit mask on DMA2D->CR and FGPFCCR etc. al are 16bit and not correct. Now fixed with correct one
510,640
11.12.2020 18:36:54
0
186cd68e672ebefbfc2698c08ff801633f260895
Output status for each example, cmake was too quiet
[ { "change_type": "MODIFY", "old_path": "32blit-sdl/CMakeLists.txt", "new_path": "32blit-sdl/CMakeLists.txt", "diff": "@@ -116,6 +116,7 @@ if(DEFINED VIDEO_CAPTURE AND VIDEO_CAPTURE)\nendif()\nfunction(blit_executable NAME SOURCES)\n+ message(STATUS \"Processing ${NAME}\")\nadd_executable(${NAME} MAC...
C
MIT License
pimoroni/32blit-beta
Output status for each example, cmake was too quiet
510,640
11.12.2020 18:37:27
0
4d1a175aea2ce7cd1d56c33171fbf3dde6854f0c
Error on no unzip, quieter download message
[ { "change_type": "MODIFY", "old_path": "32blit.toolchain", "new_path": "32blit.toolchain", "diff": "@@ -44,11 +44,24 @@ set(CMAKE_CXX_FLAGS_DEBUG_INIT \"-g -Og\")\nset(CMAKE_EXE_LINKER_FLAGS_INIT \"-specs=nosys.specs -Wl,--gc-sections,--no-wchar-size-warning\")\n# stdlibs\n+set(STDLIB_HASHTYPE \"SHA...
C
MIT License
pimoroni/32blit-beta
Error on no unzip, quieter download message
510,640
11.12.2020 19:42:48
0
17dd7b387179625034d14b1289163695175e274b
Add LICENSE/README to dist
[ { "change_type": "MODIFY", "old_path": "32blit.cmake", "new_path": "32blit.cmake", "diff": "@@ -29,6 +29,11 @@ if (NOT DEFINED BLIT_ONCE)\nadd_definitions(\"-DWIN32\")\nendif()\n+ install(DIRECTORY\n+ ${CMAKE_CURRENT_LIST_DIR}/dist/\n+ DESTINATION bin\n+ )\n+\nadd_subdirectory(${CMAKE_CURRENT_LIST_D...
C
MIT License
pimoroni/32blit-beta
Add LICENSE/README to dist
510,640
11.12.2020 21:48:20
0
8da859a3574b13add033780b72ca7f1758f34b20
Move dist install to CMakeLists
[ { "change_type": "MODIFY", "old_path": "32blit.cmake", "new_path": "32blit.cmake", "diff": "@@ -29,11 +29,6 @@ if (NOT DEFINED BLIT_ONCE)\nadd_definitions(\"-DWIN32\")\nendif()\n- install(DIRECTORY\n- ${CMAKE_CURRENT_LIST_DIR}/dist/\n- DESTINATION bin\n- )\n-\nadd_subdirectory(${CMAKE_CURRENT_LIST_D...
C
MIT License
pimoroni/32blit-beta
Move dist install to CMakeLists
510,640
11.12.2020 22:10:39
0
2ecedde521279f7703ab62b38d9f0aef586b9443
Add block back into game info
[ { "change_type": "MODIFY", "old_path": "firmware/firmware.cpp", "new_path": "firmware/firmware.cpp", "diff": "@@ -392,8 +392,13 @@ void render(uint32_t time) {\nstd::string wrapped_desc = screen.wrap_text(selected_game_metadata.description, desc_rect.w, minimal_font);\nscreen.text(wrapped_desc, mini...
C
MIT License
pimoroni/32blit-beta
Add block back into game info
510,640
11.12.2020 22:10:52
0
1403c4e86792844303335983c9d8ba407b537e8e
Clip text in game list
[ { "change_type": "MODIFY", "old_path": "firmware/firmware.cpp", "new_path": "firmware/firmware.cpp", "diff": "@@ -360,6 +360,7 @@ void render(uint32_t time) {\nif(!game_list.empty()) {\nconst int size_x = 115;\n+ screen.clip = Rect(10, 0, 90, 240);\nfor(auto &file : game_list) {\nif(i++ == persist.s...
C
MIT License
pimoroni/32blit-beta
Clip text in game list
510,640
12.12.2020 00:45:06
0
ac600d2234abd7526d986cc86a3eddcae7fa2f8e
Add reliable d-pad/joystick repeat in game menu
[ { "change_type": "MODIFY", "old_path": "firmware/firmware.cpp", "new_path": "firmware/firmware.cpp", "diff": "@@ -433,21 +433,53 @@ void update(uint32_t time) {\nif(state == stFlashFile)\n{\n- static uint32_t lastRepeat = 0;\n-\nbool button_a = buttons.released & Button::A;\nbool button_x = buttons....
C
MIT License
pimoroni/32blit-beta
Add reliable d-pad/joystick repeat in game menu
510,640
17.12.2020 22:09:13
0
555cfb6179955f7301df058d99e93b8b32dac9b2
Clean up defunct timer 16 setup
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/tim.h", "new_path": "32blit-stm32/Inc/tim.h", "diff": "/* USER CODE END Includes */\n-extern TIM_HandleTypeDef htim16;\nextern TIM_HandleTypeDef htim2;\nextern TIM_HandleTypeDef htim3;\nextern TIM_HandleTypeDef htim4;\n" }, { "change_t...
C
MIT License
pimoroni/32blit-beta
Clean up defunct timer 16 setup
510,640
17.12.2020 22:38:57
0
72db35d89c4f8b23005bc8203fb08f0be9faa43b
Remove redundant charge_led_counter
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/main.h", "new_path": "32blit-stm32/Inc/main.h", "diff": "@@ -55,7 +55,6 @@ extern \"C\" {\nvoid Error_Handler(void);\n-extern uint8_t charge_led_counter;\nextern uint8_t charge_led_r;\nextern uint8_t charge_led_g;\nextern uint8_t charge_led_b;...
C
MIT License
pimoroni/32blit-beta
Remove redundant charge_led_counter
510,640
18.12.2020 22:14:55
0
38b7bc367f78415d21a8278c5bbce98dd77ed6ed
Fix platformer to feel something like a game
[ { "change_type": "MODIFY", "old_path": "examples/platformer/platformer.cpp", "new_path": "examples/platformer/platformer.cpp", "diff": "@@ -50,13 +50,19 @@ float clamp(float v, float min, float max) {\nstruct Player {\nVec2 vel;\nVec2 pos;\n+ Size size;\nbool flip = false;\n- enum {\n+ enum State {\...
C
MIT License
pimoroni/32blit-beta
Fix platformer to feel something like a game
510,640
18.12.2020 22:27:34
0
6ddca769f01f9f93ebe895727387985903d761e7
Remove more debug stuff
[ { "change_type": "MODIFY", "old_path": "examples/platformer/platformer.cpp", "new_path": "examples/platformer/platformer.cpp", "diff": "@@ -279,13 +279,12 @@ struct Player {\nscreen.sprite(si - 16, sp, flip);\n+ /*\nRect bb = aabb();\nscreen.pen = Pen(0, 255, 0);\nscreen.line(world_to_screen(bb.tl()...
C
MIT License
pimoroni/32blit-beta
Remove more debug stuff
510,640
18.12.2020 23:39:46
0
bb82f27a4c55a48b85b4087e560dcffd09fef051
Add version info, thanks
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.cpp", "new_path": "32blit-stm32/Src/32blit.cpp", "diff": "#include \"graphics/color.hpp\"\n#include \"engine/running_average.hpp\"\n#include \"engine/menu.hpp\"\n+#include \"engine/version.hpp\"\n#include \"stdarg.h\"\nusing namespace b...
C
MIT License
pimoroni/32blit-beta
Add version info, thanks @Daft-Freak
510,643
22.12.2020 21:00:39
-7,200
d4df2e6bb621f7b6512a80c6323cecdb1ca79666
Added information if DFU mode device does not show up in Windows
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Firmware.md", "new_path": "docs/32Blit-Firmware.md", "diff": "@@ -11,6 +11,7 @@ This repository includes firmware for the 32Blit that lets you manage games on S\n- [Windows](#windows)\n- [Troubleshooting](#troubleshooting)\n- [Finding The Right DFU...
C
MIT License
pimoroni/32blit-beta
Added information if DFU mode device does not show up in Windows
510,643
23.12.2020 16:45:06
-7,200
68c21149a52b5580e9223d59b026dce5cb2b1056
Fixed: holding the menu button will not queue exit event if user code is not running
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.cpp", "new_path": "32blit-stm32/Src/32blit.cpp", "diff": "@@ -771,7 +771,7 @@ void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc) {\nvoid HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {\nif(htim == &htim2) {\nbool pressed = ...
C
MIT License
pimoroni/32blit-beta
Fixed: holding the menu button will not queue exit event if user code is not running
510,643
23.12.2020 17:19:31
-7,200
6e2663ec4c06c9c9345bf3c938b0ee8651cf7199
Changed the comment to better align with the code
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.cpp", "new_path": "32blit-stm32/Src/32blit.cpp", "diff": "@@ -771,7 +771,7 @@ void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc) {\nvoid HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {\nif(htim == &htim2) {\nbool pressed = ...
C
MIT License
pimoroni/32blit-beta
Changed the comment to better align with the code