a5c40f706a
Revert "Use inline-asm feature in cortex-m"
...
This reverts commit 9305d766d1aa52b8c2997cd38d75a24b2700acfd.
2025-03-31 13:08:18 +08:00
9305d766d1
Use inline-asm feature in cortex-m
...
Reduces function call overhead, since external assembly can be avoided.
2025-03-17 21:46:34 +08:00
1f406fad38
Update cortex-m to 0.7
2025-03-17 21:46:34 +08:00
1e50c8ce6a
Update uom to 0.36
2025-03-03 17:41:40 +08:00
8a95eb9fb1
Update panic-halt to v1.0.0
...
Removes panic message strings embedded in the binary, since v1.0.0
finally removed the compiler optimisation fence for it (c.f. past buggy
compiler versions).
2025-02-17 17:02:07 +08:00
b93e2fbb7b
Update rust edition
2024-01-17 15:29:56 +08:00
8008870bc1
Switch panic_handler to panic_halt
...
Move away from panic_abort as it uses intrinsics, which is nightly only.
2024-01-17 15:29:15 +08:00
e6f63ec940
cargo/nix: update rustc, stm32-eth, smoltcp
2022-03-02 17:21:17 +08:00
67446ae99e
cargo/flake: update package versions
2022-03-02 17:21:17 +08:00
dc41473493
update dependencies
2020-12-16 19:21:23 +01:00
ff91dd7baa
Cargo.toml: obtain sfkv and stm32f4xx-hal via git
2020-12-13 02:29:35 +01:00
880a887c40
new flash-based ipv4 config with additional mask_len, gateway
2020-12-12 23:44:16 +01:00
383ebcd8e4
rewrite config for sfkv-based flash_store
2020-12-12 01:25:07 +01:00
d517dd75fe
update dependencies
2020-10-30 15:03:57 +01:00
9e5a58cafd
main: switch reports to json serialization
2020-09-27 23:58:03 +02:00
254c1c3d73
remove now unneeded uom feature use_serde
2020-09-24 21:33:42 +02:00
d40a038c2f
config: switch to postcard encoding
2020-09-24 02:06:53 +02:00
5d0d75d395
config: encode with serde_cbor
2020-09-24 01:18:33 +02:00
201701ee8b
implement mac address generation with reading eui48 from i2c eeprom
2020-09-24 00:19:07 +02:00
bb26490153
unit: replace with uom
2020-09-13 23:13:51 +02:00
42587810cd
usb: add serial logger
2020-09-10 23:17:31 +02:00
a3df2bc685
update to newer stm32-eth
2020-09-03 21:38:56 +02:00
8d532dc50a
Cargo.toml: use patch for dependency stm32f4xx-hal
2020-03-23 00:28:24 +01:00
b345cc0865
use embedded_hal through stm32f4xx_hal instead of direct dependency
...
this will aid maintainability.
2020-03-21 00:22:38 +01:00
e5b4789304
replace dependency lexical-core with num-traits
2020-03-19 19:51:59 +01:00
69a4f5a5d2
merge the network code
2020-03-13 23:39:22 +01:00
f021ebd6e6
pins: setup PwmPins
2020-03-12 17:26:14 +01:00
71c1f8441c
more dependency updates
2020-03-11 23:12:08 +01:00
2f50071afa
switch to stm32f427, setup eth pins
2020-03-09 00:36:19 +01:00
72b44b4b22
update dependency stm32f4xx-hal to 0.7
2020-03-09 00:07:56 +01:00
573d5ed6c8
update rust and smoltcp
2020-03-08 23:49:56 +01:00
27d5684782
rename to thermostat
2019-06-01 10:14:32 +08:00
2583de36a8
bump dependencies to now stable versions
2019-05-09 20:56:25 +02:00
acb2709783
Cargo.toml: simplify 'panic-abort' dependency
2019-03-25 17:06:40 +01:00
2d758af9e4
add feature "generate-hwaddr" to generate indivudal MAC addrs from device electronic signature
2019-03-21 17:41:33 +01:00
7d50391af0
nix: build with fetchcargo
2019-03-18 23:09:54 +01:00
58ac89b66e
LICENSE: add GPL-3
2019-03-18 21:47:18 +01:00
2b65b1daf1
Cargo.toml: reduce unneeded smoltcp features
2019-03-15 14:19:50 +01:00
384b537555
net: maintain NET_PENDING flag
2019-03-14 22:02:25 +01:00
348928ba41
Cargo.toml: point stm32f4xx-hal+stm32-eth dependencies to git
2019-03-14 20:23:57 +01:00
c1b0e54550
use semihosting with a feature-flag
2019-03-14 19:58:41 +01:00
c7c5a733f9
add net+server modules
2019-03-12 22:52:39 +01:00
d4e8a131ca
Cargo.toml: add release flags
2019-03-11 18:25:13 +01:00
03b2bbb6d1
Cargo.toml: add repository link
2019-03-11 18:24:57 +01:00
03af97ef5e
Add adc_input
2019-03-11 18:24:49 +01:00
51ee455fe7
create nix build infrastructure
2019-03-07 16:27:33 +01:00