@Alice_Yang: I'm aware that the peripherals need to be enabled by the user before they can be shown by debugger, and have done that. The screenshot I posted was AFTER the UART was enabled. Unfortunately, I don't think a I can create a video. Besides, there isn't much the video will show. The following are the steps I followed.
1. Use the "Import project(s) from file system..." option to import periph_uart_rb project from lpcopen_2_10_lpcxpresso_nxp_lpcxpresso_1769.zip archive (in Examples/LPCOpen directory).
2. Change one of the project references from lpc_board_nxp_lpcxpresso_1769 to the library for the board I have (miniDK2 based on LPC1768).
3. Change the include and library paths.
4. Change the MCU setting from LPC1769 to LPC1768.
All these changes are made using the IDE, and no editing of any files is involved.
However, based on my last try, it appears changing the MCU setting, and when the change is made has an effect on what changes are made to .cproject. file (which is used to build the project).
I didn't edit the .cproject file by hand, but looking at the file, it appears original file has some settings for peripheralInstance's are missing when the IDE updated the .cproject file. My guess is that is causing the problem. The original .cproject setting also indicates the setting was determined by "infoFile", but I have no idea where the infoFile, or where it is.
I hope this information can give some clues for you to be able to diagnose the problem.
- Thanks,
- Rao.