File tree Expand file tree Collapse file tree 5 files changed +0
-5
lines changed
examples/mps3-an536/src/bin Expand file tree Collapse file tree 5 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ pub extern "C" fn kmain() {
1818}
1919
2020/// Let's test some timers!
21- #[ export_name = "main" ]
2221fn main ( ) {
2322 use cortex_ar:: generic_timer:: { El1PhysicalTimer , El1VirtualTimer , GenericTimer } ;
2423 let cntfrq = cortex_ar:: register:: Cntfrq :: read ( ) . 0 ;
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ pub extern "C" fn kmain() {
3131/// The main function of our Rust application.
3232///
3333/// Called by [`kmain`].
34- #[ export_name = "main" ]
3534fn main ( ) -> ! {
3635 // Get the GIC address by reading CBAR
3736 let periphbase = cortex_ar:: register:: ImpCbar :: read ( ) . periphbase ( ) ;
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ pub extern "C" fn kmain() {
1919/// The main function of our Rust application.
2020///
2121/// Called by [`kmain`].
22- #[ export_name = "main" ]
2322fn main ( ) -> ! {
2423 let x = 1.0f64 ;
2524 let y = x * 2.0 ;
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ pub extern "C" fn kmain() {
1919/// The entry-point to the Rust application.
2020///
2121/// Called by [`kmain`].
22- #[ export_name = "main" ]
2322pub fn main ( ) -> ! {
2423 chip_info ( ) ;
2524 #[ cfg( arm_architecture = "v7-r" ) ]
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ pub extern "C" fn kmain() {
1919/// The main function of our Rust application.
2020///
2121/// Called by [`kmain`].
22- #[ export_name = "main" ]
2322pub fn main ( ) -> ! {
2423 let x = 1 ;
2524 let y = x + 1 ;
You can’t perform that action at this time.
0 commit comments