zouboan opened a new pull request, #15088:
URL: https://github.com/apache/nuttx/pull/15088

   ## Summary
   
   ZCU111 Evaluation Kit has 8 LEDS connected to the PL end of XCZU28DR, 
Therefore, we cannot use MIO to control these LEDs, We have to control these 
LEDs together with EMIO and PL end,The PL end only implements simple pin 
constraints.
   ```
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[0]}]
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[1]}]
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[2]}]
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[3]}]
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[4]}]
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[5]}]
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[6]}]
   set_property IOSTANDARD LVCMOS18 [get_ports {GPIO_EMIO_tri_io[7]}]
   set_property PACKAGE_PIN AR13 [get_ports {GPIO_EMIO_tri_io[0]}]
   set_property PACKAGE_PIN AP13 [get_ports {GPIO_EMIO_tri_io[1]}]
   set_property PACKAGE_PIN AR16 [get_ports {GPIO_EMIO_tri_io[2]}]
   set_property PACKAGE_PIN AP16 [get_ports {GPIO_EMIO_tri_io[3]}]
   set_property PACKAGE_PIN AP15 [get_ports {GPIO_EMIO_tri_io[4]}]
   set_property PACKAGE_PIN AN16 [get_ports {GPIO_EMIO_tri_io[5]}]
   set_property PACKAGE_PIN AN17 [get_ports {GPIO_EMIO_tri_io[6]}]
   set_property PACKAGE_PIN AV15 [get_ports {GPIO_EMIO_tri_io[7]}]
   ```
   
   ## Impact
   
   This PR just Impact ZCU111 Evaluation Kit board.
   
   ## Testing
   Compiled on Ubuntu 22.04 and tested examples/leds app on ZCU111 Evaluation 
Kit board
   ```
   - Ready to Boot Primary CPU                                                  
   
   - Boot from EL3                                                              
   
   - Boot to C runtime for OS Initialize                                        
   
   nx_start: Entry                                                              
   
   up_allocate_heap: heap_start=0x0x185000, heap_size=0x7fd7b000                
   
   gic_validate_dist_version: GICv2 detected                                    
   
   uart_register: Registering /dev/console                                      
   
   uart_register: Registering /dev/ttyS0                                        
   
   work_start_highpri: Starting high-priority kernel worker thread(s)           
   
   nxtask_activate: hpwork pid=1,TCB=0x1855d0                                   
   
   nx_start_application: Starting init thread                                   
   
   task_spawn: name=nsh_main entry=0x11cde4 file_actions=0 attr=0x183cb0 
argv=0x180
   nxtask_activate: nsh_main pid=2,TCB=0x187ad0                                 
   
   lib_cxx_initialize: _sinit: 0x15f6a8 _einit: 0x15f6a8                        
   
                                                                                
   
   NuttShell (NSH) NuttX-10.2.0                                                 
   
   nsh> nx_start: CPU0: Beginning Idle Loop                                     
   
                                                                                
   
                                                                                
   
   NuttShell (NSH) NuttX-10.2.0                                                 
   
   nsh>                                                                         
   
   nsh> leds                                                                    
   
   task_spawn: name=leds entry=0x148178 file_actions=0x18a0f0 attr=0x18a0f8 
argv=00
   spawn_execattrs: Setting policy=2 priority=100 for pid=3                     
   
   nxtask_activate: leds pid=3,TCB=0x18aa70                                     
   
   leds_nxtask_activate: led_daemon pid=4,TCB=0x18d0c0                          
   
   main: Starting the led_daemon                                                
   
   leds_main: led_daemon started                                                
   
   nxtask_exit: leds pid=3,TCB=0x18aa70                                         
   
                                                                                
   
   led_daemon (pid# 4): Running                                                 
   
   led_daemon: Opening /dev/userleds                                            
   
   led_daemon: Supported LEDs 0xff                                              
   
   led_daemon: LED set 0x01                                                     
   
   nsh> led_daemon: LED set 0x02                                                
   
   led_daemon: LED set 0x03                                                     
   
   led_daemon: LED set 0x04                                                     
   
   led_daemon: LED set 0x05                                                     
   
   led_daemon: LED set 0x06                                                     
   
   led_daemon: LED set 0x07                                                     
   
   led_daemon: LED set 0x08                                                     
   
   led_daemon: LED set 0x09                                                     
   
   led_daemon: LED set 0x0a                                                     
   
   led_daemon: LED set 0x0b
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to