Added support for the Artery AT32F402 and AT32F405 microcontrollers
Description
This PR adds support for the AT32F402 and AT32F405 microcontroller to QMK.
Driver:
Click to expand!
| System | Support |
|---|---|
| ADC driver | :heavy_check_mark: |
| Audio | :heavy_check_mark: (via PWM software or hardware, as the MCU does not support DAC) |
| Backlight | :heavy_check_mark: (via PWM, timer and software) |
| I2C driver | :heavy_check_mark: |
| SPI driver | :heavy_check_mark: |
| WS2812 driver | :heavy_check_mark: (via bit-bang, SPI or PWM driver) |
| External EEPROMs | :heavy_multiplication_x: |
| EEPROM emulation | :heavy_check_mark: |
| Serial driver | :heavy_check_mark: (Full-duplex only (1)) |
| UART driver | :exclamation: (Untested in QMK, but verified in ChibiOS) |
| SIO driver | :exclamation: (Untested in QMK, but verified in ChibiOS) |
| OTG HS using DMA | :exclamation: (Untested in QMK, but verified in ChibiOS) |
Notes:
- (1): Half-duplex mode for the serial driver has not been tested.
- :heavy_multiplication_x: is not been tested due to lack of available hardware.
Handwired Onekey:
Click to expand!
| Keymap | Testing |
|---|---|
| adc | :heavy_check_mark: |
| apa102 | :heavy_check_mark: |
| backlight | :heavy_check_mark: |
| battery | :heavy_multiplication_x: |
| chibios_waiting_test | :exclamation: (need Logic Analyzer) |
| community_module | :heavy_check_mark: |
| console | :heavy_check_mark: |
| default | :heavy_check_mark: |
| digitizer | :heavy_multiplication_x: |
| dip_switch_map | :heavy_multiplication_x: |
| eep_rst | :heavy_check_mark: |
| haptic | :heavy_multiplication_x: |
| hardware_id | :heavy_check_mark: |
| i2c_scanner | :heavy_check_mark: |
| joystick | :heavy_multiplication_x: |
| lvgl | :heavy_check_mark: |
| oled | :heavy_check_mark: |
| quine | :heavy_check_mark: |
| reboot | :heavy_check_mark: |
| reset | :heavy_check_mark: |
| rgb | :heavy_check_mark: |
| via_ci | :heavy_multiplication_x: |
| wear_leveling | :heavy_check_mark: |
Notes:
- :heavy_multiplication_x: are not been tested due to lack of available hardware.
Superseded on #25040
Types of Changes
- [x] Core
- [ ] Bugfix
- [x] New feature
- [x] Enhancement/optimization
- [x] Keyboard (addition or update)
- [ ] Keymap/layout (addition or update)
- [x] Documentation
Checklist
- [x] My code follows the code style of this project: C, Python
- [x] I have read the PR Checklist document and have made the appropriate changes.
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.
- [x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).
Thank you for your contribution!
This pull request has been automatically marked as stale because it has not had activity in the last 45 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, or re-open when it's ready.
For maintainers: Please label with bug, awaiting review, breaking_change, in progress, or on hold to prevent the issue from being re-flagged.
Still on hold, can anyone help me removed stale? Thanks
Getting a lot of these:
lib/chibios/os/hal/ports/AT32/AT32F402_405/platform.mk: No such file or directory
These should be chibios-contrib, I think. Not sure why it's picking that.
Getting a lot of these:
lib/chibios/os/hal/ports/AT32/AT32F402_405/platform.mk: No such file or directoryThese should be chibios-contrib, I think. Not sure why it's picking that.
Wait, did ChibiOS-Contrib submodule still not updated yet?
Wait, did ChibiOS-Contrib submodule still not updated yet?
Raised #25751.
Wait, did ChibiOS-Contrib submodule still not updated yet?
Raised #25751.
That PR is merged, so no longer awaiting pr.