Commit Graph

220 Commits

Author SHA1 Message Date
Ryan Summers d3bb5ab0e4 Merge branch 'master' into feature/qspi-stream 2020-12-02 17:08:33 +01:00
Ryan Summers d93d0c7125 Adding updated QSPI stream writer 2020-12-02 17:01:40 +01:00
Robert Jördens 31fcdcc97d Merge branch 'master' into feature/adc-dac-io-macros
* master:
  cargo: add docs for target cpu/features
  iir: more generic math helpers, use core::intrinsics
  cargo fmt [nfc]
  iir: vminnm/vmaxnm
  iir: fmt [nfc]
  iir: fix comment [nfc]
  cargo-config: cm7 features
  iir: copy_within is better than rotate_right
  processing: use faster unsafe truncate
2020-12-02 14:56:52 +01:00
Ryan Summers 01a169ca69 Merge branch 'master' into feature/qspi-stream 2020-12-02 14:13:53 +01:00
Robert Jördens 34d59dac5d adc: merge acquire_buffer and release_buffer again 2020-11-30 15:38:23 +01:00
Robert Jördens c72f959933 Merge remote-tracking branch 'origin/master' into feature/adc-dac-io-macros
* origin/master:
  more nightly clippy lints
  clippy lints
  gha: clippy-check
  build(deps): bump paste from 1.0.2 to 1.0.3
  build(deps): bump panic-semihosting from 0.5.4 to 0.5.6
2020-11-30 15:03:42 +01:00
Robert Jördens 8769194166 Merge remote-tracking branch 'origin/master' into feature/iir-tweaks
* origin/master:
  more nightly clippy lints
  clippy lints
  gha: clippy-check
  build(deps): bump paste from 1.0.2 to 1.0.3
  build(deps): bump panic-semihosting from 0.5.4 to 0.5.6
2020-11-30 12:57:58 +01:00
Robert Jördens 7fc6f5c4ad clippy lints 2020-11-26 16:41:09 +01:00
Robert Jördens 468929690d iir: vminnm/vmaxnm 2020-11-26 14:26:44 +01:00
Robert Jördens d8c6f39d0f adc/dac: make the buffer handling more symmetric 2020-11-26 13:51:39 +01:00
Robert Jördens 7189830896 main: put AFEs into a tuple 2020-11-26 11:34:43 +01:00
Robert Jördens 911fb66146 main: process() code duplication a bit 2020-11-26 11:34:43 +01:00
Robert Jördens c04180635b dacs: macros 2020-11-26 11:34:43 +01:00
Robert Jördens 1906185286 adc: macro 2020-11-26 11:02:37 +01:00
Robert Jördens 38dfd48c14 iir: fix comment [nfc] 2020-11-25 17:57:24 +01:00
Robert Jördens cf086abaed Merge remote-tracking branch 'origin/master' into fast-truncate
* origin/master:
  Adding comment about checking for flag pass completion
  Adding comments about execution hanging to transfer complete waits
  Removing default parameter settings
  Updating DAC SPI structures to own HAL SPI structure for safety guarantees
  Moving constants to a new file
  Removing copy to DAC buffers, adding in-place borrow of output buffers
  Marking AXISRAM as NOLOAD
  Refactoring timer channels to macros, adding safety notes
  Adding DMA support for DAC writes
  Adding sampling_timer file
  Adding compile-time management of TIM2 channels
  Reverting changeset
  Adding documentation
  Reverting openocd change
  Adding updated docs for adc file
  Combining ADC + DAC ISRs
  Adding WIP updates
  Formatting
  Adding ADC/DAC modules
  Adding WIP updates to using DMA
2020-11-25 17:38:03 +01:00
Ryan Summers 88da225e4b Adding comments about execution hanging to transfer complete waits 2020-11-25 16:43:49 +01:00
Ryan Summers bf8b950fe6 Moving constants to a new file 2020-11-24 17:09:36 +01:00
Ryan Summers 720e0291f5 Removing copy to DAC buffers, adding in-place borrow of output buffers 2020-11-24 16:57:36 +01:00
Ryan Summers 2b443f9334 Merge branch 'master' into feature/dma-updates 2020-11-24 16:49:11 +01:00
Robert Jördens b0e0b5144f processing: use faster unsafe truncate 2020-11-24 09:27:47 +01:00
Matt Huszagh 3eb43c6b99 move iir to new dsp crate 2020-11-22 07:59:12 -08:00
Ryan Summers d2e8b30622 Increasing batch size 2020-11-17 14:27:17 +01:00
Ryan Summers 6c2bc22b7a Adding updates for QSPI streaming 2020-11-17 14:23:56 +01:00
Ryan Summers 055c92c684 Adding WIP refactor 2020-11-17 13:09:45 +01:00
Ryan Summers 84167c7f6f Updating DDS control 2020-11-17 11:28:45 +01:00
Ryan Summers c518797d08 Removing unused code 2020-11-17 10:48:31 +01:00
Ryan Summers 585613f48f Refactoring DDS output control 2020-11-17 10:45:37 +01:00
Ryan Summers 1c8e385e6d Merge branch 'feature/dma-updates' into feature/qspi-stream 2020-11-17 10:29:03 +01:00
Ryan Summers 91809cf255 Adding DMA support for DAC writes 2020-11-13 10:47:44 +01:00
Ryan Summers 3b953e36aa Adding compile-time management of TIM2 channels 2020-11-11 18:42:34 +01:00
Ryan Summers 3a59f3e989 Adding WIP updates for digital input stamping 2020-11-11 18:28:48 +01:00
Ryan Summers d06a350549 Merge branch 'feature/dma-updates' into feature/digital-input-stamp 2020-11-11 16:30:23 +01:00
Ryan Summers da9ca81856 Reverting changeset 2020-11-11 12:12:19 +01:00
Ryan Summers 3088a002c0 Adding documentation 2020-11-11 12:09:27 +01:00
Ryan Summers aa36446f95 Adding updated docs for adc file 2020-11-11 11:57:14 +01:00
Ryan Summers db3bb511b4 Merge branch 'master' into feature/dma-updates 2020-11-10 16:55:25 +01:00
Ryan Summers f164a1a89e Update PR 2020-11-10 15:31:19 +01:00
Ryan Summers a32ca39ca0 Removing spaces 2020-11-10 15:19:44 +01:00
Ryan Summers 84e31ef036 Fixing directive position 2020-11-10 15:16:37 +01:00
Ryan Summers 7b86a2bc42 Adding comment about deprecation allowance 2020-11-10 15:14:49 +01:00
Ryan Summers c804312e60 Fixing deprecation warnings 2020-11-10 15:13:57 +01:00
Ryan Summers 014137acf0 Updating QSPI frequency 2020-11-09 15:57:58 +01:00
Ryan Summers fca38e5d63 Adding support for hardware IO_update 2020-11-09 15:16:44 +01:00
Ryan Summers c97e4d9d20 Fixing merge issues 2020-11-09 12:33:18 +01:00
Ryan Summers 7e1a58f1f0 Merge branch 'feature/dma-updates' into feature/qspi-stream 2020-11-09 12:32:32 +01:00
Ryan Summers 8d807fa09b Adding WIP 2020-11-09 12:30:02 +01:00
Ryan Summers 28cb3906ac Adding WIP HRTimer 2020-11-07 11:01:48 +01:00
Ryan Summers bab9fbf5ac Merge branch 'master' into rs/hal-update 2020-11-05 08:09:45 +01:00
Ryan Summers 5cc21cfde8 Combining ADC + DAC ISRs 2020-11-03 16:09:00 +01:00
Ryan Summers e95cad5bde Adding WIP updates 2020-11-03 10:52:37 +01:00
Ryan Summers 4e5459433e Formatting 2020-11-03 09:41:45 +01:00
Ryan Summers 20e9b6543c Adding WIP updates to using DMA 2020-11-03 09:36:03 +01:00
Niklas Kuhrmeyer 2f5d26aeaa decreased routes_storage 2020-10-30 13:33:59 +01:00
Niklas Kuhrmeyer 32d5e4dfe1 format 2020-10-30 13:32:47 +01:00
Niklas Kuhrmeyer dfe3ac877a added gateway 2020-10-30 12:16:28 +01:00
Ryan Summers f56487401c Adding updates for PHY support 2020-10-28 16:14:48 +01:00
Ryan Summers 11ff93e6f0 Fixing diff 2020-10-28 15:57:14 +01:00
Ryan Summers e36b853dc8 Renaming clocks to ccdr 2020-10-28 15:51:08 +01:00
Ryan Summers b4eeeb2042 Reverting unneeded changes 2020-10-28 15:44:52 +01:00
Ryan Summers c058d4bcde Adding updates for 0.8.0 of the HAL 2020-10-28 15:41:27 +01:00
Ryan Summers 17c8e4d2e1 Updating to new HAL 2020-10-26 16:58:29 +01:00
Ryan Summers 071ccd17dc Adding WIP experimental code 2020-10-22 16:16:38 +02:00
Ryan Summers db182b923d Adding WIP QSPI streaming 2020-10-21 10:17:22 +02:00
Ryan Summers dac6f73d5e WIP updates 2020-10-19 17:12:02 +02:00
Harry Ho a979bf94dc update syntax for taking core periphs (required since rtic v0.5.5) 2020-09-16 14:25:36 +08:00
Robert Jördens d6de4b7028 fmt 2020-06-23 14:55:59 +02:00
Robert Jördens 5c4dec0870 dac clr/ldac: unwrap 2020-06-23 14:16:33 +02:00
Robert Jördens c326623818 dacs: clr_n high, ldac_n low 2020-06-23 14:13:55 +02:00
Robert Jördens 0a4112eb02 spi nss: very high speed 2020-06-22 22:55:18 +02:00
Ryan Summers 093dca5928 Updating stabilizer devices to utilize 0-based indexing 2020-06-22 08:31:09 +02:00
Ryan Summers a992d20414 Updating comment about debugging 2020-06-21 13:36:45 +02:00
Ryan Summers 7e279ed87c Re-enabling the HSE 2020-06-21 14:39:23 +02:00
Ryan Summers 78c9f6e686 Running rustfmt 2020-06-21 14:30:49 +02:00
Ryan Summers c6859d956e Allowing pounder to not be present 2020-06-20 16:43:07 +02:00
Robert Jördens f14f0e2ed1 style: implement a couple clippy suggestions [nfc] 2020-06-17 14:57:09 +02:00
Robert Jördens f70612f1be rtfm: migrate to rtic 2020-06-17 12:20:45 +02:00
Robert Jördens 54f51f9484 cargo fmt --all 2020-06-16 16:56:30 +02:00
Robert Jördens 09298bd534 structure: move stabilizer back to top, drop submodules 2020-06-16 16:56:30 +02:00
Ryan Summers 4dcf2b57bd Updating project structure 2020-06-08 09:36:28 +02:00
Ryan Summers ade06cbcb8 Updating AD9959 api 2020-06-04 16:56:04 +02:00
Ryan Summers beecbe3efc Refactoring AFE code 2020-06-03 17:36:43 +02:00
Ryan Summers b39de7f414 Adding support for QSPI operating continuously in 4-bit mode 2020-06-03 15:44:34 +02:00
Ryan Summers 6792ab5469 Adding input power measurement support 2020-04-29 13:00:29 +02:00
Ryan Summers 6f7bb0569c Adding stabilizer AFE gain amplifier controls 2020-04-29 11:59:04 +02:00
Ryan Summers 41f4960b93 Refactoring server into separate file 2020-04-28 19:26:43 +02:00
Ryan Summers b49596c96c Adding JSON API 2020-04-28 19:15:00 +02:00
Ryan Summers abf22676ce Adding refactor to support pounder hardware abstractions 2020-04-28 19:07:19 +02:00
Ryan Summers 87858a6e0a Fixing changes 2020-04-22 15:59:08 +02:00
Ryan Summers c6eb4d1757 Adding functional baseline HAL conversion 2020-04-22 15:50:07 +02:00
Ryan Summers 3962f7eb68 Adding WIP updates to SPI functionality 2020-04-22 13:36:51 +02:00
Ryan Summers d700935246 Adding WIP updates to HAL API 2020-04-21 19:02:52 +02:00
Ryan Summers 820a37a625 Refactoring branches 2020-04-19 13:37:03 +02:00
Ryan Summers ce9ae48f2a Adding WIP update to use HAL 2020-04-18 10:54:55 +02:00
Robert Jördens b34fdf7c48 rustfmt: run 2019-11-24 15:10:01 +01:00
Robert Jördens 8c2c0a2027 clippy: allow missing safety doc (rtfm) 2019-11-24 15:04:29 +01:00
Robert Jördens bf65b5f14a default to k_p=1 on boot 2019-11-24 13:10:01 +00:00
Chris Ballance d7f46c1f12 factor CPU and board-specific initialisation out of main (NFC) 2019-11-13 22:13:04 +00:00
David Nadlinger 2297286360 Fix TCP command interface rx buffer wrapping
Previously, if a message spanned the end of the
receive ring buffer, the last byte in the buffer
would be missing from the to-be-decoded message,
leading to a parse error or panic.

With this commit, >3M commands were exchanged
over one socket without further issues.
2019-11-13 01:50:18 +00:00
bors[bot] 39cb1afcfd
Merge #48
48: remove unused code, deny warnings r=jordens a=jordens

bors r+

Co-authored-by: Robert Jördens <rj@quartiq.de>
2019-11-11 11:20:53 +00:00