I'm using the target arm-linux-musleabihf for ARM v6 (Raspberry Zero is v6) with musl and hard float.
Following instructions from Rust (and C) Cross Compilation for the Raspberry Pi.
Create an output directory:
| #!/bin/bash | |
| # | |
| # This script prints an overview of the escape sequences for changing the | |
| # terminal text and background colors using escape sequences. | |
| name030="Black " | |
| name130="Gray " | |
| name031="Red " | |
| name131="Light Red " | |
| name032="Green " |
| #!/bin/bash | |
| # Script to check copyright headers in RAP | |
| # Usage: check-copyright.sh <file or folder> | |
| # | |
| # Checks for latest change of the file. For every file that has been | |
| # changed in the current year, but does not have a copyright header | |
| # with this year in it, a message is prepended to the file. | |
| if [ $# -lt 1 ]; then | |
| echo missing argument |
| #!/bin/bash | |
| # | |
| # Tool to maintain p2 composite repositories | |
| USAGE="Usage: | |
| `basename "$0"` <repo-dir> [options] operation, operation ... | |
| Options: | |
| --name <repo name> | |
| the repository name | |
| --eclipse <eclipse install dir> |
| #!/bin/bash | |
| mode= | |
| window= | |
| usage() { | |
| echo "Usage: $0 [on|off|toggle] [window]" | |
| echo " default is to toggle fullscreen mode" | |
| echo " window is a string contained in the window's title" | |
| exit |
| #!/bin/bash | |
| # | |
| # Tool to turn eclipse directories into p2 repositories | |
| USAGE="Usage: | |
| `basename "$0"` <repo-dir> [options] | |
| Options: | |
| --name <repo name> | |
| the repository name | |
| --eclipse <eclipse install dir> |
| /******************************************************************************* | |
| * Copyright (c) 2013 EclipseSource. | |
| * All rights reserved. This program and the accompanying materials | |
| * are made available under the terms of the Eclipse Public License v1.0 | |
| * which accompanies this distribution, and is available at | |
| * http://www.eclipse.org/legal/epl-v10.html | |
| * | |
| * Contributors: | |
| * Ralf Sternberg - initial API and implementation | |
| ******************************************************************************/ |
| /******************************************************************************* | |
| * Copyright (c) 2014 EclipseSource. | |
| * All rights reserved. This program and the accompanying materials | |
| * are made available under the terms of the Eclipse Public License v1.0 | |
| * which accompanies this distribution, and is available at | |
| * http://www.eclipse.org/legal/epl-v10.html | |
| * | |
| * Contributors: | |
| * Ralf Sternberg - initial implementation and API | |
| ******************************************************************************/ |
| const tabris = require('tabris'); | |
| /** | |
| * Tabris 1.x compatible Picker | |
| * Does not include compatibility for events | |
| */ | |
| class Picker_1 extends tabris.Picker { | |
| constructor(properties) { | |
| super(Object.assign({ |
| const tabris = require('tabris'); | |
| /** | |
| * Tabris 1.x compatible CollectionView | |
| * Does not include compatibility for events | |
| */ | |
| class CollectionView_1 extends tabris.CollectionView { | |
| constructor(properties) { | |
| super(properties); |
I'm using the target arm-linux-musleabihf for ARM v6 (Raspberry Zero is v6) with musl and hard float.
Following instructions from Rust (and C) Cross Compilation for the Raspberry Pi.
Create an output directory: