- Download tools: ResourceHacker and mssstyleEditor, then unpack them
- Download resources: Win8 theme for Win10, and then uppack it, we will need 'Windows 8 RP Themes for Windows 10\Theme\Themes For 10 Build 14393 Anniversary Update\Windows 8 RP\aero 8 RP.msstyle'.
- Open it with ResourceHacker, export IMAGE 1055:0 and IMERSIVE 1:0.
- Make a backup of the original aerolite.msstyles and make a copy of it to your working folder (arbitary)
- Open it with ResourceHacker, Go to 'Action -> Add an Image or Other Binary Resource' or hit Ctrl+M to open the "Add Binary Resource" Dialog. Choose the menu image resource file that is going to be used, then change the "Resource Type" to IMAGE and resource name to be what ever available, in my case, 993.
- Change the value of IMERSIVE 1:0, by importing the data from "aero 8 RP.msstyle"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# $1 - Return Variable, $2 - input relative path | |
function get_full_path() { | |
local __resultvar=$1 | |
local myresult="$(cd "$(dirname "$2")"; pwd -P)/$(basename "$2")" | |
eval $__resultvar="'$myresult'" | |
} | |
# $1 src, $2 dst, $3 and so on are blacklisted filename |
# Install docker and create a container
sudo apt install -y docker.io
sudo docker pull ubuntu:18.04
# create a container, bind folder ~/licheepi on the host side to /root inside the container
sudo docker start -ti -v ~/licheepi:/root ubuntu:18.04 /bin/bash
sudo docker start -i <container name>
http://wiki.emacinc.com/wiki/Mounting_JFFS2_Images_on_a_Linux_PC
#!/bin/bash
## Script to mount jffs2 filesystem using mtd kernel modules.
## EMAC, Inc. 2011
if [[ $# -lt 2 ]]
then
Install qemu and binfmt
sudo apt update
sudo apt install qemu-user-static
sudo update-binfmts --install i386 /usr/bin/qemu-i386-static --magic '\x7fELF\x01\x01\x01\x03\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00\x01\x00\x00\x00' --mask '\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xf8\xff\xff\xff\xff\xff\xff\xff'
You will need to reactivate this every time you restart WSL and want i386 support:
File > New > CCS Project
->Empty Project (with main.c)
- "Project Property" ->
Resource
->Linked Resources
, add a variable:INSTALLROOT_F2837XD
=${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}\device_support\f2837xd
. - "Project Property" ->
C/C++ Build
->Settings
-> Tab "Tool Settings", in"C2000 Compiler"/"Include Options"
, add an include path:${INSTALLROOT_F2837XD}/headers/include
, this includes all headers which contains all register definition. Add an include path:${PROJECT_LOC}/inc
, this folder will be populated with headers copied from TI's demo. - "Project Property" ->
C/C++ Build
->Settings
-> Tab "Tool Settings", in"C2000 Compiler"/"Predefined Symbols"
, define a macro:CPU1
- "Project Property" ->
C/C++ Build
->Settings
-> Tab "Tool Settings", in"C2000 Linker"/"File Search Path"
, add a search path:${INSTALLROOT_F2837XD}/headers/cmd
, also a add a library file:F2837xD_Headers_nonBIOS_cpu1.cmd
(--library, -I). - Create
src
andinc
folder i
STM32-MAT Script Fixes:
- Comment line 256:
fprintf('\n### Code Format : %s\n',buildOpts.codeFormat);
buildOpts.codeFormat
doesnt exist, the execution of this line throws an error and halt the code generation. I'm using Matlab 2019a, Windows 10 1803 x64, Stm32CubeMX 4.25 and STM32MatTarget_4.4.2_setup.exe - Search for "extModeIocUsartUpdate" and add "ioc_info = ioc_parse(ioc_path);" in the next line.
Note: this is a potential bug, the script creates a new ioc file if it cant find an existing one, but it doesnt read the new ioc file after creation. - Comment below (around line 164):
cset.set_param ('ExtMode','on');
cset.set_param ('ExtModeTransport',0);
cset.set_param('ExtModeMexFile','ext_serial_win32_comm');
Error Message: arm-none-eabi/lib/crt0.o: Conflicting CPU architectures
Due to a bug in Ubuntu Bionic, libnewlib-arm-none-eabi 2.4.0.20160527-4 is a broken version
- Download latest package from:
https://packages.ubuntu.com/cosmic/all/libnewlib-dev/download
andhttps://packages.ubuntu.com/cosmic/all/libnewlib-arm-none-eabi/download
- Install them with
sudo dpkg -i libnewlib-*.deb
Ref: https://github.com/bbcmicrobit/micropython/issues/514