File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed
Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
860860# CONFIG_PKG_USING_MULTI_INFRARED is not set
861861# CONFIG_PKG_USING_AGILE_BUTTON is not set
862862# CONFIG_PKG_USING_AGILE_LED is not set
863- # CONFIG_PKG_USING_AT24CXX is not set
863+ CONFIG_PKG_USING_AT24CXX=y
864+ CONFIG_PKG_AT24CXX_PATH="/packages/peripherals/at24cxx"
865+ CONFIG_PKG_USING_AT24CXX_LATEST_VERSION=y
866+ CONFIG_PKG_AT24CXX_VER="latest"
864867# CONFIG_PKG_USING_MOTIONDRIVER2RTT is not set
865868# CONFIG_PKG_USING_PCA9685 is not set
866869# CONFIG_PKG_USING_ILI9341 is not set
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2017-2019, MindMotion AE Team
3- *
4- * SPDX-License-Identifier: Apache-2.0
2+ * Copyright (c) 2017-2019, Chasel
53 *
64 * Change Logs:
75 * Date Author Notes
8- * 2019-03-13 henryhuang first version
6+ * 2025-01-06 Chasel first version
97 */
108
119#include <rtthread.h>
1210#include <rtdevice.h>
1311#include "hal_device.h"
14- /* defined the LED pin: PA15 */
15- #define LED_PIN 38
12+
13+ /* defined the LED pin: PB15 */
14+ #define LED_PIN 31
15+
1616int main (void )
1717{
1818 int count = 1 ;
19- /* set LED4 pin mode to output */
19+ /* set LED1 pin mode to output */
2020 rt_pin_mode (LED_PIN , PIN_MODE_OUTPUT );
2121
22- while (count ++ )
23- {
22+ while (count ++ ) {
2423 rt_pin_write (LED_PIN , PIN_HIGH );
2524 rt_thread_mdelay (500 );
2625 rt_pin_write (LED_PIN , PIN_LOW );
Original file line number Diff line number Diff line change 297297/* touch drivers */
298298
299299/* end of touch drivers */
300+ #define PKG_USING_AT24CXX
301+ #define PKG_USING_AT24CXX_LATEST_VERSION
300302/* end of peripheral libraries and drivers */
301303
302304/* AI packages */
You can’t perform that action at this time.
0 commit comments