Christoph Honal
Christoph Honal
Hi, thanks for bringing this up, interesting idea. At the moment, the toolchain uses the gfortran runtime provided by GCC, which relies on libc. Emscripten then provides the needed libc/musl...
LFortran is a really cool project, but not yet complete enough to run most/all of the scientific codes I usually work with. See https://docs.lfortran.org/progress/ . I had a look at...
Hi, I have not continued to work on the LFortran branch since I got gfortran working - it was one of the many avenues I explored which did not end...
Thank you for the help. I configured the ppm parameter to be 500, and implemented a simple calibration loop: ``` void calibrate_loop(nrf_drv_clock_evt_type_t event) { // 16 * 0.25s = 4s...
Thanks for the link, I adjusted the calibration loop to this: ```c++ void calibrate_loop(nrf_drv_clock_evt_type_t event) { // 10 * 0.25s = 2.5s calibration cycle if (event == NRF_DRV_CLOCK_EVT_CAL_DONE) { NRF_LOG_INFO("Calibration...
I fixed the problem, I adjusted the file `nimble/drivers/nrf52/src/ble_phys.c` as follows: - Replaced `NRF_CLOCK->TASKS_HFCLKSTOP = 1` with `nrf_drv_clock_hfclk_release()` in `ble_phy_rfclk_disable` - Replaced `NRF_CLOCK->TASKS_HFCLKSTART = 1` with `nrf_drv_clock_hfclk_request()` in `ble_phy_rfclk_enable` (In...
@andrzej-kaczmarek Okay. It seems that the nrfx libs have no functionality to perform that reference counting, compare https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/nrfx_clock.c and https://github.com/jamesmunns/nRF5-sdk/blob/master/components/drivers_nrf/clock/nrf_drv_clock.c . I thought about checking `nrfx_clock_is_calibrating` before turning the hfclock...
I resolved the issue in the code I work on by applying the modification detailed above. However, that was in a custom fork of Nimble. My idea was to upstream...
Thank you for the suggestions! I agree that a platform-specific implementation kind of goes against the idea of being portable. However, I think we can work out a solution that...
I implemented the macro in `aes.h`, the code checks for `__AVR_ARCH__` to enable it. I did not want to use any Arduino-specific macros. The rest of the implementation is pretty...