wow progress?!

This commit is contained in:
Andrey 2023-05-31 20:14:49 -04:00
parent 5c51399a23
commit 37a08ff841
2 changed files with 15 additions and 1 deletions

View File

@ -3,4 +3,4 @@ ARTERY_CONTRIB = $(BOARD_DIR)/OS
USE_LIS302 = no
USE_FATFS = no
LDSCRIPT = $(ARTERY_CONTRIB)/../ext/AT32F435_437_Firmware_Library/libraries/cmsis/cm4/device_support/startup/gcc/linker/AT32F435xG_FLASH.ld
LDSCRIPT = $(STARTUPLD)/AT32F435ZMxx.ld

View File

@ -7,6 +7,20 @@
void baseMCUInit(void) {
}
bool ramReadProbe(volatile const char *read_address) {
return true;
}
bool isStm32F42x() {
return true;
}
void stm32_standby() {
// todo: does AT32 match stm32?
}
__attribute__((weak)) void boardInit() { }
// copy-paste of stm32 method? reuse code?
brain_pin_e parseBrainPin(const char *str) {
if (strEqual(str, "none"))