diff --git a/config.mk b/config.mk index 2944820..0e0b15e 100644 --- a/config.mk +++ b/config.mk @@ -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 \ No newline at end of file +LDSCRIPT = $(STARTUPLD)/AT32F435ZMxx.ld \ No newline at end of file diff --git a/mpu_util.cpp b/mpu_util.cpp index 4ea31c3..b591a43 100644 --- a/mpu_util.cpp +++ b/mpu_util.cpp @@ -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"))