fixes for big endian support (svp drc, libpicofe update)
authorkub <derkub@gmail.com>
Wed, 24 Feb 2021 20:34:53 +0000 (21:34 +0100)
committerkub <derkub@gmail.com>
Thu, 25 Feb 2021 08:41:55 +0000 (09:41 +0100)
pico/carthw/svp/ssp16.h
platform/libpicofe

index 318a4a7..67f4f45 100644 (file)
@@ -38,8 +38,13 @@ typedef union
 {
        unsigned int v;
        struct {
+#if CPU_IS_LE
                unsigned short l;
                unsigned short h;
+#else
+               unsigned short h;
+               unsigned short l;
+#endif
        };
 } ssp_reg_t;
 
index dfe767a..ebcff59 160000 (submodule)
@@ -1 +1 @@
-Subproject commit dfe767a5facc30a07e0fdda2b85cf39662ec3fed
+Subproject commit ebcff5930934425d379ec032da141ae073b72913