Age | Commit message (Collapse) | Author |
|
Use a test body with a proper RTEMS application configuration to avoid a
dependency on the default configuration. Do not include
<rtems/score/cpuopts.h> directly since this header file is an
implementation detail.
Update #3551.
|
|
closes #3424.
|
|
There is no `bin` directory anymore with RTEMS 5 so the test fails. Check
for the `share/rtems<version>` directory.
Closes #3500.
|
|
In the current version of libbsd, if the --show-commands option is used,
the cwd is passed as a Nod3. Popen does not work with that. Therefore
create a string from cwd if it isn't already.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If the --show-commands is set, the cmd-string is joined for printing.
This breaks a later Popen call that expects an array instead of an fully
assembled string. This patch fixes the problem.
|
|
|
|
|
|
|
|
|
|
To use add to your wscript file:
rtems.root_filesystem(bld, 'rootfs',
['etc/rc.conf'],
'rootfs.tar', 'rootfs-tar.o')
to create a rootfs-tar.o which you add to your executable's list of
sources.
In your main or Init function add:
#include <rtems/untar.h>
extern int _binary_rootfs_tar_start;
extern int _binary_rootfs_tar_size;
static void expand_rootfs_tarfile(void)
{
rtems_status_code sc;
rtems_printer printer;
rtems_print_printer_printf(&printer);
sc = Untar_FromMemory_Print((void *)(&_binary_rootfs_tar_start),
(size_t)&_binary_rootfs_tar_size,
&printer);
if (sc != RTEMS_SUCCESSFUL)
fprintf(stderr, "error: untar failed: %s\n", rtems_status_text(sc));
}
Note, some arch's may not need the '_' at the start of the tar symbols.
|
|
|
|
|
|
|
|
message.
Allow an application the ability to set a version number for RTEMS. This avoids
issues with the automatic detection code. It means an application becomes keyed
to a specific version of RTEMS.
Check the environment for variables being set that could effect a build. We
allow the environment to do this but it can have a side effect such as CC being
set for one architecture and the rtems_waf being asked to use another.
Print the version of CC being used. This is a diagnostic.
|
|
|
|
|
|
|
|
|
|
Now the configuration is quite simple for standard installations, e.g.
waf configure --prefix=/opt/rtems-4.12 --rtems-bsps=sparc/sis
|
|
Close #2440.
|
|
Set mandatory C++ standard option in case SMP is enabled.
Close #2418.
|
|
|
|
|
|
|
|
The handler is called with the BSP environment set up so the
user can perform various checks.
|
|
Reported by Chirayu Desai <chirayudesai1@gmail.com> here ..
https://gist.github.com/chirayudesai/c7dce587edc493e2afbf/raw/8b9643dca3fc966b77cb5e7fc72d5408e82b5dc9/0001-add-a-gitignore-file.patch
|
|
|