RTX OS在NANO130中的實現

2021-08-07 16:19:29 字數 1390 閱讀 7003

/*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*** * @file system_nano100series.c

* @version v1.00

* $revision: 4 $

* $date: 14/01/29 4:09p $

* @brief nano100 series system clock init code and assert handler

* * @note

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*****

*******/

#include "nano100series.h"

#include "uart0common.h"

//#include "cmsis_os.h" // arm::cmsis:rtos:keil rtx5

#include "cmsis_os2.h" // arm::cmsis:rtos2:keil rtx5

#include"stdio.h"

extern void sys_init(void);

uint16_t temp;

void task1() }

void task2() }

int main(void)

在使用keil時,按平時的工程先好晶元,再用pack新增rtx,如下圖:

注意事項:不要在設定中,選用rtx kemel

通過以上幾步,就可以建立有rtx的作業系統了,是不是很簡單,不用任何的配置,就實現了os。上手是快,但遺憾的是介紹的資料太少了。

完整的**:

nano在CentOS上的安裝和使用

安裝 yum y install nano 開啟新建 nano 路徑 檔名 檢視用 cat path filename 如果改檔案存在,上面的命令將開啟這個檔案 如果檔案不存在則將會建立乙個新檔案並開啟。note 在windows系統中,乙個檔案應當有字尾名,比如.txt,以供系統進行型別判斷,不過...

join中的條件在on還是在where中?

left join 左連線,返回左表中所有的記錄以及右表中連線字段相等的記錄。right join 右連線,返回右表中所有的記錄以及左表中連線字段相等的記錄。inner join 內連線,又叫等值連線,只返回兩個表中連線字段相等的行。full join 外連線,返回兩個表中的行 left join ...

在oracle中改變欄位在表中的順序

1.以sys使用者登入oracle 2.查詢你要更改的表,我們 test 中的 aaa 表為列,注意,在oracle中,表和空間都是以大寫字母顯示的,所以這裡都要用大字字母 執行select object id from all objects where owner test and object...