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
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 MCU (SK32F0xx family, ARM Cortex-M0, 128KB
flash / 10KB SRAM) to ChibiOS-Contrib.
This is a self-contained, STM32-independent port: it does not reuse any
shared STM32 LLD and ships its own DMA, RCC and ISR handling, matching the
SK32's 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-specific peripherals:
channels, optional DMA
driven over DMA
sk32_dma.c) and ISR (sk32_isr.c) supportos/common/ext/CMSIS/SK32: CMSIS device headers and system initos/common/startup/ARMCMx: devices/SK32F0xx,startup_SK32F0xx.mk,SK32F077xB.ld(2KB flash pages)os/hal/boards/GENERIC_SK32_F077: generic board for the SK32F077xBtesthal/SK32: ADC, EEPROM, GPIO, IIC, KBCU, SERIAL, SLED, SPI, TIMbring-up projects
demos/SK32: GENERIC_SK32_F077 (+ PROBE / SERIAL variants)Testing
testhal/SK32anddemos/SK32projects build cleanly with thebundled
Makefiles.(keyboard matrix scanning via KBCU, USB HID, VIA dynamic keymaps backed by
the EFL driver, SLED-driven RGB) and the USB DFU bootloader.
Notes for reviewers
STM32F0 devices) — the EFL LLD and linker script account for this.
Checklist