Commit Graph

26 Commits

Author SHA1 Message Date
Fabien Chouteau
48a4f35c38 Optional style checks and warning as error switches
This patch makes style checks and warning as error switches controllable
with a scenario variable: ADL_BUILD_CHECKS (disabled by default).

With this we can enforce style checks on all contributions by enabling
ADL_BUILD_CHECKS in testsuite runs and CI builds.

On the other hand the checks are disabled by default which means it is
easier and more friendly to play with the library and the examples.

Part of #271
2018-09-03 20:00:01 +02:00
Fabien Chouteau
571f0d2f1a Remove unused project files 2018-04-27 21:16:41 +02:00
Fabien Chouteau
0d4618a793 configuration: Fix missing middleware source directory 2018-04-27 21:16:41 +02:00
Fabien Chouteau
2fcb440d7c configuration: Add a couple of FS related config keys 2018-04-27 21:16:41 +02:00
Fabien Chouteau
e7873c90a8 Update example projects for new board support projects 2018-04-27 21:16:40 +02:00
Fabien Chouteau
c2e3428feb Update board projects 2018-04-27 21:16:40 +02:00
Fabien Chouteau
36f137ad18 Fix "use clause for has no effect" errors 2018-03-09 16:59:59 +01:00
Fabien Chouteau
be4bc3b70a Filesystem.Native: Fix end of file handling 2018-02-02 18:35:21 +01:00
Fabien Chouteau
20ce0ef02f Filesystem.Native: Fix size info for directories 2018-02-02 18:18:13 +01:00
Fabien Chouteau
883e45fee5 Start file system documentation 2017-09-15 18:47:55 +02:00
Fabien Chouteau
1264de8c89 File_IO: Rename file modes 2017-09-15 18:47:55 +02:00
Fabien Chouteau
ddb422adbd File_IO: Add Create_File function 2017-09-15 18:47:55 +02:00
Fabien Chouteau
d2b93ca351 Filesystem: Create a "front-end" for file handling
in a package called File_IO. This hides some of the complexity of
dealing with access to handle and answers some of the questions
discussed in the issue #68.

The package also provides the mounting interface, taken from
Filesystem.VFS.
2017-09-15 18:47:55 +02:00
Fabien Chouteau
480067dffb Filesystem: Merge the two filesystem interfaces
And update the native implementation.
2017-09-15 18:47:55 +02:00
Fabien Chouteau
3a7945c20a Use new GPRbuild attribute: Create_Missing_Dirs
And remove now useless .gitignore files and empty directories.
2017-06-27 15:58:10 +02:00
Fabien Chouteau
59f97ee546 Boards: Fix projects and src paths 2017-06-27 14:52:18 +02:00
Fabien Chouteau
56efa4ac8a Boards: Move boards sources in src/ directory 2017-06-27 14:52:18 +02:00
Fabien Chouteau
a8997ad6c7 board_projects_generator.py: Move project files in corresponding board folder 2017-06-27 14:52:18 +02:00
Jerome Lambourg
b4acbb9ad9 Further refactor the board projects.
This commit in particular removes the need for aggregate projects.
2017-06-26 18:18:59 +02:00
Jerome Lambourg
1ee78d543f Remove the dependency over embedded-runtimes.
This build dependency won't work anymore with the next GNAT release as
runtimes will now require being installed into the compiler.

This commit also now generates automatically the board projects, to ease
the addition of new boards and runtimes, as well as taking into account
modifications refactoring of the library.
2017-06-26 18:16:05 +02:00
Fabien Chouteau
a8d47f02aa Fix Native.Filesystem after HAL type change 2017-02-13 21:30:25 +01:00
Fabien Chouteau
afbcb4b683 Native.Filesystem: Fix build failure 2016-12-22 18:15:35 +01:00
Fabien Chouteau
7083d31730 Native.Filesystem: Fix Seek()
Byte_IO.Set_Index starts at 1 where HAL.Filesystem starts at 0.
2016-11-13 21:18:46 +01:00
Pierre-Marie de Rodat
521e131c60 Add naive native implementations for HAL.Filesystem interfaces
These will make it possible to test Virtual_File_System in a native
configuration, and thus will ease automated testing.
2016-11-01 11:18:05 +01:00
Pierre-Marie de Rodat
0fe9a74e7f Add missing bits for working native targets 2016-11-01 11:18:05 +01:00