mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-23 08:55:04 +00:00
- Updated LVGL from 8.3 to 9.0 (removed example/docs/demo folders) - Updated esp_lvgl_port to current status of the `lvgl9` branch on `esp-bsp`: https://github.com/espressif/esp-bsp/tree/lvgl9 - Updated all boards and drivers - Removed `libs/lv_drivers` subproject as SDL is now supported by LVGL directly (although keyboard input seems broken) - Updated `libs/lv_screenshot` - Fixed the way `tt_statusbar` widget works due to behaviour change in LVGL - Updated other lvgl code
20 lines
655 B
Python
Executable File
20 lines
655 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
|
|
script_dir = os.path.realpath(__file__)
|
|
script_dir = os.path.dirname(script_dir)
|
|
cfg_file = os.path.join(script_dir, 'code-format.cfg')
|
|
|
|
print("\nFormatting demos")
|
|
os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../demos/*.c,*.cpp,*.h"')
|
|
|
|
print("\nFormatting examples")
|
|
os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../examples/*.c,*.cpp,*.h"')
|
|
|
|
print("Formatting src")
|
|
os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../src/*.c,*.cpp,*.h"')
|
|
|
|
print("\nFormatting tests")
|
|
os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../tests/*.c,*.cpp,*.h"')
|