Commit Graph

28 Commits

Author SHA1 Message Date
anton smeenk
8399d96e24 Removed global static channel_out and moved to interrupt state. TODO: make feature switch for slave specific stuff 2023-11-10 18:00:59 +01:00
anton smeenk
601d769e71 2c slave based on transactions and a channel 2023-11-03 13:36:53 +01:00
anton smeenk
9474f1576a Fixing master read: first byte was flushed. Fixing set i2c_address_1. 2023-10-29 09:45:06 +01:00
anton smeenk
a03407d08c Searching for solution for vals::Omask not found. Is found locally, but not on build server 2023-10-28 08:58:08 +02:00
anton smeenk
26e37c673d Added public interfaces for vals::Dir and vals::Oamsk, so they can be used outside the crate 2023-10-28 08:25:41 +02:00
anton smeenk
0fe0bc60fe Merge remote-tracking branch 'origin/master' into feature-i2c-slave
# Conflicts:
#	examples/stm32g0/Cargo.toml
2023-10-27 14:58:43 +02:00
anton smeenk
ce066e92e7 Arbitration lost test is working. Still some test failing 2023-10-27 14:54:06 +02:00
anton smeenk
70a64e8dcb I2c slave is working now. Todo: enable and test master write-read transaction 2023-10-25 21:25:38 +02:00
anton smeenk
b1afd5141c Busy debugging the i2c slave 2023-10-21 12:11:32 +02:00
anton smeenk
007855423e Slave: write Starts working work in progress 2023-10-20 22:12:37 +02:00
anton smeenk
9424379268 Added i2c_master test case in examples 2023-10-15 10:54:57 +02:00
Adam Greig
0621e957a0
time: Update examples, tests, and other code to use new Timer::after_x convenience methods 2023-10-15 01:30:12 +01:00
dev-guruprasath
0ddabf0423 changed ADDR variable to addr 2023-07-31 15:37:01 +05:30
dev-guruprasath
b4d0f24bf9 changed ADDR variable to addr 2023-07-31 15:36:25 +05:30
dev-guruprasath
5a2f61a031 added working example for flash 2023-07-31 15:29:26 +05:30
dev-guruprasath
5b4c099afc added working example for flash 2023-07-31 15:06:15 +05:30
dev-guruprasath
c3357f884a added working example for flash 2023-07-31 14:45:23 +05:30
bofh
d2127f6b82 Fix stm32 SPI examples 2023-07-30 18:58:40 +02:00
anton smeenk
3260f6b2af stm32/spi: add new_txonly_nosck constructor, for neopixels, with an example in the stm32g0 directory. 2023-04-18 20:59:25 +02:00
Dario Nieuwenhuis
5daa173ce4 Split embassy-time from embassy-executor. 2022-08-18 01:22:30 +02:00
Dario Nieuwenhuis
fc6e1e06b3 Remove HAL initialization from #[embassy::main] macro. 2022-08-17 22:16:46 +02:00
Dario Nieuwenhuis
a0f1b0ee01 Split embassy crate into embassy-executor, embassy-util. 2022-07-29 23:40:36 +02:00
Dario Nieuwenhuis
a8703b7598 Run rustfmt. 2022-06-12 22:22:31 +02:00
Dario Nieuwenhuis
82803bffda Use embassy/defmt-timestamp-uptime in all examples. 2022-04-02 04:35:06 +02:00
Dario Nieuwenhuis
b526addf7b stm32/exti: expose all functionality as inherent methods. 2022-01-19 17:59:55 +01:00
Dario Nieuwenhuis
58fc64722c stm32/gpio: expose all functionality as inherent methods. 2022-01-19 17:59:55 +01:00
Dario Nieuwenhuis
de016e8456 Remove trait_alias, allow(incomplete_features).
trait_alias seems unused. no idea why it's there.
2021-09-03 17:00:58 +02:00
Ben Gamari
ee841499ee Add STM32G0 examples 2021-08-20 01:28:50 +02:00