Conversation
…Ts and switching between them automatically
…s quite different to the other platforms
…NFO does anything to avoid unused warnings
…quite different to the other platforms
…a suitable cross file too
…p USB, timing, and setting up the correct vector table address
…v8-M main profile
…adability in the USB configuration setup code
…per use of atomics, resulting in smaller and more correct code
…roper use of atomics, resulting in smaller and more correct code
…change notifications so it's a little more responsive without being overwhelming for traffic
…correctly and the pins are driven suitably hard
…the on-board Flash
…ng the dual target serial interfaces up to the second host serial interface
…oesn't get upset by them
…fer and more reasonable
…n steering macros weren't available when they should be
… mechanism using the EXTI
…le UART mechanism using the EXTI
… the UART needs to be switched by toggling the direction signal on the level translation once every 10ms
…RT appropriately based on state changes
6047250 to
de99e5d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Detailed description
In this PR we implement provisional support for the upcoming BMPv3 platform. There will need to be more refinement done, however this gets all the core stuff up and running - from the clocking system and bitbanging with the GPIO controller, and thus core debug, to the UARTs, ADCs, SPI controller, and other parts to make all major parts of the firmware work.
This includes support for both SWO modes, the target UART system including provisional support for switchable TX/RX and other hardware improvements found in the v3 platform, support for using the debug connector to access SPI Flash devices with
bmpflash, and a heap of other goodie bits.We know not all targets are yet working as there are some comms issues on the debug interface, however nothing completely show-stopping. DFU works well and has slightly more Flash reserved than the previous hardware platform, allowing more space for fixes and bootloader features in time. This platform however requires the absolute latest
bmputilto program and work with because of some assumptions the older versions of the tool made get broken with this.This PR must be sequenced after libopencm3/libopencm3#1625.
Your checklist for this pull request
Closing issues