Sebastien Bourdeauducq
a5b7e958f8
flake: update dependencies
2022-05-31 18:25:08 +08:00
Sebastien Bourdeauducq
667f36a2e7
gui: fix Python 3.10 PyQt float/int issues. Closes #1887
2022-05-29 08:43:25 +08:00
Sebastien Bourdeauducq
7cff63e539
frontend: use sipyco SignalHandler ( #1063 )
2022-05-27 15:17:33 +08:00
Sebastien Bourdeauducq
df1b19082c
flake: update dependencies
2022-05-27 15:14:11 +08:00
Sebastien Bourdeauducq
d478086119
flake: support impure derivation for HITL test
2022-05-26 12:00:40 +08:00
Sebastien Bourdeauducq
18a08954c1
flake: update comtools
2022-05-25 15:48:17 +08:00
Sebastien Bourdeauducq
57086e2349
flake: update nixpkgs
2022-05-25 14:20:04 +08:00
mwojcik
cf8e583847
comm_mgmt: expect error on config_read
2022-05-19 16:48:59 +08:00
mwojcik
d24a36a02a
comm_mgmt: fix read_expect
2022-05-19 16:48:59 +08:00
mwojcik
4bdb4c8e11
config: error instead of empty value if key not found
2022-05-19 16:48:59 +08:00
Sebastien Bourdeauducq
8599be5550
flake: update nixpkgs
2022-05-18 19:04:52 +08:00
Sebastien Bourdeauducq
9896d78e07
afws_client: update
2022-05-18 19:04:13 +08:00
kk1050
70503bee6f
dashboard: add dataset rename feature ( #1893 )
...
Co-authored-by: kk105 <kkl@m-kabs.hk>
2022-05-18 17:07:43 +08:00
Laurent Stephenson
16393efa7c
fix issue #1890 : make dashboard use moninj port from device_db
...
Signed-off-by: Laurent Stephenson <laurent.stephenson@nist.gov>
2022-05-13 06:23:59 +08:00
David Nadlinger
8a7af3f75c
compiler: Fix "nowrite" miscompilation for sret functions
...
This affected e.g. rtio_input_timestamped_data().
2022-05-07 21:43:55 +01:00
Spaqin
35f30ddf05
Expose TTLClockGen for Kasli JSONs ( #1886 )
2022-05-06 13:33:42 +08:00
Sebastien Bourdeauducq
c440f9fe1b
flake: update dependencies
2022-05-04 08:28:55 +08:00
Sebastien Bourdeauducq
69b6426800
flake: use importCargoLock
2022-04-24 14:02:59 +08:00
Michael Birtwell
50dbda4f43
Use new ip_addr_storage module instead of net_settings
...
Necessary to avoid needing the alloc only trait impls in net_settings
when compiling the bootloader.
2022-04-24 10:10:43 +08:00
Michael Birtwell
95378cf9c9
Centralise all uses of the IPv4 index in net_settings.rs
2022-04-24 10:10:43 +08:00
Michael Birtwell
671453938b
Require explicitly closing TcpStreams
...
Instead of automatically closing and draining the TcpStream in the Drop
implementation instead expect the user to call TcpStream::close.
Add close called to all users of TcpStream.
Document the requirement to call close on TcpListener::accept, this seems
to be the only way to get a new TcpStream at the moment.
2022-04-24 10:10:43 +08:00
Michael Birtwell
1fe59d27dc
Use an Ipv4AddrConfig enum instead of the USE_DHCP constant
2022-04-24 10:10:43 +08:00
Michael Birtwell
73082d116f
Ensure that pending data is sent when closing sockets
...
This is only necessary if close hasn't been called on the socket
but that's not always done. e.g. by the core analyzer server.
2022-04-24 10:10:43 +08:00
Michael Birtwell
596b9a265c
Prefer DHCP to the built-in static IPs
...
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-24 10:10:42 +08:00
Michael Birtwell
6ffb1f83ee
DHCP support for core device firmware
...
DHCP is enabled by setting the `ip` config entry to "use_dhcp". Reusing this
config field rather than creating a new one means that there is no ambiguity
over which config field takes precedence.
Adds a thread to configure the interface based on DHCP events
Adds a `Dhcpv4Socket` as a wrapper around smoltcp's version
Formalises the storage of the IP addresses so that we can update one in
another module.
There's also a workaround for the first DHCP discover packet frequently
going missing.
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-24 10:10:14 +08:00
Michael Birtwell
c60de48a30
Upgrade smoltcp 0.6.0 -> 0.8.0
...
Main changes:
Deal with interfaces now being generic over mediums, update interface name
and initialisation.
Interfaces now own their sockets. So we store a reference to the Interface
instead of the SocketSet in Scheduler and IO.
Sockets are no longer reference counted. We never called the function to
increase the socket's reference count, so now we just remove it where it
was previously released. This will result in the socket being dropped at
a different time, but I think that should be fine.
Tested firmware upload to the bootloader and spamming artiq_coremgmt log
calls to download the log from the firmware.
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-24 10:09:27 +08:00
Suthep Pomjaksilp
06ad76b6ab
applets: add progress bar applet
...
Signed-off-by: Suthep Pomjaksilp <pomjaksi@physik.uni-kl.de>
2022-04-22 09:27:28 +08:00
David Nadlinger
b2b84b1fd6
test: Fixup 6b5c390d4
typo
2022-04-22 00:29:03 +01:00
David Nadlinger
6b5c390d48
compiler: Fix #1871 (array() breaks math functions)
...
GitHub: Fixes #1871 .
2022-04-22 00:12:20 +01:00
David Nadlinger
2cb08814e8
flake: Add compiler test prerequisites to devShell
...
Useful while working on the legacy compiler.
2022-04-21 23:47:23 +01:00
Sebastien Bourdeauducq
58b59b99ff
flake: update dependencies
2022-04-19 11:04:49 +08:00
Sebastien Bourdeauducq
fa3ee8ad23
flake: update sipyco
2022-04-12 08:54:58 +08:00
Michael Birtwell
cab9d90d01
Use sipyco.keepalive
...
Remove the implementation of setting keepalive settings on sockets and use
the implementation from sipyco instead.
Signed-off-by: Michael Birtwell <michael.birtwell@oxionics.com>
2022-04-12 08:53:35 +08:00
Sebastien Bourdeauducq
0a029748ee
flake: update dependencies
2022-04-09 17:24:44 +08:00
Leon Riesebos
386391e3f9
browser: support datasets that use h5 group notation
...
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
2022-04-07 18:18:13 +08:00
Leon Riesebos
b5dc9fd640
browser: cleanup datasets panel for empty h5 files
...
this fix makes sure the datasets panel is cleared if an h5 file is empty or the datasets and archive groups are empty
2022-04-07 18:18:05 +08:00
Sebastien Bourdeauducq
c82c358f3a
runtime: provide/fix more libc mem functions
2022-03-28 13:33:57 +08:00
Sebastien Bourdeauducq
723f41c78b
runtime: fix EXCEPTION_ID_LOOKUP
2022-03-26 20:10:24 +08:00
Sebastien Bourdeauducq
866a83796a
firmware: add UnwrapNoneError exception
2022-03-26 15:28:13 +08:00
Timothy Ballance
f91e106586
llvm_ir: fixed broken code in previous patch
2022-03-22 18:50:58 +08:00
Timothy Ballance
a289d69883
llvm_ir: fixed stack leak on ffi call
2022-03-22 09:00:40 +08:00
Sebastien Bourdeauducq
f89275b02a
master: fix compiler access to source code with submit-by-content
2022-03-20 18:08:04 +08:00
Sebastien Bourdeauducq
65d2dd0173
fix compilation warning
2022-03-20 16:15:01 +08:00
Sebastien Bourdeauducq
6b33f3b719
update vivado
2022-03-20 16:09:58 +08:00
Sebastien Bourdeauducq
80d412a8bf
support submitting experiments by content
2022-03-20 12:58:55 +08:00
Sebastien Bourdeauducq
922d2b1619
drop support for big-endian moninj
2022-03-19 22:58:31 +08:00
Sebastien Bourdeauducq
d644e982c8
RELEASE_NOTES: update
2022-03-19 22:50:54 +08:00
Sebastien Bourdeauducq
ec1efd7af9
dashboard: connect to moninj via proxy
2022-03-19 22:50:36 +08:00
Sebastien Bourdeauducq
735133a2b4
artiq_dashboard: remove references to core device in moninj
2022-03-19 22:36:07 +08:00
Sebastien Bourdeauducq
207717c740
artiq_dashboard: fix handling of moninj comment
2022-03-19 22:33:31 +08:00