circuitpython/tools
Radomir Dopieralski 2c7b11b1af displayio.Bitmap is now byte-aligned for depth < 8
The traditional layout of pixels in bitmaps of depth less than eight
is with the order of values in a byte reversed, but with bytes in
the same order as the pixels on the line.

Before now, displayio.Bitmap did reverse the values, but did it on a
word (four bytes) basis, not byte, which resulted in groups of four
bytes being in the order opposite to the screen order.

This patch fixes this, by making processing of pixels in bitmaps of
depth less than 8 bits based on bytes, not words. Since the internal
details are changing, any code that accessed bitmaps through the
memoryview buffer, or that created bitmaps directly from raw data,
and that used depth of less than 8 bits will be affected.

Therefore, the gen_display_resources.py script also had to be modified
to account for the changes.
2024-08-05 23:14:55 +02:00
..
adabot@f879b24c5f update tools/adabot submodule 2021-08-11 23:14:58 -04:00
autobuild Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
bitmap_font@62dd78abdd Hook up the terminal based on the first display. 2019-01-31 11:42:14 -08:00
board_stubs Merge pull request #9410 from elpekenin/fix/9407 2024-07-06 15:46:42 -04:00
fonts Fix number of chars in default font to make it valid bdf. 2021-08-15 14:31:58 -05:00
huffman@27b1bba761 Compress all translated strings with Huffman coding. 2018-08-16 17:40:57 -07:00
mpremote/mpremote Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
python-semver@2001c62d1a merge from 2.2.0 + fix up board defs 2018-01-02 21:25:41 -05:00
Tecate-bitmap-fonts@6f52a7ca08 Begin font parsing and packing for terminal 2019-01-31 11:42:13 -08:00
uf2@27e322fcdc update tools/uf2 2023-11-22 10:54:37 -05:00
.gitattributes micropython-upip: Mark as binary file and re-commit. 2015-06-06 23:09:23 +03:00
.gitignore tools: check-in errordeveloper/tinytest@eb2dbc858f 2014-05-08 01:41:21 +03:00
analyze_heap_dump.py Merge remote-tracking branch 'adafruit/8.2.x' into merge_in_8.2.x 2024-02-13 11:18:56 -08:00
analyze_mpy.py Make natmods work again. 2023-08-19 16:59:13 -05:00
black_bindings.py Tweak black_bindings 2022-09-30 11:18:13 -05:00
board_summaries.py move board_summaries.py to tools 2024-05-29 15:59:52 -07:00
build-stm-latest.sh tools: Remove obsolete build-stm-latest.sh script. 2021-06-23 16:59:20 +10:00
build_board_info.py Merge pull request #8934 from jepler/exit-with-failure-please 2024-02-16 12:29:13 -05:00
build_memory_info.py conditionally build all languages 2023-03-04 15:08:54 +05:30
build_release_files.py .github: -j4 instead of -j2; separate names for docs builds 2024-01-24 23:11:14 -05:00
cc1 tools: Add C middle-processor to make builtin tables proper hash tables. 2015-12-31 00:24:33 +00:00
chart_code_size.py update to py tests and scripts due to black 22.1.0 2022-01-29 17:14:01 -05:00
check_translations.py missed a spot to update filename to synthetic.pot 2023-11-16 07:27:06 -06:00
ci.sh initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
ci_changes_per_commit.py Add pre-commit changes (black 24.11) formattings changes 2024-02-12 16:56:21 -05:00
ci_check_duplicate_usb_vid_pid.py Update tools/ci_check_duplicate_usb_vid_pid.py - add comma 2024-06-19 16:20:16 -04:00
ci_fetch_deps.py fix a few regexps that are better as raw strings 2024-05-21 18:26:26 -04:00
ci_set_matrix.py use raw string for grep regexp 2023-11-10 22:42:42 -05:00
circuitpy_header_change.py save header change tool for posterity 2024-05-17 14:56:28 -04:00
codeformat.py Leave MP tests as-is 2024-02-13 13:32:08 -08:00
codestats.sh initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
convert_release_notes.py tools/convert_release_notes.py: Update to mistune 3; add code blocks 2024-02-20 12:59:27 -05:00
cortex-m-fault-gdb.py Add Pimoroni Inky Frame 5.7 2023-05-11 12:12:34 -07:00
cpboard.py Fix .bin, .hex and .uf2 with new linker sections 2023-03-20 14:02:57 -07:00
describe cache common submodules and share cp version 2023-01-14 10:58:04 +05:30
dfu.py Merge tag 'v1.18' 2022-02-15 12:36:26 -06:00
diff_nm_sizes.py Shrink bluemicro833 build 2022-03-11 16:04:12 -08:00
extract_pyi.py run updated pre-commit 2023-02-01 13:38:41 +05:30
file2h.py codeformat 2021-04-19 22:22:44 -07:00
fixup_translations.py run code formatting script 2021-03-15 19:27:36 +05:30
fwsizes.py fix a few regexps that are better as raw strings 2024-05-21 18:26:26 -04:00
gc_activity.html Add heap analysis scripts based on GDB breakpoint logs. 2016-11-23 17:31:53 -08:00
gc_activity.md Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
gc_activity.py run code formatting script 2021-03-15 19:27:36 +05:30
gc_activity_between_collects.py run code formatting script 2021-03-15 19:27:36 +05:30
gdb-stack-size.py Slim down stack frames 2023-06-06 16:20:47 -07:00
gen-changelog.sh Add license to some obvious files. 2020-07-06 19:16:25 +01:00
gen_crt_bundle.py run updated pre-commit 2023-02-01 13:38:41 +05:30
gen_display_resources.py displayio.Bitmap is now byte-aligned for depth < 8 2024-08-05 23:14:55 +02:00
gen_ld_files.py fix a few regexps that are better as raw strings 2024-05-21 18:26:26 -04:00
gen_nvm_devices.py Switch devices.h to nvm.toml data 2021-03-25 09:57:18 -07:00
gen_web_workflow_static.py add back /edit/ handler and specify ES6 quote chars for jsmin 2022-07-15 19:49:03 -05:00
git-checkout-latest-tag.sh checkout-latest-tag: Exit with error in the case of any failures 2023-11-21 08:54:07 -06:00
hci_trace_to_pcap.py fix a few regexps that are better as raw strings 2024-05-21 18:26:26 -04:00
insert-usb-ids.py Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
join_bins.py Add license to some obvious files. 2020-07-06 19:16:25 +01:00
make-frozen.py tools/makemanifest.py: Merge make-frozen.py. 2021-12-17 23:54:05 +11:00
makemanifest.py fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
manifestfile.py docs,tools: Change remaining "urequests" references to "requests". 2023-10-05 14:04:45 +11:00
merge_micropython.py rename ports/nrf to ports/nordic 2024-03-19 17:36:57 -04:00
metrics.py tools/metrics.py: Fix esp32 and esp8266 board names after renaming. 2023-10-04 15:44:25 +11:00
mpconfig_category_reader.py run code formatting script 2021-03-15 19:27:36 +05:30
mpy-tool.py change CIRCUITPY change markers to CIRCUITPY-CHANGE 2023-10-19 16:42:36 -04:00
mpy_bin2res.py Add license to some obvious files. 2020-07-06 19:16:25 +01:00
mpy_cross_all.py Merge tag 'v1.18' 2022-02-15 12:36:26 -06:00
mpy_ld.py Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
msgfmt.py use python based msgfmt 2023-02-13 11:22:35 +05:30
output_gc_until_repl.txt Update gc tracking instructions and gdb commands. 2020-02-11 17:05:43 -08:00
preprocess_frozen_modules.py Touch up 2023-03-23 09:24:11 -04:00
print_status.py run code formatting script 2021-03-15 19:27:36 +05:30
pyboard.py Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
pydfu.py all: Fix various spelling mistakes found by codespell 2.2.6. 2023-10-03 11:24:50 +11:00
safe_mode_finder.py Add ability to disable BLE workflow 2021-08-02 18:37:19 -07:00
stack-loc-to-pc.py Slim down stack frames 2023-06-06 16:20:47 -07:00
swo_function_trace.py Improve iMX RT performance 2023-03-14 12:30:58 -07:00
swo_viewer.py Improve iMX RT performance 2023-03-14 12:30:58 -07:00
test-stubs.sh allow circuitpython[-_]stubs-*.tar.gz 2024-04-16 19:29:22 -04:00
tinytest-codegen.py Initial MicroPython v1.21.0 merge; not compiled yet 2023-10-18 17:49:14 -04:00
uf2families.json tools/uf2conv.py: Update to latest version. 2022-02-02 23:43:58 +11:00
uncrustify.cfg initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
verifygitlog.py spelling 2023-09-20 11:27:25 -05:00