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,640
04.02.2020 23:06:34
0
4b166f80d3ca38a59ff1b01a77a1753868faf97b
Audio filtering and readaibility tweaks Added a rudimentary and probably non-functional low-pass filter. Converted all instances of hexadecimal numbers in addition/subtraction to decimal, lack of readaibility was masking incorrect assumptions about the range of an int16.
[ { "change_type": "MODIFY", "old_path": "32blit/32blit.hpp", "new_path": "32blit/32blit.hpp", "diff": "#undef M_PI\n#define M_PI 3.14159265358979323846f /* pi */\n+constexpr float pi = 3.14159265358979323846f;\n+\n#ifdef TARGET_32BLIT_HW\n#define __SECTION__(S) __attribute__((section(S)))\n" }, {...
C
MIT License
pimoroni/32blit-beta
Audio filtering and readaibility tweaks Added a rudimentary and probably non-functional low-pass filter. Converted all instances of hexadecimal numbers in addition/subtraction to decimal, lack of readaibility was masking incorrect assumptions about the range of an int16.
510,640
04.02.2020 23:11:35
0
681b97b1abcbca4f8263ebbbccc842f24f16e739
Fix rogue AND for sine voice, swap pi for math_pi
[ { "change_type": "MODIFY", "old_path": "32blit/32blit.hpp", "new_path": "32blit/32blit.hpp", "diff": "#undef M_PI\n#define M_PI 3.14159265358979323846f /* pi */\n-constexpr float pi = 3.14159265358979323846f;\n+constexpr float math_pi = 3.14159265358979323846f;\n#ifdef TARGET_32BLIT_HW\n" }, { ...
C
MIT License
pimoroni/32blit-beta
Fix rogue AND for sine voice, swap pi for math_pi
510,640
05.02.2020 12:47:46
0
f76114d2329d26a39ca9782632cd572fb7221ea0
Fix default square width
[ { "change_type": "MODIFY", "old_path": "32blit/engine/audio.hpp", "new_path": "32blit/engine/audio.hpp", "diff": "@@ -70,7 +70,7 @@ namespace blit {\nuint16_t decay_ms = 6; // decay period\nuint16_t sustain = 0xffff; // sustain volume\nuint16_t release_ms = 1; // release period\n- uint16_t pulse_wid...
C
MIT License
pimoroni/32blit-beta
Fix default square width
510,640
05.02.2020 13:01:56
0
5631e8dca896162b61ad24020d89e90854b70c9c
Fix build-breaking line-continuation
[ { "change_type": "MODIFY", "old_path": "32blit/engine/audio.cpp", "new_path": "32blit/engine/audio.cpp", "diff": "@@ -70,7 +70,7 @@ namespace blit {\nwaveform_count++;\n}\n- // creates a triangle wave of /\\\n+ // creates a triangle wave of ^\nif (channel.waveforms & Waveform::TRIANGLE) {\nif (chann...
C
MIT License
pimoroni/32blit-beta
Fix build-breaking line-continuation
510,661
05.02.2020 15:20:00
0
dd5de7889662f37ac64d2931e21a7e10924c6d05
Fixed APPLE build of 32Blit binary
[ { "change_type": "MODIFY", "old_path": "tools/src/32Blit.cpp", "new_path": "tools/src/32Blit.cpp", "diff": "@@ -299,7 +299,7 @@ std::string GuessPortName()\nreturn \"\";\nio_object_t portService;\n- char devicePath[1024]{};\n+ char devicePath[1024];\nbool found = false;\nwhile((portService = IOItera...
C
MIT License
pimoroni/32blit-beta
Fixed APPLE build of 32Blit binary
510,640
05.02.2020 16:09:14
0
928dea6f7fdda9d365232de4548a3d8369817c4a
Initialise devicePath
[ { "change_type": "MODIFY", "old_path": "tools/src/32Blit.cpp", "new_path": "tools/src/32Blit.cpp", "diff": "@@ -299,7 +299,7 @@ std::string GuessPortName()\nreturn \"\";\nio_object_t portService;\n- char devicePath[1024];\n+ char devicePath[1024] = {};\nbool found = false;\nwhile((portService = IOIt...
C
MIT License
pimoroni/32blit-beta
Initialise devicePath
510,640
05.02.2020 16:25:34
0
b8fa999e36e692df257f18570bfd58bfb0157111
Detect 32Blit.exe flash tool if 32Blit not found
[ { "change_type": "MODIFY", "old_path": "32blit.cmake", "new_path": "32blit.cmake", "diff": "@@ -16,8 +16,14 @@ if (NOT DEFINED BLIT_ONCE)\n# attempt to find the upload tool\nfind_program(32BLIT_TOOL 32Blit PATHS\n${CMAKE_CURRENT_BINARY_DIR}/../build/tools/src/\n+ )\n+\n+ if(NOT 32BLIT_TOOL)\n+ messa...
C
MIT License
pimoroni/32blit-beta
Detect 32Blit.exe flash tool if 32Blit not found
510,648
05.02.2020 19:35:21
0
9249fb2bc7817cb0e32c2a45efdfb5da0633bf7c
Add missing waveform_count++
[ { "change_type": "MODIFY", "old_path": "32blit/engine/audio.cpp", "new_path": "32blit/engine/audio.cpp", "diff": "@@ -95,13 +95,13 @@ namespace blit {\n}\nif(channel.waveforms & Waveform::WAVE) {\n-\n- channel.waveform_offset = channel.wave_buf_pos;\n+ channel.waveform_offset = channel.wave_buf_pos;...
C
MIT License
pimoroni/32blit-beta
Add missing waveform_count++
510,648
05.02.2020 19:46:59
0
c1594f42c1be9785ed10e5577658cc85f67f8774
Replace shorthanded if/else for bracketed.
[ { "change_type": "MODIFY", "old_path": "examples/audio-wave/audio-wave.cpp", "new_path": "examples/audio-wave/audio-wave.cpp", "diff": "@@ -64,11 +64,12 @@ void buffCallBack() {\nchannels[0].wave_buffer[x] = (wavPos < wavSize) ? wavSample[wavPos] - 0x7f : 0;\n// As the engine is 22050Hz, we can time...
C
MIT License
pimoroni/32blit-beta
Replace shorthanded if/else for bracketed.
510,648
05.02.2020 20:01:23
0
65b2ce835e5ed079436e1ec430de202cbd9e7398
Correct callback name.
[ { "change_type": "MODIFY", "old_path": "examples/audio-wave/audio-wave.cpp", "new_path": "examples/audio-wave/audio-wave.cpp", "diff": "@@ -40,7 +40,7 @@ void init() {\n// Setup channel\nchannels[0].waveforms = Waveform::WAVE; // Set type to WAVE\nchannels[0].sustain = 0xffff; // Set sustain to max\...
C
MIT License
pimoroni/32blit-beta
Correct callback name.
510,652
05.02.2020 22:19:07
0
f6b461c724c5a2fe466e805a8c22a10cdecaf8ca
mac doesnt have wget
[ { "change_type": "MODIFY", "old_path": "docs/macOS.md", "new_path": "docs/macOS.md", "diff": "@@ -10,7 +10,7 @@ brew install cmake\nYou'll also need to build and install SDL2:\n``` shell\n-wget https://www.libsdl.org/release/SDL2-2.0.10.zip\n+curl https://www.libsdl.org/release/SDL2-2.0.10.zip -o SD...
C
MIT License
pimoroni/32blit-beta
mac doesnt have wget
510,654
06.02.2020 00:59:46
0
3698c360c5063e1fdcf76e0d1a2020a3d6b616ee
Blue LED is pin 5 of port B, not port C Pin 5 of port C is the joystick button and setting no pull-up on it causes it to float.
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/gpio.cpp", "new_path": "32blit-stm32/Src/gpio.cpp", "diff": "@@ -101,7 +101,7 @@ namespace gpio {\n// rgb led pwm\ninit_pin(GPIOC, LED_RED_Pin, GPIO_MODE_AF_PP, GPIO_NOPULL, GPIO_SPEED_FREQ_LOW, GPIO_AF2_TIM3); // red\ninit_pin(GPIOC, LED_GREE...
C
MIT License
pimoroni/32blit-beta
Blue LED is pin 5 of port B, not port C Pin 5 of port C is the joystick button and setting no pull-up on it causes it to float.
510,663
06.02.2020 11:12:43
0
685970e2405106270f7e09cb1ccb37dcf236d1f2
Add CMake gitignore.
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -349,3 +349,16 @@ hardware/Middlewares/\nhardware/STM32H750VBTx_FLASH.ld\nhardware/Src/\nhardware/startup_stm32h750xx.s\n+\n+#CMAKE from https://github.com/github/gitignore/blob/master/CMake.gitignore\n+CMakeL...
C
MIT License
pimoroni/32blit-beta
Add CMake gitignore.
510,640
06.02.2020 11:12:57
0
f5ef27c75a3ca5d8dc45f7720fe926d0699d394c
Documentation reshuffle There's a lot to say about the 32Blit Firmware and the Loader so I've split these out into their own documentation files.
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/32Blit-Firmware.md", "diff": "+# 32Blit Firmware\n+\n+This repository includes firmware for the 32Blit that lets you manage games on SD card, and copy or flash games via USB serial.\n+\n+In order to use it, you will need to:\n+\n+1. Build a...
C
MIT License
pimoroni/32blit-beta
Documentation reshuffle There's a lot to say about the 32Blit Firmware and the Loader so I've split these out into their own documentation files.
510,640
06.02.2020 13:37:22
0
41b02b79c82f072f4112295a3cd2e28dd94b4165
Add usage info for 32Blit tool
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Loader.md", "new_path": "docs/32Blit-Loader.md", "diff": "@@ -34,6 +34,16 @@ Since WSL can run this program directly you should ideally add this directory to\n## Usage\n+Usage: `32blit <process> <comport> <binfile>`\n+\n+* `process` - Either `_RST`...
C
MIT License
pimoroni/32blit-beta
Add usage info for 32Blit tool
510,640
06.02.2020 14:41:29
0
6a7be8e096a84a3ce0c84009461b54d1a9498a4c
Drop redundant XMing instructions
[ { "change_type": "MODIFY", "old_path": "docs/Windows-WSL.md", "new_path": "docs/Windows-WSL.md", "diff": "-# Building & Running on Win32 (WSL or MinGW)\n+# Building & Running on Win32 (WSL and MinGW)\n-These instructions assume a basic knowledge of the Linux command-line, installing tools and compil...
C
MIT License
pimoroni/32blit-beta
Drop redundant XMing instructions
510,640
06.02.2020 15:03:12
0
af77cf9962831e0813eb3c62e8ad06f62edaab45
More docs goodness
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Firmware.md", "new_path": "docs/32Blit-Firmware.md", "diff": "@@ -6,6 +6,14 @@ In order to use it, you will need to:\n1. Build and install the 32Blit firmware (if you don't have it already)\n2. Build the flash loader tool in `tools/src`\n+3. Flash ...
C
MIT License
pimoroni/32blit-beta
More docs goodness
510,640
06.02.2020 15:12:29
0
5f2fdbf85cb3dc94de4dc67fc388df67f1e1d7a1
Document dependencies for Linux, TODO: macOS
[ { "change_type": "MODIFY", "old_path": "docs/Linux.md", "new_path": "docs/Linux.md", "diff": "First install the required tools:\n```\n-apt-get install git cmake gcc g++ gcc-arm-none-eabi libsdl2-dev\n+sudo apt install git gcc g++ gcc-arm-none-eabi cmake make python3 python3-pip libsdl2-dev\n+pip3 in...
C
MIT License
pimoroni/32blit-beta
Document dependencies for Linux, TODO: macOS
510,640
06.02.2020 16:33:22
0
ed962cbb50ec4b3fbb40fba64767a0e8bd90563f
Crude SDL examples install
[ { "change_type": "MODIFY", "old_path": "32blit-sdl/CMakeLists.txt", "new_path": "32blit-sdl/CMakeLists.txt", "diff": "@@ -78,6 +78,10 @@ endif()\nfunction(blit_executable NAME SOURCES)\nadd_executable(${NAME} ${SOURCES} ${ARGN})\n+ install(TARGETS ${NAME}\n+ RUNTIME DESTINATION bin\n+ )\n+\nif (${CM...
C
MIT License
pimoroni/32blit-beta
Crude SDL examples install
510,640
06.02.2020 16:48:35
0
b46447078ae195f1817c88615be3eb8adf42856c
stm32 examples install
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/CMakeLists.txt", "new_path": "32blit-stm32/CMakeLists.txt", "diff": "@@ -164,6 +164,11 @@ endfunction()\nfunction(blit_executable NAME SOURCES)\nadd_executable(${NAME} $<TARGET_OBJECTS:BlitHalSTM32Ext> ${SOURCES} ${ARGN})\n+\n+ install(FILES ${CMA...
C
MIT License
pimoroni/32blit-beta
stm32 examples install
510,640
06.02.2020 16:50:02
0
dc68d87825be5b3727b5e177950df1e85761af72
Experimental Travis deployment to Releases
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -114,3 +114,12 @@ script:\n- cmake -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN $CMAKE_ARGS ..\n- cmake --build .\n- ccache --show-stats || true\n+\n+before_deploy:\n+ - make install\n+ - tar -zcf ${TRAVIS_BUILD_DIR}${...
C
MIT License
pimoroni/32blit-beta
Experimental Travis deployment to Releases
510,640
06.02.2020 16:55:58
0
b074359727f7fdb0ffe10c9cd831e58d5ff1b8f8
Deploy only for STM32
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -39,6 +39,14 @@ jobs:\ngcc-arm-none-eabi\nlibnewlib-arm-none-eabi\nlibstdc++-arm-none-eabi-newlib\n+ before_deploy:\n+ - make install\n+ - tar -zcf ${TRAVIS_BUILD_DIR}${REPO}-${BUILD_ENV}-${TRAVIS_TAG}-${TRA...
C
MIT License
pimoroni/32blit-beta
Deploy only for STM32
510,640
06.02.2020 17:13:10
0
41dae4e3c57cd3adfe2773c5abd02e3203c95ec9
Add requirements for dfu tool
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -39,6 +39,8 @@ jobs:\ngcc-arm-none-eabi\nlibnewlib-arm-none-eabi\nlibstdc++-arm-none-eabi-newlib\n+ install:\n+ - python3 -m pip install bitstring construct\nbefore_deploy:\n- make install\n- tar -zcf ${TRAV...
C
MIT License
pimoroni/32blit-beta
Add requirements for dfu tool
510,640
06.02.2020 17:18:49
0
bed343fba820d55f29a9b62d0d573352012b153f
Add python3-pip to STM32 build
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -39,6 +39,7 @@ jobs:\ngcc-arm-none-eabi\nlibnewlib-arm-none-eabi\nlibstdc++-arm-none-eabi-newlib\n+ python3-pip\ninstall:\n- python3 -m pip install bitstring construct\nbefore_deploy:\n" } ]
C
MIT License
pimoroni/32blit-beta
Add python3-pip to STM32 build
510,640
06.02.2020 17:44:45
0
f48219ef07d8e446e6a3ac94a4b094f17772524a
Add python3-setuptools to STM32 build
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -40,6 +40,7 @@ jobs:\nlibnewlib-arm-none-eabi\nlibstdc++-arm-none-eabi-newlib\npython3-pip\n+ python3-setuptools\ninstall:\n- python3 -m pip install bitstring construct\nbefore_deploy:\n" } ]
C
MIT License
pimoroni/32blit-beta
Add python3-setuptools to STM32 build
510,662
06.02.2020 18:03:29
0
264d34431fe13c72a76dcc5784c81c9ae7bee4da
Tidy up links to OS-specific documentation
[ { "change_type": "MODIFY", "old_path": "docs/32blit.md", "new_path": "docs/32blit.md", "diff": "@@ -9,10 +9,10 @@ Make sure you've prepared your 32Blit by following the instructions in:\nYou should also make sure you have a cross-compile environment set up on your computer, refer to the relevant doc...
C
MIT License
pimoroni/32blit-beta
Tidy up links to OS-specific documentation
510,640
06.02.2020 18:28:17
0
348fe736cd215a262a1e9a831d917146eb7593d4
Friendly build names, Win/Lin builds
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -28,12 +28,25 @@ jobs:\n- docker exec -it emscripten make -C build.em\n- name: \"Linux\"\n+ env:\n+ - RELEASE_FILE=${TRAVIS_BUILD_DIR}${REPO}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}-LIN64.tar.gz\naddons:\napt:\...
C
MIT License
pimoroni/32blit-beta
Friendly build names, Win/Lin builds
510,640
06.02.2020 18:54:34
0
d438521e8bf521d08fff6b2bb0f9ff2d5b40ff82
Switch Windows release to zip
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -70,7 +70,7 @@ jobs:\nenv:\n- TOOLCHAIN=../mingw.toolchain\n- CMAKE_ARGS=\"-DSDL2_DIR=$TRAVIS_BUILD_DIR/SDL2-2.0.10/x86_64-w64-mingw32/lib/cmake/SDL2/ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache\"\n- - RELEASE_FILE...
C
MIT License
pimoroni/32blit-beta
Switch Windows release to zip
510,640
06.02.2020 18:57:55
0
544b7117e69402f764391b84e2d94c906d4b2241
Zip STM32 files for Windows users
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -29,16 +29,16 @@ jobs:\n- name: \"Linux\"\nenv:\n- - RELEASE_FILE=${TRAVIS_BUILD_DIR}${REPO}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}-LIN64.tar.gz\n+ - RELEASE_FILE=${TRAVIS_BUILD_DIR}${REPO}-${TRAVIS_TAG}-${TRA...
C
MIT License
pimoroni/32blit-beta
Zip STM32 files for Windows users
510,640
06.02.2020 19:56:40
0
883e69ea67554f9e7fa689ddf01e8d3ec646e11b
Change SDCARD SPI prescalar to 8 for This should temporarily allow for better SD card support while we figure out the issue detailed in
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/spi.c", "new_path": "32blit-stm32/Src/spi.c", "diff": "@@ -40,7 +40,7 @@ void MX_SPI1_Init(void)\nhspi1.Init.CLKPolarity = SPI_POLARITY_LOW;\nhspi1.Init.CLKPhase = SPI_PHASE_1EDGE;\nhspi1.Init.NSS = SPI_NSS_SOFT;\n- hspi1.Init.BaudRatePrescale...
C
MIT License
pimoroni/32blit-beta
Change SDCARD SPI prescalar to 8 for #93 This should temporarily allow for better SD card support while we figure out the issue detailed in #93
510,652
06.02.2020 23:45:11
0
ad0cca69a8ca56107ac18de7e70e113580bbf3f1
Added gcc-arm-none-eabi install instructions
[ { "change_type": "MODIFY", "old_path": "docs/macOS.md", "new_path": "docs/macOS.md", "diff": "@@ -9,7 +9,17 @@ brew install cmake\nTODO: Add instructions for installing python3 and dependencies for tooling\n-TODO: Add instructions for installing gcc-arm-none-eabi for cross compile\n+## Installing `g...
C
MIT License
pimoroni/32blit-beta
Added gcc-arm-none-eabi install instructions
510,652
07.02.2020 00:25:25
0
c8865aa8f67bd90ed70bf64ae45515564ed7faf8
some python3 install instructions with pip3 dependency list missing as i don't know what they are
[ { "change_type": "MODIFY", "old_path": "docs/macOS.md", "new_path": "docs/macOS.md", "diff": "@@ -7,9 +7,45 @@ xcode-select --install\nbrew install cmake\n```\n-TODO: Add instructions for installing python3 and dependencies for tooling\n+## Python3\n+\n+Before trying to install python3, it's worth c...
C
MIT License
pimoroni/32blit-beta
some python3 install instructions with pip3 dependency list missing as i don't know what they are
510,652
07.02.2020 01:24:37
0
320dcf578d738500045e8486ceff31a6f27d2fb8
mac shortcuts
[ { "change_type": "MODIFY", "old_path": "docs/VSCode.md", "new_path": "docs/VSCode.md", "diff": "@@ -10,11 +10,11 @@ Then open the cloned repository with \"Open folder...\".\n## Intellisense\n-Open the command palette (`Ctrl` + `Shift` + `P`) run \"C/C++: Change Configuration Provider...\" and select...
C
MIT License
pimoroni/32blit-beta
mac shortcuts
510,652
07.02.2020 02:07:18
0
1302bfc01f94021a420815870d378f788e82e74a
changed [ brackets to ( brackets so the links work. also added link to flash loader doc
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Firmware.md", "new_path": "docs/32Blit-Firmware.md", "diff": "@@ -5,15 +5,15 @@ This repository includes firmware for the 32Blit that lets you manage games on S\nIn order to use it, you will need to:\n1. Build and install the 32Blit firmware (if yo...
C
MIT License
pimoroni/32blit-beta
changed [ brackets to ( brackets so the links work. also added link to flash loader doc
510,640
07.02.2020 15:30:31
0
c94848851ac7d251da30a67e1111b9e0e92655e6
Tweak flash loader Just a couple of small quality of life tweaks before we overhaul the UI: Wrap the cursor from top/bottom bottom/top Allow dpad direction to be held to rapidly skip through titles Slightly indent text and vertically center-align in the selection box
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -204,7 +204,7 @@ void FlashLoader::RenderFlashCDC(uint32_t time)\n// RenderFlashFile() Render main ui for selecting files to flash\nvoid FlashLoader::Ren...
C
MIT License
pimoroni/32blit-beta
Tweak flash loader Just a couple of small quality of life tweaks before we overhaul the UI: - Wrap the cursor from top/bottom bottom/top - Allow dpad direction to be held to rapidly skip through titles - Slightly indent text and vertically center-align in the selection box
510,652
07.02.2020 21:33:07
0
bb14569831011ac83126ba47ef6a9eb94e00e4ab
doh. totally forgot to commit this change too from last night.
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Loader.md", "new_path": "docs/32Blit-Loader.md", "diff": "@@ -18,6 +18,14 @@ This will build the loader tool at `tools/src/32Blit`.\nYou should ideally add this directory to your `PATH` or alternatively copy this utility somewhere your system can f...
C
MIT License
pimoroni/32blit-beta
doh. totally forgot to commit this change too from last night.
510,640
08.02.2020 10:39:34
0
a6859df343ca46a70eccb50f7d7a54e69d1f5fed
Document sleep in 32Blit.cpp
[ { "change_type": "MODIFY", "old_path": "tools/src/32Blit.cpp", "new_path": "tools/src/32Blit.cpp", "diff": "@@ -657,6 +657,8 @@ int main(int argc, char *argv[])\n}\nprintf(\"Sending complete.\\n\");\n+ // Add a short delay to avoid PROG and SAVE hanging at 99% complete\n+ // See https://github.com/p...
C
MIT License
pimoroni/32blit-beta
Document sleep in 32Blit.cpp
510,652
08.02.2020 12:34:47
0
c701f217fb4dfbb9ac87e5281f71f010fa7da09d
Added a troubleshooting tip as it caused me a head scratch :/
[ { "change_type": "MODIFY", "old_path": "docs/32blit.md", "new_path": "docs/32blit.md", "diff": "@@ -38,7 +38,7 @@ For example you might type `make raycaster` which will give you `examples/raycas\nThis requires the [flash loader tool](32Blit-Loader.md) to be in your PATH or built in an adjacent `buil...
C
MIT License
pimoroni/32blit-beta
Added a troubleshooting tip as it caused me a head scratch :/
510,652
08.02.2020 23:03:56
0
62af511a2775a375ce468b721e200e5a3d05e886
Update 32blit.md I just went over this again and realised it reads like the second sentence is referring to the first. Which it isn't.
[ { "change_type": "MODIFY", "old_path": "docs/32blit.md", "new_path": "docs/32blit.md", "diff": "@@ -68,7 +68,8 @@ make\n### Flasher Can't Find 32Blit Port\nIf `make example.flash` fails to find the correct port, re-run `cmake` with `-DFLASH_PORT=[PORT PATH]`.\n-This does not work if your device is i...
C
MIT License
pimoroni/32blit-beta
Update 32blit.md I just went over this again and realised it reads like the second sentence is referring to the first. Which it isn't.
510,652
09.02.2020 00:43:39
0
782bcd3acfbfb652c5d36610a69d2e37c3c9bf75
Update Tools.md I might be wrong with pillow, but for me it kicked off with `ERROR: No matching distribution found for PIL` which was resolved with installing pillow. In my very limited experience with python though, I seem to remember pillow being deprecated.. ? Either way, this fixed my error.
[ { "change_type": "MODIFY", "old_path": "docs/Tools.md", "new_path": "docs/Tools.md", "diff": "@@ -11,7 +11,7 @@ Have a look into the script for further details regarding the formats.\n### Prerequisites:\n``` shell\n-sudo python3 -m pip install construct bitarray bitstring\n+sudo python3 -m pip insta...
C
MIT License
pimoroni/32blit-beta
Update Tools.md I might be wrong with pillow, but for me it kicked off with `ERROR: No matching distribution found for PIL` which was resolved with installing pillow. In my very limited experience with python though, I seem to remember pillow being deprecated.. ? Either way, this fixed my error.
510,670
07.02.2020 16:34:52
0
efabdbdacd3f5a5eda0526957087280462bc5ed9
Trying to make builds less noisy...
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/32blit.h", "new_path": "32blit-stm32/Inc/32blit.h", "diff": "+#undef UNUSED\n+#define UNUSED(x) ((void)(__typeof__(x))(x)) // suppress \"UNUSED\" warnings\n#include \"32blit.hpp\"\n#include \"fatfs.h\"\n" }, { "change_type": "MODIFY", ...
C
MIT License
pimoroni/32blit-beta
Trying to make builds less noisy...
510,670
07.02.2020 16:59:18
0
a92b87dcd51ec7caf0b5e8dd960db7f1615e5fe4
Fix UNUSED macro in STM32 HAL
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h", "new_path": "32blit-stm32/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h", "diff": "@@ -67,7 +67,7 @@ typedef enum\n(__DMA_HANDLE__).Parent = (__HANDLE__); \\\n} while(0)\n-#define UNUSE...
C
MIT License
pimoroni/32blit-beta
Fix UNUSED macro in STM32 HAL
510,670
07.02.2020 17:24:11
0
8b0866ccdbc34fe7fff75570c32da98553be3555
Make build errors great again
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/CMakeLists.txt", "new_path": "32blit-stm32/CMakeLists.txt", "diff": "@@ -106,6 +106,8 @@ set(DEFINITIONS\n)\nset(HAL_DEFINITIONS ${DEFINITIONS} PARENT_SCOPE)\n+set_source_files_properties(Middlewares/Third_Party/FatFs/src/ff.c PROPERTIES COMPILE_F...
C
MIT License
pimoroni/32blit-beta
Make build errors great again
510,670
07.02.2020 17:24:51
0
74a44b6e660569c3a9a4923f82f9e88f22f960d5
Re-add some sprite blitting options
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/blend.cpp", "new_path": "32blit/graphics/blend.cpp", "diff": "@@ -79,7 +79,7 @@ namespace blit {\n}\n- void RGBA_RGBA(const Surface* src, uint32_t soff, const Surface* dest, uint32_t doff, uint32_t cnt) {\n+ void RGBA_RGBA(const Surface* src, u...
C
MIT License
pimoroni/32blit-beta
Re-add some sprite blitting options
510,670
07.02.2020 17:25:23
0
7f66ebcf5f959e5ecf336c8fb9d2393ca90822c1
Move flash loader over to using new Pen type for drawing
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -179,9 +179,9 @@ void FlashLoader::Render(uint32_t time)\n// RenderSaveFile() Render file save progress %\nvoid FlashLoader::RenderSaveFile(uint32_t time...
C
MIT License
pimoroni/32blit-beta
Move flash loader over to using new Pen type for drawing
510,670
07.02.2020 17:35:42
0
68a47a2ac49281c47e980e0e5b37afae907d0738
Update filters for VS project
[ { "change_type": "MODIFY", "old_path": "vs/32blit/32blit.vcxproj", "new_path": "vs/32blit/32blit.vcxproj", "diff": "</ItemDefinitionGroup>\n<ItemGroup>\n<ClInclude Include=\"..\\..\\32blit\\32blit.hpp\" />\n- <ClInclude Include=\"..\\..\\32blit\\engine\\audio.hpp\" />\n+ <ClInclude Include=\"..\\..\...
C
MIT License
pimoroni/32blit-beta
Update filters for VS project
510,640
07.02.2020 17:53:10
0
b157a13f1958b405745d96a60e601e83a0410938
Fix column swap for hires mode copy
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/display.cpp", "new_path": "32blit-stm32/Src/display.cpp", "diff": "@@ -82,7 +82,7 @@ namespace display {\nwhile(c--) {\nuint16_t c1 = ((*s++ & 0b11111000) << 8) | ((*s++ & 0b11111100) << 3) | ((*s++ & 0b11111000) >> 3);\nuint16_t c2 = ((*s++ &...
C
MIT License
pimoroni/32blit-beta
Fix column swap for hires mode copy
510,640
07.02.2020 19:30:16
0
b054be53da902effc0112846ff15b7dcefa5a6da
Finish porting examples to new Pen API
[ { "change_type": "MODIFY", "old_path": "examples/audio-test/audio-test.cpp", "new_path": "examples/audio-test/audio-test.cpp", "diff": "@@ -54,14 +54,14 @@ void init() {\n// set global volume\n// volume = 2048;\n- screen.pen(RGBA(0, 0, 0, 255));\n+ screen.pen = Pen(0, 0, 0, 255);\nscreen.clear();\n}...
C
MIT License
pimoroni/32blit-beta
Finish porting examples to new Pen API
510,640
07.02.2020 20:25:27
0
6254d3e4049ea1476a38d0cd397d3ca5e5571028
Fix pixel formats to 0x02 (P)
[ { "change_type": "MODIFY", "old_path": "examples/flight/flight.hpp", "new_path": "examples/flight/flight.hpp", "diff": "0x10, 0x00, // cols (16)\n0x10, 0x00, // rows (16)\n- 0x03, // format\n+ 0x02, // format\n0x20, // number of palette colours\n// r g b a\n0x02, 0x00, // cols (2)\n0x02, 0x00, // ro...
C
MIT License
pimoroni/32blit-beta
Fix pixel formats to 0x02 (P)
510,640
08.02.2020 12:27:33
0
edcf2597f75b8108b7ef95bf1cdad8f80a45d174
Fix flash loader ROW_HEIGHT
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -233,7 +233,7 @@ void FlashLoader::RenderFlashFile(uint32_t time)\nif(m_uFileCount)\n{\nscreen.pen = Pen(50, 50, 70);\n- screen.rectangle(Rect(0, ROW_SPA...
C
MIT License
pimoroni/32blit-beta
Fix flash loader ROW_HEIGHT
510,640
09.02.2020 10:38:40
0
db762d3bc097d24457f245e93b12c43ae9f2c566
Fix merge conflict leak in tween-test.cpp
[ { "change_type": "MODIFY", "old_path": "examples/tween-test/tween-test.cpp", "new_path": "examples/tween-test/tween-test.cpp", "diff": "@@ -33,13 +33,8 @@ void render(uint32_t time_ms) {\nscreen.pen = blit::hsv_to_rgba(tween_colour.value, 1.0f, 1.0f);\nscreen.circle(Point(160, 20+tween_bounce.value)...
C
MIT License
pimoroni/32blit-beta
Fix merge conflict leak in tween-test.cpp
510,670
09.02.2020 15:08:37
0
701568ea9e22d02d59c0f0ca86dbfffd41394149
restore support for paletted source surfaces and fix vertical_stretch_blit
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/blend.cpp", "new_path": "32blit/graphics/blend.cpp", "diff": "@@ -80,50 +80,71 @@ namespace blit {\nvoid RGBA_RGBA(const Surface* src, uint32_t soff, const Surface* dest, uint32_t doff, uint32_t cnt, int32_t src_step) {\n- uint8_t* s = src->dat...
C
MIT License
pimoroni/32blit-beta
restore support for paletted source surfaces and fix vertical_stretch_blit
510,670
10.02.2020 15:08:41
0
e59502388b408f8e9a4c140aa72dd7d6c1c82d42
tidy up blending code
[ { "change_type": "MODIFY", "old_path": "32blit/graphics/blend.cpp", "new_path": "32blit/graphics/blend.cpp", "diff": "#define __attribute__(A)\n#endif\n-// note: for performance reasons none of the blending functions make any attempt\n-// to validate input, adhere to clipping, or source/destination ...
C
MIT License
pimoroni/32blit-beta
tidy up blending code
510,670
10.02.2020 15:09:08
0
9306146b23f7e6c36cd37426f3fc97ee9ae1ca3c
speed up calculations using fixed point
[ { "change_type": "MODIFY", "old_path": "examples/rotozoom/rotozoom.cpp", "new_path": "examples/rotozoom/rotozoom.cpp", "diff": "@@ -49,8 +49,8 @@ void rotozoom(uint32_t time_ms) {\nstatic Pen palette[] = { Pen(0, 0, 0), Pen(255, 255, 255), Pen(0, 255, 0) };\n- float c = cos(angle * M_PI / 180.0f);\n...
C
MIT License
pimoroni/32blit-beta
speed up calculations using fixed point
510,640
11.02.2020 13:18:19
0
2a0f35f424e7b4348313fa02b3f81af85192b89a
Port profiler to graphics-rework
[ { "change_type": "MODIFY", "old_path": "32blit/engine/profiler.cpp", "new_path": "32blit/engine/profiler.cpp", "diff": "@@ -108,14 +108,14 @@ Profiler::GraphElement &Profiler::GetGraphElement(DisplayMetric metric)\nreturn m_graphElements[metric];\n}\n-void Profiler::SetupGraphElement(DisplayMetric m...
C
MIT License
pimoroni/32blit-beta
Port profiler to graphics-rework
510,670
11.02.2020 09:06:25
0
1165ac3b690dce9177c2a39a9e14e416e1166259
sdl host project for Another World demo
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/another-world/.gitignore", "diff": "+memlist.bin\n+bank*\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "examples/another-world/another-world.cpp", "new_path": "examples/another-world/another-...
C
MIT License
pimoroni/32blit-beta
sdl host project for Another World demo
510,670
11.02.2020 09:46:17
0
feaf3b2d61858e7be0d7cf423f2a883898f4db38
fixed some issues when running on device
[ { "change_type": "DELETE", "old_path": "examples/another-world/.gitignore", "new_path": null, "diff": "-memlist.bin\n-bank*\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "examples/another-world/another-world.cpp", "new_path": "examples/another-world/anoth...
C
MIT License
pimoroni/32blit-beta
fixed some issues when running on device
510,670
11.02.2020 14:33:33
0
c8c26e1b4d80dea97933718316eae1e6bfbace82
shake and betamax effects added
[ { "change_type": "MODIFY", "old_path": "examples/tilemap_test/tilemap_test.cpp", "new_path": "examples/tilemap_test/tilemap_test.cpp", "diff": "@@ -34,8 +34,6 @@ using namespace blit;\nreturn a * (M_PI / 180.0f);\n}\n- uint32_t time;\n-\nuint32_t current_time;\n@@ -140,6 +138,41 @@ using namespace b...
C
MIT License
pimoroni/32blit-beta
shake and betamax effects added
510,670
11.02.2020 14:38:14
0
06cc2906aef7937ccb94e7e165c4784d0d5fb0c1
rename tilemap example project
[ { "change_type": "MODIFY", "old_path": "examples/CMakeLists.txt", "new_path": "examples/CMakeLists.txt", "diff": "@@ -23,7 +23,7 @@ add_subdirectory(serial-debug)\nadd_subdirectory(shmup)\nadd_subdirectory(sprite-test)\nadd_subdirectory(text)\n-add_subdirectory(tilemap_test)\n+add_subdirectory(tilem...
C
MIT License
pimoroni/32blit-beta
rename tilemap example project
510,640
11.02.2020 15:53:59
0
efed7feb5b88751f86bc299290e7848add5a4aca
Add support for linking binary assets
[ { "change_type": "MODIFY", "old_path": "32blit-sdl/CMakeLists.txt", "new_path": "32blit-sdl/CMakeLists.txt", "diff": "@@ -79,6 +79,31 @@ if(DEFINED VIDEO_CAPTURE AND VIDEO_CAPTURE)\n)\nendif()\n+function(blit_asset NAME ASSET)\n+ add_custom_command(OUTPUT ${ASSET}.o\n+ COMMAND cd ${CMAKE_CURRENT_SOU...
C
MIT License
pimoroni/32blit-beta
Add support for linking binary assets
510,640
11.02.2020 20:38:08
0
f6d9508fdfd997465017afa9fad3c972a3ac80e9
Remove redundant placeholder, add readme
[ { "change_type": "DELETE", "old_path": "vs/sdl/00placeholder.txt", "new_path": null, "diff": "-Please download and extract the SDL 2 development library for Visual C++ into this folder!\n\\ No newline at end of file\n" }, { "change_type": "ADD", "old_path": null, "new_path": "vs/sdl/...
C
MIT License
pimoroni/32blit-beta
Remove redundant placeholder, add readme
510,640
12.02.2020 00:13:23
0
caa7ffae13a066de1609bc5ed4ed0111dcd0e8a3
Rebuild stale assets, move to 32blit.cmake
[ { "change_type": "MODIFY", "old_path": "32blit-sdl/CMakeLists.txt", "new_path": "32blit-sdl/CMakeLists.txt", "diff": "@@ -79,32 +79,6 @@ if(DEFINED VIDEO_CAPTURE AND VIDEO_CAPTURE)\n)\nendif()\n-function(blit_asset NAME ASSET)\n- add_custom_command(OUTPUT ${ASSET}.o\n- COMMAND cd ${CMAKE_CURRENT_SOU...
C
MIT License
pimoroni/32blit-beta
Rebuild stale assets, move to 32blit.cmake
510,640
12.02.2020 11:04:50
0
282b234922075d3cb3a65624837e3c5e04f2fa70
Allow longer file size
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.hpp", "new_path": "firmware/flash-loader/flash-loader.hpp", "diff": "#define ROW_HEIGHT 10\n#define ROW(x) Point(0,x * ROW_HEIGHT)\n#define MAX_FILENAME 256+1\n-#define MAX_FILELEN 5+1\n+#define MAX_FILELEN 16+1\n#define PAGE...
C
MIT License
pimoroni/32blit-beta
Allow longer file size
510,640
12.02.2020 15:31:21
0
b6a5a8f62910378753a965227c4b9d0609697f2b
Guard against user code changing QSPI pin state
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/gpio.cpp", "new_path": "32blit-stm32/Src/gpio.cpp", "diff": "@@ -35,6 +35,8 @@ namespace gpio {\n// usb \"swap\" pin?\ninit_pin(GPIOD, USB_SWAP_Pin, GPIO_MODE_OUTPUT_PP, GPIO_NOPULL);\n+#if (INITIALISE_QSPI==1)\n+// Guard against user code cha...
C
MIT License
pimoroni/32blit-beta
Guard against user code changing QSPI pin state
510,654
12.02.2020 16:36:45
0
abb543daf7e1536dd1233fa0814dd096961a3360
Fix for new font API
[ { "change_type": "MODIFY", "old_path": "examples/another-world/another-world.cpp", "new_path": "examples/another-world/another-world.cpp", "diff": "@@ -76,7 +76,7 @@ void render(uint32_t time_ms) {\n// draw FPS meter & watermark\nscreen.watermark();\nscreen.pen = Pen(255, 255, 255);\n- screen.text(s...
C
MIT License
pimoroni/32blit-beta
Fix for new font API
510,654
12.02.2020 16:38:28
0
6ab7424be03c9e82436abc7011518da6bf9fce52
Add missing examples and sort into alphabetical order
[ { "change_type": "MODIFY", "old_path": "examples/CMakeLists.txt", "new_path": "examples/CMakeLists.txt", "diff": "cmake_minimum_required(VERSION 3.1)\nproject (examples)\ninclude (../32blit.cmake)\n+add_subdirectory(another-world)\nadd_subdirectory(audio-test)\nadd_subdirectory(audio-wave)\nadd_subd...
C
MIT License
pimoroni/32blit-beta
Add missing examples and sort into alphabetical order
510,652
13.02.2020 01:21:44
0
a1f3a7388ec3b59ebe195b0a1389f6e0a12623a1
Created MenuItem enum Created helper functions for locations etc Menu now wraps Brought it together by writing a loop that creates menu items in a reusable way.
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -157,29 +157,73 @@ void blit_init() {\n}\n+/*\n+\n+ Menu Items\n+\n+*/\n+\n+enum MenuItem {\n+ BACKLIGHT,\n+ VOLUME,\n+ DFU,\n+ SHIPPING,\n+ SWITCH_EXE,\n+ LAST_COUNT // leave me ...
C
MIT License
pimoroni/32blit-beta
Created MenuItem enum Created helper functions for locations etc Menu now wraps Brought it together by writing a loop that creates menu items in a reusable way.
510,652
13.02.2020 01:23:06
0
0ea4a0dee15c2b34a5b269432642564cdaed8a69
just put all 'press a' into default so you don't have to add a case if it's just another press a item
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -337,9 +337,7 @@ void blit_menu_render(uint32_t time) {\nscreen.rectangle(Rect(screen_width / 2, 31, 75 * global_volume, 5));\nbreak;\n- case DFU:\n- case SHIPPING:\n- case SWITCH...
C
MIT License
pimoroni/32blit-beta
just put all 'press a' into default so you don't have to add a case if it's just another press a item
510,640
11.02.2020 20:29:13
0
5c92dbd0d182a3fe76c70a556365d9c084be1d01
Add crude remember-last-menu-item feature to firmware
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -46,6 +46,10 @@ void FlashLoader::Init()\n// register LS\ng_commandStream.AddCommandHandler(CDCCommandHandler::CDCFourCCMake<'_', '_', 'L', 'S'>::value, ...
C
MIT License
pimoroni/32blit-beta
Add crude remember-last-menu-item feature to firmware
510,640
13.02.2020 15:59:47
0
18ac2620500f54bc2252e6855e377591927577ba
Improve system state persistence This switches the single experimental persistent value to a struct stored in a 1k memory region reserved by the linker. With this change it's possible to persist volume, brightness and other values across resets and execution target switches.
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/32blit.h", "new_path": "32blit-stm32/Inc/32blit.h", "diff": "#include \"32blit.hpp\"\n#include \"fatfs.h\"\n+#include \"persistence.h\"\n+\n// Functions defined by user code files\nextern void init();\n" }, { "change_type": "ADD", ...
C
MIT License
pimoroni/32blit-beta
Improve system state persistence This switches the single experimental persistent value to a struct stored in a 1k memory region reserved by the linker. With this change it's possible to persist volume, brightness and other values across resets and execution target switches.
510,640
13.02.2020 16:29:47
0
6d4d3a18f8d359d35b4d61c303af08bd8c83e5e1
Refine system menu, squash warnings
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -204,10 +204,16 @@ std::string menu_name (MenuItem item) {\nswitch (item) {\ncase BACKLIGHT: return \"Backlight\";\ncase VOLUME: return \"Volume\";\n- case DFU: return \"DFU\";\n-...
C
MIT License
pimoroni/32blit-beta
Refine system menu, squash warnings
510,640
14.02.2020 09:46:37
0
d98bdd7d3b36a8b0b4957e05aa62362677f46af9
Output bin dump to correct location
[ { "change_type": "MODIFY", "old_path": "tools/dfu", "new_path": "tools/dfu", "diff": "@@ -215,9 +215,9 @@ if __name__ == '__main__':\ndest = str(args.file).replace('.dfu', '')\nfilename = f\"{dest}-{target_id}-{address}.bin\"\n- if pathlib.Path(dest).is_file() and not args.force:\n+ if pathlib.Path(...
C
MIT License
pimoroni/32blit-beta
Output bin dump to correct location
510,640
14.02.2020 15:05:18
0
fdb342941c14d5041470f14bdbc0c84cd39fe6a2
Remove configure and install steps for SDL2.dll These steps don't belong in mingw.toolchain. Since duplicate commands already exist in 32blit-sdl's CMakeLists.txt it makes sense to invoke them by setting SDL2_DLL
[ { "change_type": "MODIFY", "old_path": "mingw.toolchain", "new_path": "mingw.toolchain", "diff": "@@ -10,8 +10,7 @@ set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)\nset(CMAKE_OBJCOPY x86_64-w64-mingw32-objcopy CACHE PATH \"Path to objcopy\")\nset(CMAKE_LINKER x86_64-w64-mingw32-ld CACHE PATH \"Path t...
C
MIT License
pimoroni/32blit-beta
Remove configure and install steps for SDL2.dll These steps don't belong in mingw.toolchain. Since duplicate commands already exist in 32blit-sdl's CMakeLists.txt it makes sense to invoke them by setting SDL2_DLL
510,652
14.02.2020 15:09:54
0
397df12f72a86ce50521df806ea96858a7cc74ac
fixed draw order and added a drawing distance. alpha kicks in after a min distance
[ { "change_type": "MODIFY", "old_path": "examples/flight/flight.cpp", "new_path": "examples/flight/flight.cpp", "diff": "#include \"graphics/mode7.hpp\"\n-\n#include \"flight.hpp\"\nusing namespace blit;\n@@ -34,6 +33,18 @@ struct object {\nobject(Vec2 pos, uint8_t type) : pos(pos), type(type) {}\n};...
C
MIT License
pimoroni/32blit-beta
fixed draw order and added a drawing distance. alpha kicks in after a min distance
510,648
14.02.2020 20:51:20
0
3e7bd7396e05a8ae926e6c01bc89795096b74133
Fix audio-wave example sample rate * Fix audio-wave example: Sample was 22050, not 11025. Sustain not required - already defaults to this value.
[ { "change_type": "MODIFY", "old_path": "examples/audio-wave/audio-wave.cpp", "new_path": "examples/audio-wave/audio-wave.cpp", "diff": "This example, a runthrough:\nAudio data:\n- The audio file has been converted to 11025Hz sample rate, then exported as 16bit PCM, but without its header.\n+ The aud...
C
MIT License
pimoroni/32blit-beta
Fix audio-wave example sample rate (#149) * Fix audio-wave example: - Sample was 22050, not 11025. - Sustain not required - already defaults to this value.
510,640
14.02.2020 21:19:04
0
2082cc505ff080cfbe94f9a173d1b9cc4cc67c39
Fix for 32blit_BINARY_DIR not set for MSVC builds
[ { "change_type": "MODIFY", "old_path": "32blit-sdl/CMakeLists.txt", "new_path": "32blit-sdl/CMakeLists.txt", "diff": "@@ -42,7 +42,7 @@ target_link_libraries(BlitHalSDL PUBLIC BlitEngine ${SDL2_LIBRARIES})\n# copy SDL2.dll to build/install dir for windows users\nif(SDL2_DLL)\n- configure_file(${SDL2...
C
MIT License
pimoroni/32blit-beta
Fix for 32blit_BINARY_DIR not set for MSVC builds
510,652
14.02.2020 21:40:41
0
4ecde6eebed70fbaa1345b61e38225f90fb08a77
plane moves forward and takes off. ideally stick is more proportionate + changing vanishing point
[ { "change_type": "MODIFY", "old_path": "examples/flight/flight.cpp", "new_path": "examples/flight/flight.cpp", "diff": "@@ -55,6 +55,7 @@ float map_size = 128;\nfloat fov = 95.0f * (M_PI / 180.0f);\nfloat far = 500.0f;\nfloat near = 10.0f;\n+float is_starting = false;\nfloat deg2rad(float a) {\nretu...
C
MIT License
pimoroni/32blit-beta
plane moves forward and takes off. ideally stick is more proportionate + changing vanishing point
510,640
14.02.2020 22:46:30
0
5171b11b960e0e7e828b142d26b1c86a791d1249
Chomp redundant code from sprite-builder
[ { "change_type": "MODIFY", "old_path": "tools/sprite-builder", "new_path": "tools/sprite-builder", "diff": "@@ -28,23 +28,23 @@ IE: a two colour image will be packed with 1bpp\nUsage: ./sprite-builder packed input-file.png\n\"input-file.png\" should contain no more than 255 colours!\n-# SPRITERW hea...
C
MIT License
pimoroni/32blit-beta
Chomp redundant code from sprite-builder
510,640
14.02.2020 22:46:56
0
587a609bab50d410cec1a83351df624d1241375a
Add new map builder tool, currently with csv2bin function only
[ { "change_type": "ADD", "old_path": null, "new_path": "tools/map-builder", "diff": "+#!/usr/bin/env python3\n+\n+import argparse\n+import math\n+import sys\n+import pathlib\n+\n+if __name__ == '__main__':\n+ parser = argparse.ArgumentParser()\n+ subparsers = parser.add_subparsers(help='Commands', de...
C
MIT License
pimoroni/32blit-beta
Add new map builder tool, currently with csv2bin function only
510,640
15.02.2020 00:01:08
0
255ba9907a30b9daa7b1d2ee38790918038b7a8c
Force map-builder output
[ { "change_type": "MODIFY", "old_path": "32blit.cmake", "new_path": "32blit.cmake", "diff": "@@ -37,7 +37,7 @@ if (NOT DEFINED BLIT_ONCE)\nget_filename_component(BASE_NAME ${FILENAME} NAME)\nadd_custom_command(\nOUTPUT ${BASE_NAME}.blit\n- COMMAND ${PYTHON_EXECUTABLE} ${MAP_BUILDER} ${TYPE} --out ${C...
C
MIT License
pimoroni/32blit-beta
Force map-builder output
510,640
15.02.2020 02:43:13
0
cc9a17133cbbea6ff4703d5b1fb6b2c7a6adf63b
Remove redundant RGB565 mode
[ { "change_type": "MODIFY", "old_path": "tools/sprite-builder", "new_path": "tools/sprite-builder", "diff": "@@ -248,7 +248,7 @@ if __name__ == '__main__':\nparser = argparse.ArgumentParser()\nsubparsers = parser.add_subparsers(help='Commands', dest='command')\nparser_packed = subparsers.add_parser('...
C
MIT License
pimoroni/32blit-beta
Remove redundant RGB565 mode
510,640
15.02.2020 02:45:57
0
a855077bde8f09e1ae8dcf635c4a16faf8cb5eb8
Fixup paths for WSL invoking Tiled.exe
[ { "change_type": "MODIFY", "old_path": "tools/map-builder", "new_path": "tools/map-builder", "diff": "@@ -4,6 +4,7 @@ import argparse\nimport sys\nimport pathlib\nimport subprocess\n+import os\ndef command_tiled2csv(args):\n@@ -26,7 +27,25 @@ def command_tiled2csv(args):\nprint(f'Refusing to write t...
C
MIT License
pimoroni/32blit-beta
Fixup paths for WSL invoking Tiled.exe
510,654
15.02.2020 23:42:02
0
ddbf69c7fadbb82bc7477e14dd77f1af01d541a8
Unify linker scripts Replaces the internal and external flash linker scripts with a single script that is configured on the ld command line. This mitigates the risk of them getting out of sync. The script defaults to external flash. Defining the symbol "FLASH_TARGET_INT" causes it to use internal flash instead.
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/CMakeLists.txt", "new_path": "32blit-stm32/CMakeLists.txt", "diff": "@@ -174,8 +174,8 @@ function(blit_executable NAME SOURCES)\nDESTINATION bin\n)\n- set_target_properties(${NAME} PROPERTIES LINK_FLAGS \"-specs=nano.specs -T ${MCU_LINKER_SCRIPT_E...
C
MIT License
pimoroni/32blit-beta
Unify linker scripts Replaces the internal and external flash linker scripts with a single script that is configured on the ld command line. This mitigates the risk of them getting out of sync. The script defaults to external flash. Defining the symbol "FLASH_TARGET_INT" causes it to use internal flash instead.
510,670
20.02.2020 10:43:07
0
a90f800b33b3784cbe67e2ba9ee27054b59b2c79
embedded map
[ { "change_type": "MODIFY", "old_path": "examples/voxel/voxel.cpp", "new_path": "examples/voxel/voxel.cpp", "diff": "using namespace blit;\n+\nPen sky_colour = Pen(127, 182, 212, 255);\nPen colour_map_palette[256];\n@@ -31,10 +32,15 @@ uint8_t terrain_index = 1;\nvoid load_map() {\n+ //close_file(ter...
C
MIT License
pimoroni/32blit-beta
embedded map
510,641
20.02.2020 21:37:20
0
13cb62da01470d6a7c6fcd598005588e5692be2d
Remove obsolete blit_asset
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/CMakeLists.txt", "new_path": "32blit-stm32/CMakeLists.txt", "diff": "@@ -155,32 +155,6 @@ set(MCU_LINKER_SCRIPT_EXT \"${CMAKE_CURRENT_LIST_DIR}/${MCU_LINKER_SCRIPT_EXT}\" P\nfind_package(PythonInterp 3 REQUIRED)\n-function(blit_asset NAME ASSET)\n...
C
MIT License
pimoroni/32blit-beta
Remove obsolete blit_asset
510,641
20.02.2020 21:38:14
0
358fc4c54db99b89d361177a7a691df901159989
Delete flash
[ { "change_type": "DELETE", "old_path": "examples/flash", "new_path": null, "diff": "-#!/usr/bin/env python3\n-\n-import argparse\n-import serial\n-import serial.tools.list_ports\n-import sys\n-import os\n-import os.path\n-import time\n-from tqdm import tqdm\n-\n-\n-parser = argparse.ArgumentParser(d...
C
MIT License
pimoroni/32blit-beta
Delete flash
510,640
20.02.2020 22:22:48
0
9561e2eb29fca07134b074a39ab358a9be44a67a
Add blit_assets_yaml heavily borrowed from
[ { "change_type": "MODIFY", "old_path": "32blit.cmake", "new_path": "32blit.cmake", "diff": "@@ -44,6 +44,26 @@ if (NOT DEFINED BLIT_ONCE)\nset(${OUT_PATH} ${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.blit PARENT_SCOPE)\nendfunction()\n+ function (blit_assets_yaml TARGET FILE)\n+ # cause cmake to reconfi...
C
MIT License
pimoroni/32blit-beta
Add blit_assets_yaml heavily borrowed from @Daft-Freak
510,640
27.02.2020 10:44:04
0
517c651afad485f56a044b7ff0ab2f9583308ff2
Fix flash size from 296K to 128K
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/STM32H750VBTx.ld", "new_path": "32blit-stm32/STM32H750VBTx.ld", "diff": "@@ -53,7 +53,7 @@ ITCMRAM (xrw) : ORIGIN = 0x00001000, LENGTH = 60K\n/* Flash location depends on whether we are building for internal or external flash. */\n/* This defaults...
C
MIT License
pimoroni/32blit-beta
Fix flash size from 296K to 128K
510,640
27.02.2020 12:28:12
0
aeeac76ddb0c767bf695eb419270c5cb3d278775
Add deprecation warnings to asset tools
[ { "change_type": "MODIFY", "old_path": "tools/asset-builder", "new_path": "tools/asset-builder", "diff": "@@ -177,6 +177,7 @@ class color():\nif __name__ == '__main__':\nparser = argparse.ArgumentParser()\n+ parser.add_argument('--nowarn', action='store_true', help='Suppress deprecation warning')\ns...
C
MIT License
pimoroni/32blit-beta
Add deprecation warnings to asset tools
510,649
28.02.2020 18:51:15
28,800
2eb2ed76fa66ec2847e684eaeaa97f6da06a0db0
Update macOS documentation to source SDL2 and SDL2_Image from homebrew
[ { "change_type": "MODIFY", "old_path": "docs/macOS.md", "new_path": "docs/macOS.md", "diff": "@@ -52,17 +52,10 @@ If you want to run code on 32Blit, you should now refer to [Building & Running O\n## Building & Running Locally\n-You'll need to build and install SDL2:\n+You'll need to install `SDL2` a...
C
MIT License
pimoroni/32blit-beta
Update macOS documentation to source SDL2 and SDL2_Image from homebrew
510,652
29.02.2020 19:33:25
0
7785812d88d6d93b1f3ab4a0d52fb67e9e21d7d3
Update 32Blit-Firmware.md The section is already called 'flashing the firmware'. Naming the sections that too seems ott
[ { "change_type": "MODIFY", "old_path": "docs/32Blit-Firmware.md", "new_path": "docs/32Blit-Firmware.md", "diff": "@@ -41,7 +41,7 @@ make flash-loader\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, thi...
C
MIT License
pimoroni/32blit-beta
Update 32Blit-Firmware.md The section is already called 'flashing the firmware'. Naming the sections that too seems ott
510,667
01.03.2020 21:31:53
-3,600
5e9d386780f2b4870317092aabd12867211059e9
Filesize next to filename, for files on SD card
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -69,6 +69,17 @@ void FlashLoader::FSInit(void)\n{\n//printf(\"%s %lu\\n\\r\", fno.fname, fno.fsize);\nstrncpy(m_filenames[m_uFileCount], fno.fname, MAX_F...
C
MIT License
pimoroni/32blit-beta
Filesize next to filename, for files on SD card
510,667
01.03.2020 23:56:07
-3,600
16992e27f9778e13fc9d410c2a1056eb8c794947
Fixed : unable to flash program from SD to internal flash
[ { "change_type": "MODIFY", "old_path": "firmware/flash-loader/flash-loader.cpp", "new_path": "firmware/flash-loader/flash-loader.cpp", "diff": "@@ -69,16 +69,17 @@ void FlashLoader::FSInit(void)\n{\n//printf(\"%s %lu\\n\\r\", fno.fname, fno.fsize);\nstrncpy(m_filenames[m_uFileCount], fno.fname, MAX_...
C
MIT License
pimoroni/32blit-beta
Fixed : unable to flash program from SD to internal flash
510,670
02.03.2020 11:25:39
0
8875b627226a8d6235536caa6fb17bc6a01f73e8
Disable audio amp when no audio being generated. Ahh the sweet sound of silence.
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -93,10 +93,6 @@ bool blit_sd_detected() {\nreturn HAL_GPIO_ReadPin(GPIOD, GPIO_PIN_11) == 1;\n}\n-void blit_enable_amp() {\n- HAL_GPIO_WritePin(AMP_SHUTDOWN_GPIO_Port, AMP_SHUTDOW...
C
MIT License
pimoroni/32blit-beta
Disable audio amp when no audio being generated. Ahh the sweet sound of silence.
510,640
02.03.2020 14:50:35
0
37eaed6d9572b51359683e3a7631a96392cfb903
Interrupt on GPIO_PIN_5 for system menu
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Inc/stm32h7xx_it.h", "new_path": "32blit-stm32/Inc/stm32h7xx_it.h", "diff": "@@ -67,6 +67,7 @@ void TIM3_IRQHandler(void);\nvoid TIM4_IRQHandler(void);\n//void TIM6_DAC_IRQHandler(void);\nvoid OTG_HS_IRQHandler(void);\n+void EXTI9_5_IRQHandler(voi...
C
MIT License
pimoroni/32blit-beta
Interrupt on GPIO_PIN_5 for system menu
510,640
02.03.2020 15:06:46
0
4fe728cd8e7bf0f442525c6cd57a46350b1bd4ad
Change reset to firmware button to plastic HOME
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/main.c", "new_path": "32blit-stm32/Src/main.c", "diff": "@@ -148,7 +148,7 @@ int main(void)\n#if (INITIALISE_QSPI==1)\nqspi_init();\n- if((persist.reset_target == prtGame) && !HAL_GPIO_ReadPin(BUTTON_HOME_GPIO_Port, BUTTON_HOME_Pin))\n+ if((pe...
C
MIT License
pimoroni/32blit-beta
Change reset to firmware button to plastic HOME
510,640
02.03.2020 15:07:22
0
e817437ab5700267fee62e2e0e52302b5d8f4d2c
Disable button interrupt when switching execution
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -675,6 +675,7 @@ void blit_switch_execution(void)\nHAL_NVIC_DisableIRQ(DMA1_Stream1_IRQn);\nHAL_NVIC_DisableIRQ(TIM6_DAC_IRQn);\nHAL_NVIC_DisableIRQ(OTG_HS_IRQn);\n+ HAL_NVIC_Disa...
C
MIT License
pimoroni/32blit-beta
Disable button interrupt when switching execution
510,640
02.03.2020 15:18:58
0
dd094ce813aa1583849842fd4c7a5b30e4e9afa5
Kludge to avoid rendering firmware menu behind system menu
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -293,7 +293,13 @@ void blit_menu_update(uint32_t time) {\n}\nvoid blit_menu_render(uint32_t time) {\n+#if EXTERNAL_LOAD_ADDRESS == 0x90000000 // TODO We probably need a nicer way ...
C
MIT License
pimoroni/32blit-beta
Kludge to avoid rendering firmware menu behind system menu
510,640
02.03.2020 15:38:15
0
90c54bc6d0ce985858d7c64118ca4b1ece06a26c
Simplify system button handling
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -47,6 +47,8 @@ bool needs_render = true;\nuint32_t flip_cycle_count = 0;\nfloat volume_log_base = 2.0f;\n+uint32_t home_button_pressed_time = 0;\n+\n__attribute__((section(\".pers...
C
MIT License
pimoroni/32blit-beta
Simplify system button handling
510,640
02.03.2020 15:47:25
0
db2a7dd0c21f9ed69cd5846b49e7a85b0662fb69
Debounce, longer hold time
[ { "change_type": "MODIFY", "old_path": "32blit-stm32/Src/32blit.c", "new_path": "32blit-stm32/Src/32blit.c", "diff": "@@ -47,6 +47,8 @@ bool needs_render = true;\nuint32_t flip_cycle_count = 0;\nfloat volume_log_base = 2.0f;\n+const uint32_t long_press_exit_time = 1000;\n+\nuint32_t home_button_pres...
C
MIT License
pimoroni/32blit-beta
Debounce, longer hold time