Sergio Gasquez Arcos
e46e80b8c1
Enable C2 HIL ( #1680 )
...
* ci: Enable c2 hil
* docs: Update pins and add C2
* feat: Update C2 probe-rs args
* test: Update pins and disable failing tests
* docs: Update S3 wires
* ci: Enable C2 hil tests
2024-06-26 14:17:40 +00:00
Jesse Braham
c9925b7f6d
Don't include dependencies in generated documentation when building with xtask
( #1713 )
2024-06-26 07:43:25 +00:00
Dominic Fischer
0b5eb1f00e
[1/3] DMA Move API: Pull out driver specific state in DMA driver into separate structs ( #1716 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-06-25 13:14:54 +00:00
Dominic Fischer
9d5fb31c4b
TIMG: Fix interrupt handler setup ( #1715 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-06-25 13:01:40 +00:00
Alex Vinyals
d4ec063cec
esp-wifi(initialize): no longer requires maximum CPU clock ( #1688 )
...
This patch replaces a CPU clock check that enforced running the MCU
at maximum clock speed during WiFi radio initialization. The previous
was incompatible for low power settings.
Now, the check ensures the CPU runs with at *at least* 80MHz, which
is the minimum required clock speed for proper WiFi radio functionality.
For `esp32s3` MCUs, the call to `ets_update_cpu_frequency_rom` has been
moved to the `esp-hal` clocks module. This call is now only made when
configuring CPU to a non-default setting.
2024-06-25 07:42:11 +00:00
Björn Quentin
fd467c2f07
Fix wifi-logs
feature ( #1709 )
2024-06-24 13:45:46 +00:00
Demo for summer'23
c864c8a982
Fix: allow defmt-espflash
+ auto
configuration @ esp-println ( #1687 )
...
* esp-println: Fix 'defmt-espflash,auto' feature combination
* formatted according to instructions
* restructure, compiles also on 'esp32'
* Added CI check for compiling with 'dfm-espflash' feature
---------
Co-authored-by: Asko Kauppi <akauppi@gmail.com>
2024-06-24 13:26:08 +00:00
Felix Wirth
9691141fed
implement embedded_io::ReadReady
for Uart
& UartRx
( #1702 )
...
* implement `embedded_io::ReadReady` for `Uart` & `UartRx`
* update CHANGELOG.md
2024-06-21 16:01:40 +00:00
Dominic Fischer
eee20de116
Patch up LCD_CAM example ( #1701 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-06-20 13:27:50 +00:00
Björn Quentin
13d6b517d8
Improve RISC-V interrupt latency ( #1679 )
...
* Improve RISC-V interrupt latency
* CHANGELOG.md
* Clippy
2024-06-19 16:36:28 +00:00
Dominic Fischer
bb806d35e0
Add remaining GPIO pins for ESP32-S2/S3 ULP ( #1695 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-06-19 15:17:48 +00:00
Sergio Gasquez Arcos
2c03266061
Prepare esp-backtrace@0.12.1 release ( #1696 )
...
* build: Bump version
* docs: Update changelog
2024-06-19 14:42:49 +00:00
Björn Quentin
d34a872230
Additional move base dma api ( #1672 )
...
* Additional owning DMA transfers for SPI half-duplex
* CHANGELOG.md
* CHANGELOG.md
* Clippy
2024-06-19 13:17:22 +00:00
Björn Quentin
1630868d06
Improve DMA pop
implementation ( #1664 )
...
* Improve DMA `pop` implementation
* CHANGELOG.md
* Minor Fixes
* Cover more edge-cases in DMA pop, make sure the test is testing these
* Fixes
* Working available/pop
* Remove misleading `last_in_dscr_address`
* Remove unnecessary check from `available`
* Remove now-unused function
* Remove duplicate change-log entry
2024-06-19 12:51:24 +00:00
Jesse Braham
2d90fa3021
Make esp-wifi
build when using the defmt
feature with +stable
toolchain ( #1691 )
2024-06-18 15:50:46 +00:00
Scott Mabin
0d418fe837
esp-bracktrace: only print float registers on chips that have them ( #1690 )
...
* only print float registers on chips that have them
* Add CHANGELOG.md
2024-06-18 15:01:53 +00:00
Kaspar Schleiser
152c0180df
esp-hal-wifi: make executors optional (again) ( #1683 )
...
* esp-hal-wifi: make executors optional (again)
* esp-wifi: don't use default-features of `esp-hal-embassy`
2024-06-17 10:23:31 +00:00
Björn Quentin
bd711517f3
esp-backtrace: Fix for nightly after 2024-06-12 ( #1681 )
...
* esp-backtrace: Fix for nightly after 2024-06-12
* Fix
* Fix defmt
2024-06-17 08:55:54 +00:00
Björn Quentin
65b956d6a8
Fix mk_static
macro ( #1674 )
2024-06-12 15:09:43 +00:00
Andres O. Vela
05076697ec
Rename PSRAM examples for better discoverability ( #1675 )
2024-06-12 14:23:55 +00:00
Andres O. Vela
fb90fe780c
esp-hal: fix esp32-s3 psram docs ( #1673 )
2024-06-12 13:52:50 +00:00
Sergio Gasquez Arcos
e7f8f50e82
Update embedded-tests and wiring docs ( #1652 )
...
* build: Update embedded-test
* docs: Update probe-rs version
* docs: Revert probe-rs update
* docs: Update wiring
* docs: Update source command
2024-06-12 10:12:04 +00:00
Sergio Gasquez Arcos
d2a93894f5
feat: Avoid using a macro for default pins ( #1671 )
2024-06-11 15:49:44 +00:00
Björn Quentin
1122df15e2
Check DMA descriptors and buffers addresses ( #1670 )
...
* Check DMA descriptors and buffers addresses
* Add PR id
* Add test for the memory region check
* Clippy
2024-06-11 14:42:46 +00:00
Sergio Gasquez Arcos
a33159a021
Rework Uart constructors, add UartTx and UartRx constuctors. ( #1592 )
...
* feat: Add with_pins methods for UART
* feat: Remove configure_pin methods
* docs: Update changelog
* fix: Update tests and examples
* style: Fix format
* Add UartTx/Rx constructors
* feat: Add new_with_default_pins methods
* docs: Update changelog
* feat: Remove optional cts/rts arguments
* feat: Add UartTx/Rx::new_async methods
* fix: Attach interrupt handler to new_ascyn UartRx/Tx
* style: Avoid long module paths
* feat: Make flush_tx public
* test: Use Uart async instead of UartTx/Rx async
* test: Add tests for UartTx/UartRx
* feat: Add configuration method to constuctors
* feat: Move set_rx_fifo_full_threshold and set_rx_timeout to UartRx
* docs: Fix changelog
* test: Fix executor
* feat: Configure UartRx threshold and timeout
* docs: Update changelog
* test: Update uart instance
* feat: Add default_uart0_pins macro to simplify examples
* feat: Address feedback pt1
* feat: Address feedback pt2 - Make constructors fallible
* fix: Doctest
2024-06-11 13:07:17 +00:00
Juraj Sadel
4c5e493b1b
esp-hal: Add runnable doctests to peripheral drivers ( #1663 )
...
* Check docs examples II
* rebase and update
* fix root crate macro expansion in doctest snippets
* clean up and fmt
* add xtask run-doc-test subcommand and check in CI
* address review comments
* remove commented printlns
* fix the host target check
* rebase and update
* hide docs for before_snippet macro and remove commented block code in twai
2024-06-11 10:18:09 +00:00
Björn Quentin
b8af24071e
Add Flex/AnyFlex pin drivers ( #1659 )
...
* Add Flex/AnyFlex pin drivers
* CHANGELOG.md
2024-06-10 15:23:55 +00:00
Jesse Braham
dc8e0a6496
Refactor Dac1
/Dac2
drivers into a single Dac
driver ( #1661 )
...
* Refactor `Dac1`/`Dac2` drivers into a single `Dac` driver
* Fix unrelated build errors resulting from updated PACs
* Add new `Instance` trait to `prelude` module, update `dac` example
* Update `CHANGELOG.md`
* Fix example in module documentation
* Turns out these are 0-indexed after all
2024-06-10 13:52:00 +00:00
Björn Quentin
fd4676d434
Add RMT hil-test ( #1665 )
...
* Add RMT hil-test
* Fix compilation error on ESP32/ESP32-S2
2024-06-07 10:31:42 +00:00
Björn Quentin
e680900f50
esp-backtrace: Fix warning when using semihosting
feature ( #1667 )
2024-06-07 09:49:59 +00:00
Dominic Fischer
a20054c90c
Fix misuse of INT_CLR ( #1651 )
...
* Fix misuse of INT_CLR
* Use LCD_START instead of interrupt to check for completion
2024-06-05 13:40:55 +00:00
Björn Quentin
f125c20cf2
Add auto-detection feature to esp-println
( #1658 )
...
* Add auto-detection feature to esp-println
* CHANGELOG.md
* Minor README change
* Build `esp-println` in CI
2024-06-05 10:44:17 +00:00
Jesse Braham
8a47e4254f
Begin next release cycle
2024-06-04 16:48:59 +00:00
Jesse Braham
e50f663842
New package releases ( #1654 )
...
* Bump dependencies and version numbers of packages to be published
* Update relevant `CHANGELOG.md` files
v0.18.0
2024-06-04 16:11:42 +00:00
Jesse Braham
ebcd26fd51
Update xtask
to support generating documentation for multiple packages ( #1653 )
...
* Update `xtask` dependencies
* Update `xtask` to support generating documentation for multiple chips
* Update CI and Documentation workflows
* Fix minor mistake in documentation index template
2024-06-04 15:27:41 +00:00
Jesse Braham
48e3e912f3
Extract embassy support into esp-hal-embassy
package ( #1595 )
...
* Extract embassy support into `esp-hal-embassy` package
* Update relevant packages/examples/tests to get CI green again
* Add back `defmt` support
* Re-export `Executor` and `InterruptExecutor` rather than making `executor` module public
* Document the `esp-hal-embassy` package
* Update `CHANGELOG.md`
* Hack together a "fix" for the `SYSTIMER` time driver
* Make `clippy` shut up
2024-06-03 11:27:20 +00:00
Björn Quentin
cb91828e5e
Fix DMA related doc-links ( #1648 )
2024-05-31 14:22:18 +00:00
Jesse Braham
40c327eeae
Housekeeping ( #1647 )
...
* Remove version from path dependencies in `examples` and `hil-test` packages
* Remove unused constant from `esp-println`
* Consistent badges across `README.md` files
2024-05-31 13:58:54 +00:00
Jesse Braham
2fd1594637
Fix feeding of RWDT
( #1645 )
...
* Fix feeding of `RWDT`
* Update `CHANGELOG.md`
2024-05-31 08:02:15 +00:00
Scott Mabin
4d9441ef99
Enable the CI feature to check more features in MSRV checks ( #1641 )
...
* enable the CI feature to check more features in MSRV checks
* Rename eh1 feature in esp-lp-hal
2024-05-30 14:22:03 +00:00
Scott Mabin
4dbe5d35a6
Build the extras/ crates in CI ( #1640 )
2024-05-30 13:07:40 +00:00
Björn Quentin
83dfb5b803
Add IEEE802.15.4 Wireshark Extcap ( #1636 )
2024-05-29 14:04:44 +00:00
Björn Quentin
79d617da38
Add I2S HIL test ( #1635 )
...
* Add I2S HIL test
* Disable I2S HIL test for H2
* Disable interrupt latency test for now
* Avoid triggering rustfmt check
2024-05-29 13:56:54 +00:00
Scott Mabin
db39d0197a
Examples and test cleanup ( #1590 )
...
* initial cull of examples
* Remove direct vector example, replace with interrupt latency test
* Remove clock monitor in favour of just a test
2024-05-28 18:58:48 +00:00
liebman
06bf505093
esp-wifi: fix unused timer result ( #1633 )
2024-05-28 16:12:56 +00:00
Jesse Braham
8aee84f842
[3/3] Timer abstraction: cleanup, simplification, and documentation ( #1630 )
...
* Add a new `timg_timer1` symbol to `esp-metadata` definitions
* Make `Timer::load_value` fallible (when the value is too large)
* Clean up, simplify, and document the `timer` module and its submodules
* Fix various issues
* Update the timeout value verification for `SYSTIMER`
* Clippy
* Introduce new `PERIOD_MASK` constant for validating timeout values
2024-05-28 14:12:06 +00:00
Björn Quentin
7c25750e3a
Improve xtask
on Windows ( #1632 )
...
* Improve `xtask` on Windows
* Use already existing `windows_safe_path` function
2024-05-28 13:27:15 +00:00
Björn Quentin
0ad4ee0c91
esp-wifi: Fix clippy issues ( #1631 )
...
* Don't activate additional features in esp-hal
* Apply `clippy --fix`
* Clippy
* Clippy
* Clippy
* Clippy
* Enable linting esp-wifi
* Fix
* Fix typo
2024-05-28 12:49:55 +00:00
Jesse Braham
e67d489737
Use published PACs ( #1629 )
2024-05-28 06:39:42 +00:00
liebman
e446d78410
esp-hal: rmt: make ChannelCreator public ( #1597 )
...
* esp-hal: rmt: make ChannelCreator public
* esp-hal: rmt: fmt-packages
* esp-hal: rmt: fix ChannelCreator missing docs for other (non-esp32s3) implementation
* esp-hal: update CHANGELOG
* rmt: ChannelCreator: remove allow(missing_docs)
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-05-27 16:16:54 +00:00