Repository navigation
fix(board): correct and complete Freenove FNK0104AB support - #3073
chinderdelis wants to merge 1 commit into
Conversation
|
Hi! This is a follow-up to #2629: the board already exists upstream, and this PR corrects the pins against real hardware (RGB LED is on GPIO42, not 40; battery ADC on GPIO9, not 8; 4-bit SDMMC) plus touch/backlight/poweroff fixes. The CI workflow is in |
|
Update: the companion repository now builds against Bruce |
|
The companion build for v0.1.1 (Bruce |
293c6cf to
7e750df
Compare
|
Split out the generic FT6X36/brightness changes into #3115. This PR now contains the Freenove board changes only. |
Proposed Changes
Follow-up to #2629. This PR contains the Freenove FNK0104AB board changes only; the generic FT6X36/brightness fixes have been split into a separate PR.
Freenove-FNK0104AB.ini: RGB LED is on GPIO42 (GPIO40 is SD CMD); battery divider is on GPIO9 (not 8); enable 4-bit SDMMC.interface.cpp: add D1/D2/D3 SD pins; mark the touch/codec I2C bus assys_i2csobus_HALdoes notWire.end()it and the wedged-bus recovery works; callsetSysI2CBus()before touch init; attach the backlight PWM once in_pre_storage_gpio(); actually extinguish the backlight and send DISPOFF inpowerOff().sd_functions.cpp: make 4-bit SDMMC opt-in per board viaSD_MMC_4BIT(1-bit remains the default for every other board)..github/workflows/PR_check.yml: build the board in PR CI.Verification
Tested on the device with the v0.1.1 companion build: boot, display, touch, SD card (4-bit), battery ADC (GPIO9), RGB LED (GPIO42), audio out/mic, WiFi AP/WebUI, BLE iBeacon, deep sleep/
poweroff.Rebased on current
dev@fa6bcbf3:Freenove-FNK0104ABbuild: PASS locally.ES3C28Pregression build: PASS locally with the combined v0.1.2 validation build (samesd_functions.cppchange).Linked Issues
Follow-up to #2629. Related issue: #2432. Generic touch/brightness fixes: separate PR.