Add SK32F077xB (SK32F0xx) HAL port with GENERIC_SK32_F077 board, testhal and demos - #452
Open
dadato wants to merge 3 commits into
Open
Add SK32F077xB (SK32F0xx) HAL port with GENERIC_SK32_F077 board, testhal and demos#452dadato wants to merge 3 commits into
dadato wants to merge 3 commits into
Conversation
Add support for the SK (SK32F077xB) MCU to ChibiOS-Contrib: * os/common/ext/CMSIS/SK32: CMSIS device headers and system files * os/common/startup/ARMCMx/devices/SK32F0xx + GCC ld/mk: startup support * os/hal/ports/SK32: HAL port with PAL, GPT, I2C, SPI, ST, USB, EFL, serial and native KBCU/SLED/DMA drivers (STM32-free implementation) * os/hal/boards/GENERIC_SK32_F077: generic board for SK32F077xB * testhal/SK32 and demos/SK32: bring-up test projects
add build logs for multiple SK32 demo and test programs, as well as Eclipse project configuration files and firmware binary files
…conf and drop the redundant PROBE/SERIAL demo copies
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.
Summary
Add support for the SK32F077xB (SK32F0xx family, ARM Cortex-M0, 128KB
flash / 10KB SRAM) to ChibiOS-Contrib.
The port is fully native: it does not reuse any shared STM32 low level
driver. Although register-compatible with the STM32F072 for most of the core
(except the USB IP), the SK32 units use the legacy SR/DR register set for
USART/SPI/I2C and carry 3Think-specific peripherals (KBCU, SLED), so every
driver ships its own RCC/clock, DMA and NVIC handling tuned to the vendor
register layout.
What is included
os/hal/ports/SK32/SK32F0xx: full HAL port with native LLDs forADC, EFL (embedded-flash EEPROM emulation), GPT, I2C, PAL, SERIAL, SPI,
ST, USB, plus the SK32-only peripherals:
mode) and RGB LED column output over DMA1 ch4
8/16/32-bit data widths, DMA-driven
sk32_dma.cand ISR aggregationsk32_isr.cos/common/ext/CMSIS/SK32: vendor CMSIS device headers + system initos/common/startup/ARMCMx:devices/SK32F0xx,startup_SK32F0xx.mk,SK32F077xB.ld(2KB flash pages)os/hal/boards/GENERIC_SK32_F077: generic board with the SK32 pin/clockdefinitions
testhal/SK32: ADC, EEPROM, GPIO, IIC, KBCU, SERIAL, SLED, SPI, TIMbring-up projects (all STM32-independent, SK32_* mcuconf naming only)
demos/SK32:GENERIC_SK32_F077LED blinker demoTesting
testhal/SK32project and the demo build cleanly with their bundledMakefiles (arm-none-eabi-gcc, no warnings).
scanning, USB HID + DFU, VIA dynamic keymaps persisted via the EFL driver,
and SLED-driven RGB output all run on this port.
Notes
register-compatible STM32F072); the EFL LLD and linker script account for
this.
conservative.
Checklist