Simon Wright

Results 32 issues of Simon Wright

... for instance, as ``` temeraire:test-stm32f4 simon$ gprbuild -P testbed -c -u -f iteration.adb Compile [Ada] iteration.adb iteration.adb:52:07: warning: in instantiation at a-cobove.adb:263 [-gnatwj] iteration.adb:52:07: warning: array aggregate using ()...

wontfix

You can’t say, for example, ``` Fixed_Delta : constant := 0.001; type Fixed is delta Fixed_Delta range -100.0 .. +100.0 with Small => Fixed_Delta; F : Fixed; ``` and then...

Since the testbeds (excluding the Arduino Due) rely on the Ada Drivers Library, there should be a mention of this in the installation instructions.

[This paper](http://www.nadler.com/embedded/newlibAndFreeRTOS.html) goes into considerable detail about dealing with the fact that some newlib functions (e.g. `printf` family) use an internal `malloc()` which is not reentrant. Reentrancy can be supported...

enhancement
question

In `freertos_bindings.c`, `_gnat_yield_from_isr()` calls `portEND_SWITCHING_ISR()`, but there’s a suggestion on the [FreeRTOS forums](https://forums.freertos.org/t/tasks-waiting-on-queues-get-stuck/10964/12) that `portYIELD_FROM_ISR()` would be appropriate.

(migrated from [Sourceforge](https://sourceforge.net/p/cortex-gnat-rts/tickets/4/)). `Ada.Real_Time.Clock` only produces valid values within the first 50 days after system startup. (Or maybe only 25 days? since the clock is signed and starts at 0).

The underlying FreeRTOS memory allocator `assert`s that it’s not in an interrupt context. This means you can’t `new` inside a protected handler.

wontfix

Found on macOS, don’t know whether it happens with others. With your released alr 1.2.0 for macOS, `alr version` reports os: MACOS. Building 877ef22 (1.3.0-dev) with alr 1.2.0, `alr version`...

type: bug
cost: 0-trivial

I’ve made a couple of crates now (one pending, one new) with the test crate in a subdirectory. One of the crates’ test program takes no parameters, and this works...

type: bug

Having applied [this fix](https://github.com/AdaCore/e3-core/pull/518) to `e3-core` I get the following failures with d34cc53. ``` INFO FAIL pin__recursive-local: non-zero status code INFO FAIL printenv__compiler-indirect: non-zero status code INFO FAIL pin__dir-mismatch: non-zero...